summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-28 17:56:52 +0000
committerKarl Berry <karl@freefriends.org>2016-04-28 17:56:52 +0000
commita342c4e90ddea1c5653083102dbddecd37d33f20 (patch)
treea18d75f4c2c91a58f91ce68a1e28dbf29e6a8960 /Master
parent5ab5b2033828ad0de86752088c17de16cb1d3bf0 (diff)
uk(rainian) in tlmgrgui list, doc
git-svn-id: svn://tug.org/texlive/trunk@40800 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl4
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgrgui.pl3
-rw-r--r--Master/tlpkg/doc/howto-translations.txt63
3 files changed, 34 insertions, 36 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 65f01fde834..2ae66330b14 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -5784,8 +5784,8 @@ sub init_tlmedia {
tlwarn(<<END_NO_CHECKSUMS);
$prg: warning: Cannot find a checksum implementation.
Please install Digest::SHA (from CPAN), openssl, or sha512sum.
-To silence this warning, use the --no-checksums option or
-set it in the tlmgr configuration file, e.g., by running:
+To silence this warning, set no-checksums in the tlmgr configuration
+file, e.g., by running:
tlmgr conf tlmgr no-checksums 1
Continuing without checksum verifications ...
diff --git a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl
index 7c6d9a929f7..07b82413168 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgrgui.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgrgui.pl
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
# $Id$
#
-# Copyright 2009-2015 Norbert Preining
+# Copyright 2009-2016 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
@@ -1384,6 +1384,7 @@ sub do_gui_language_setting {
sk => "Slovak",
sl => "Slovenian",
sr => "Serbian",
+ uk => "Ukrainian",
vi => "Vietnamese",
"zh_CN" => "Simplified Chinese",
"zh_TW" => "Traditional Chinese"
diff --git a/Master/tlpkg/doc/howto-translations.txt b/Master/tlpkg/doc/howto-translations.txt
index e678fc3ce5a..157cf589e76 100644
--- a/Master/tlpkg/doc/howto-translations.txt
+++ b/Master/tlpkg/doc/howto-translations.txt
@@ -1,11 +1,9 @@
+$Id$
+(This file public domain, originally written by Norbert Preining.)
Dealing with translations of TeX Live programs
==============================================
-
-For translators
----------------
-
BIG FAT NOTE: Before starting please always fetch the latest NN.po from
our svn server because we merge new strings into .po files in
regular intervals.
@@ -15,16 +13,17 @@ gtranslator because it keeps the strings where no changes have been
made in the format as they were, so there will be less commits and
smaller commits.
-Testing your translations: Please call
+Testing your translations: Please try
+
(perl) install-tl --gui --debug-translation [--lang NN]
tlmgr --debug-translation gui [--gui-lang NN]
+
This will give warnings *in*the*terminal* which strings haven't been
translated.
-using gtranslator (gtranslator.sf.net):
----------------------------------------
-
+Using gtranslator (gtranslator.sf.net)
+--------------------------------------
Starting a new translation NN.po:
- copy messages.pot to NN.po
- open it with gtranslator
@@ -33,13 +32,11 @@ Starting a new translation NN.po:
change CHARSET to utf8
- start translating
-The first column gives the status, you can sort by clicking on the head
-of it
+The first column gives the status, you can sort by clicking on its head.
-using poedit (poedit.sf.net):
------------------------------
-
+Using poedit (poedit.sf.net)
+----------------------------
Starting new translation NN.po:
- start fresh poedit
- click on "File -> New catalog from POT file"
@@ -66,42 +63,42 @@ Editing an existing NN.po:
- start translating
-----------------------------------------------
-
-General remarks concerning translations:
+Requirements and advice for translations:
----------------------------------------
-
- please use \" instead of ", as can be seen in the original strings
- several lines in the translations are merged together *without* adding
anything. So if you want new lines please use \n in the text
(as seen in several original strings)
-- if %s (one or more) are occurring then they are replaced in the
+- if %s (one or more) is present, then they are replaced in the
final strings with the respective infos. Please keep them.
-We do update the messages.pot daily (nightly) and merge the strings into
-all the .po files (using msgmerge). That means if we change one of the
-english strings the translation will normally be marked as "fuzzy" in the
+We update the messages.pot nightly and merge the strings into all the
+.po files (using msgmerge). That means if we change one of the english
+strings the translation will normally be marked as "fuzzy" in the
.po file.
-In poedit those fuzzy translations are shown in red, telling you that those
-have had a change in the original string and the translation should be
-checked.
+In gtranslator the first column shows a warning sign if the message is
+fuzzy.
-In gtranslator the first column shows a warning sign if the message is fuzzy.
+In poedit those fuzzy translations are shown in red, telling you that
+those have had a change in the original string and the translation
+should be checked.
-So before any of you start out with editing a translation, please fetch the
-latest messages.pot and NN.po
+So before any of you start out with editing a translation, please fetch
+the latest messages.pot and NN.po!
------------------------------------------
-For developers
+For developers:
--------------
-
Extraction of the messages == update of the po template messages.pot, and
Merging/updating of the .po files
- see ../bin/tl-update-message
+ see ../bin/tl-update-messages
Statistics:
- pocount .../Master/tlpkg/translations/*.po
-
+ pocount ../translations/*.po
+When a new translation (language) is added, add to lists in
+ install-tl (under -lang),
+ tlmgr.pl (under --gui-lang),
+ tlmgrgui.pl (%code_lang).
+Unfortunately nothing checks these for consistency, up to us humans.