Browse Source

Add the hint-files synchronization with Transifex.

For upload English hint-file to transifex, type:
cd doc/hints/po && make to-transifex

For download translation from Transifex type:
cd doc/hints/po && make from-transifex && \
    git add ../l10n/mc.hints.* && \
    git commit -s -m 'Update hints files from Transifex'

WARNING! For the functionality you should have installed 'tx' and 'po4a'
utilities. These utilities isn't required for compile and install mc
(you may install these utilities only if you want to interact with Transifex).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko 12 years ago
parent
commit
389b55ae6f

+ 1 - 0
acinclude.m4

@@ -18,3 +18,4 @@ m4_include([m4.include/ac-glib.m4])
 m4_include([m4.include/mc-vfs.m4])
 m4_include([m4.include/mc-version.m4])
 m4_include([m4.include/mc-tests.m4])
+m4_include([m4.include/mc-i18n.m4])

+ 4 - 15
configure.ac

@@ -274,21 +274,7 @@ dnl ############################################################################
 AM_GNU_GETTEXT(no-libtool, need-ngettext)
 AM_GNU_GETTEXT_VERSION(0.14.3)
 
-if test "x$USE_INCLUDED_LIBINTL" = xyes; then
-    CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
-fi
-
-dnl User visible support for charset conversion.
-AC_ARG_ENABLE([charset],
-    AS_HELP_STRING([--enable-charset], [Support for charset selection and conversion @<:@yes@:>@]))
-have_charset=
-charset_msg="no"
-if test "x$enable_charset" != "xno"; then
-    AC_DEFINE(HAVE_CHARSET, 1, [Define to enable charset selection and conversion])
-    have_charset=yes
-    charset_msg="yes"
-fi
-
+MC_I18N
 
 dnl ############################################################################
 dnl OS specific flags
@@ -616,7 +602,10 @@ misc/syntax/Makefile
 misc/syntax/Syntax
 
 doc/Makefile
+
 doc/hints/Makefile
+doc/hints/l10n/Makefile
+
 doc/man/Makefile
 doc/man/es/Makefile
 doc/man/hu/Makefile

+ 7 - 7
doc/hints/Makefile.am

@@ -1,14 +1,14 @@
+if USE_NLS
+SUBDIRS = l10n
+endif
+
+DIST_SUBDIRS = l10n
+
 HINTFILE = mc.hint
-HINTFILES_LANG = \
-        mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it mc.hint.nl \
-        mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk mc.hint.zh
 
 hintdir = $(pkgdatadir)/hints
 
 hint_DATA = $(HINTFILE)
-if USE_NLS
-hint_DATA += $(HINTFILES_LANG)
-endif
 
 # Files processed by configure don't need to be here
-EXTRA_DIST = $(HINTFILE) $(HINTFILES_LANG)
+EXTRA_DIST = $(HINTFILE)

+ 8 - 0
doc/hints/l10n/Makefile.am

@@ -0,0 +1,8 @@
+hintdir = $(pkgdatadir)/hints
+
+HINTFILES_LANG = $(srcdir)/mc.hint.*
+
+hint_DATA = $(HINTFILES_LANG)
+
+# Files processed by configure don't need to be here
+EXTRA_DIST = $(HINTFILES_LANG)

+ 4 - 0
doc/hints/l10n/README.txt

@@ -0,0 +1,4 @@
+ATTENTION! Don't edit hint-files in this directory!
+
+Remember that all these files is a TARGET for files originally placed on Transifex:
+https://www.transifex.com/projects/p/mc/resource/mc_hint/

+ 93 - 0
doc/hints/l10n/mc.hint.az

@@ -0,0 +1,93 @@
+Hint: Use C-x t to copy tagged file names to the command line.
+
+Hint: Use C-x p to copy the current pathname to the command line.
+
+Hint: Completion: use M-Tab (or Esc+Tab).  Type it twice to get a list.
+
+Hint: Use M-p and M-n to access the command history.
+
+Hint: Need to quote a character? Use Control-q and the character.
+
+Hint: Tired of these messages? Turn them off from the Options/Layout menu.
+
+Hint: Selecting directories: add a slash to the end of the matching pattern.
+
+Hint: If your terminal lacks functions keys, use the ESC+number sequence.
+
+Hint: The homepage of GNU Midnight Commander:
+http://www.midnight-commander.org/
+
+Hint: Please send any bug reports to mc-devel@gnome.org
+
+Hint: Tab changes your current panel.
+
+Hint: VFS coolness: tap enter on a tar file to examine its contents.
+
+Hint: We also have a nice manual page.
+
+Hint: Do you want lynx-style navigation? Set it in the Configuration dialog.
+
+Hint: % macros work even on the command line.
+
+Hint: M-! will allow you to execute programs and see the output in the
+viewer.
+
+Hint: The file listing format can be customized; do "man mc" for details.
+
+Hint: %D/%T expands to the tagged files in the opposite directory.
+
+Hint: Want your plain shell? Press C-o, and get back to MC with C-o again.
+
+Hint: Setting the CDPATH variable can save you keystrokes in cd commands.
+
+Hint: If you want to see your .* files, say so in the Configuration dialog.
+
+Hint: Want to see your *~ backup files? Set it in the Configuration dialog.
+
+Hint: Completion works on all input lines in all dialogs. Just press M-Tab.
+
+Hint: On slow terminals the -s flag may help.
+
+Hint: Find File: you can work on the files found using the Panelize button.
+
+Hint: Want to do complex searches? Use the External Panelize command.
+
+Hint: To change directory halfway through typing a command, use M-c (quick
+cd).
+
+Note: Shell commands will not work when you are on a non-local file system.
+
+Hint: Bring text back from the dead with C-y.
+
+Hint: Are some of your keys not working? Look at Options/Learn keys.
+
+Hint: To look at the output of a command in the viewer, use M-!
+
+Hint: F13 (or Shift-F3) invokes the viewer in raw mode.
+
+Hint: You may specify the editor for F4 with the shell variable EDITOR.
+
+Hint: You may specify the external viewer with the shell vars VIEWER or
+PAGER.
+
+Hint: You can disable all requests for confirmation in Options/Confirmation.
+
+Hint: Leap to frequently used directories in a single bound with C-.
+
+Hint: You can do anonymous FTP with mc by typing 'cd ftp://machine.edu'
+
+Hint: FTP is built in the Midnight Commander, check the File/FTP link menu.
+
+Hint: M-t changes quickly the listing mode.
+
+Hint: You can specify the username when doing ftps: 'cd
+ftp://user@machine.edu'
+
+Hint: You can browse RPM files by tapping enter on top of an rpm file.
+
+Hint: To mark directories on the select dialog box, append a slash.
+
+Hint: To use the mouse cut and paste may require holding the shift key
+
+Hint: Key frequently visited ftp sites in the hotlist: type C-.
+

+ 95 - 0
doc/hints/l10n/mc.hint.be

@@ -0,0 +1,95 @@
+Намінка. «C-x t» перапісвае ў загадны радок назвы пазначаных файлаў.
+
+Намінка. «C-x p» перапісвае  у загадны радок дзейны шлях.
+
+Намінка. «M-Tab» ці «Esc+Tab» дапаўняе набранае.  Каб убачыць сьпіс,
+націсьніце двойчы.
+
+Намінка. «M-p» і «M-n» дае доступ да гісторыі загадаў.
+
+Намінка. Трэба ўставіць знак літаральна? Цісьніце «Control-q» і знак.
+
+Намінка. Стаміліся ад намінкаў? Забараніце іх у мэню «Налады» → «Выгляд».
+
+Намінка. Каб пазначыць каталёґі, дадайце касую рыску ў канец шаблёну.
+
+Намінка. Калі тэрмінал ня мае функцыянальных клявішаў, ужывайце «ESC+лічба».
+
+Намінка. Бачына «Міднайт Камандэра» — http://www.midnight-commander.org/.
+
+Намінка. Пра хібы паведамляйце на mc-devel@gnome.org.
+
+Намінка. «Tab» зьмяняе дзейную панэль.
+
+Намінка. VFS — гэта зручна: націсьніце «Ўвод» на архіве, і ўбачыце
+зьмесьціва.
+
+Намінка. У нас ёсьць добрае правадніцтва.
+
+Намінка. Хочаце перасоўвацца, як у «Lynx»? Вызначце гэта ў «Настаўленьнях».
+
+Намінка. Макрасы «%» працуюць нават у загадным радку.
+
+Намінка. «M-!» дазваляе выконваць праґрамы,\ а вывад бачыць у праглядніку.
+
+Намінка. Выгляд пераліку файлаў можна зьмяніць — глядзіце «man mc».
+
+Намінка. «%D» і «%T» выводзіць каталёґ насупраць і пазначаныя ў ім файлы.
+
+Намінка. Хочаце звычайную абалонку? Цісьніце «C-o»,\ а каб вярнуцца — «C-o»
+яшчэ раз.
+
+Намінка. Каб хутчэй набіраць загады «cd …»,\ вызначце зьменную «CDPATH».
+
+Намінка. Калі хочаце бачыць схаваныя файлы «.*», вызначце гэта ў
+«Настаўленьнях».
+
+Намінка. Хочаце бачыць файлы адноўкі «*~»? Вызначце гэта ў «Настаўленьнях».
+
+Намінка. Ва ўсіх радках уводу і дыялёґах можна дапаўняць: націсьніце
+«M-Tab».
+
+Намінка. На павольных тэрміналах можа дапамагчы пазнака «-s».
+
+Намінка. Шукаць файл:\ кнопка «На панэль» дазваляе працаваць са знойдзеным.
+
+Намінка. Калі трэба шукаць складана, ужывайце загад «На вонкавую панэль».
+
+Намінка. Каб хутка зьмяніць каталёґ, калі набіраеце загад, цісьніце «M-c».
+
+Уважце: загады абалонкі могуць не працаваць на немясцовых файлавых сыстэмах.
+
+Намінка. «C-y» вяртае страчаны тэкст.
+
+Намінка. Пэўныя клявішы не працуюць? Зірніце «Налады» → «Вывучыць клявішы».
+
+Намінка. Каб пабачыць вывад загаду ў праглядніку, цісьніце «M-!»
+
+Намінка. «F13» (або «Shift-F3») праглядае файл наўпрост.
+
+Намінка. Зьменная «EDITOR» вызначае рэдактар, які выклікаецца па «F4».
+
+Намінка. Зьменныя «VIEWER» або «PAGER» вызначаюць вонкавы прагляднік.
+
+Намінка. Забараніць пытацца пацьвярджаць можна ў «Наладах» → «Пацьвярджаць».
+
+Hint: Leap to frequently used directories in a single bound with C-.
+
+Намінка. Можна ўвайсьці FTP безыменным,\ набраўшы «cd ftp://machine.edu»
+
+Намінка. «Міднайт Камандэр» мае ўбудаваны FTP — глядзіце «Панэль» →
+«Злучыцца праз FTP».
+
+Намінка. «M-t» хутка зьмяняе выгляд пераліку ў панэлі.
+
+Намінка. На FTPS можна пазначаць імя карыстальніка:\ «cd
+ftp://user@machine.edu».
+
+Намінка. Можна зірнуць зьмесьціва архіву RPM, калі націснуць на ім «Увод».
+
+Намінка. Каб у дыялёґу выбару пазначыць каталёґі, дадайце касую рыску.
+
+Намінка. Каб выразаць і ўстаўляць мышкаю, можа спатрэбіцца трымаць «Shift».
+
+Hint: Key frequently visited ftp sites in the hotlist: type C-.
+

+ 93 - 0
doc/hints/l10n/mc.hint.bg

@@ -0,0 +1,93 @@
+Hint: Use C-x t to copy tagged file names to the command line.
+
+Hint: Use C-x p to copy the current pathname to the command line.
+
+Hint: Completion: use M-Tab (or Esc+Tab).  Type it twice to get a list.
+
+Hint: Use M-p and M-n to access the command history.
+
+Hint: Need to quote a character? Use Control-q and the character.
+
+Hint: Tired of these messages? Turn them off from the Options/Layout menu.
+
+Hint: Selecting directories: add a slash to the end of the matching pattern.
+
+Hint: If your terminal lacks functions keys, use the ESC+number sequence.
+
+Hint: The homepage of GNU Midnight Commander:
+http://www.midnight-commander.org/
+
+Hint: Please send any bug reports to mc-devel@gnome.org
+
+Hint: Tab changes your current panel.
+
+Hint: VFS coolness: tap enter on a tar file to examine its contents.
+
+Hint: We also have a nice manual page.
+
+Hint: Do you want lynx-style navigation? Set it in the Configuration dialog.
+
+Hint: % macros work even on the command line.
+
+Hint: M-! will allow you to execute programs and see the output in the
+viewer.
+
+Hint: The file listing format can be customized; do "man mc" for details.
+
+Hint: %D/%T expands to the tagged files in the opposite directory.
+
+Hint: Want your plain shell? Press C-o, and get back to MC with C-o again.
+
+Hint: Setting the CDPATH variable can save you keystrokes in cd commands.
+
+Hint: If you want to see your .* files, say so in the Configuration dialog.
+
+Hint: Want to see your *~ backup files? Set it in the Configuration dialog.
+
+Hint: Completion works on all input lines in all dialogs. Just press M-Tab.
+
+Hint: On slow terminals the -s flag may help.
+
+Hint: Find File: you can work on the files found using the Panelize button.
+
+Hint: Want to do complex searches? Use the External Panelize command.
+
+Hint: To change directory halfway through typing a command, use M-c (quick
+cd).
+
+Note: Shell commands will not work when you are on a non-local file system.
+
+Hint: Bring text back from the dead with C-y.
+
+Hint: Are some of your keys not working? Look at Options/Learn keys.
+
+Hint: To look at the output of a command in the viewer, use M-!
+
+Hint: F13 (or Shift-F3) invokes the viewer in raw mode.
+
+Hint: You may specify the editor for F4 with the shell variable EDITOR.
+
+Hint: You may specify the external viewer with the shell vars VIEWER or
+PAGER.
+
+Hint: You can disable all requests for confirmation in Options/Confirmation.
+
+Hint: Leap to frequently used directories in a single bound with C-.
+
+Hint: You can do anonymous FTP with mc by typing 'cd ftp://machine.edu'
+
+Hint: FTP is built in the Midnight Commander, check the File/FTP link menu.
+
+Hint: M-t changes quickly the listing mode.
+
+Hint: You can specify the username when doing ftps: 'cd
+ftp://user@machine.edu'
+
+Hint: You can browse RPM files by tapping enter on top of an rpm file.
+
+Hint: To mark directories on the select dialog box, append a slash.
+
+Hint: To use the mouse cut and paste may require holding the shift key
+
+Hint: Key frequently visited ftp sites in the hotlist: type C-.
+

+ 93 - 0
doc/hints/l10n/mc.hint.ca

@@ -0,0 +1,93 @@
+Hint: Use C-x t to copy tagged file names to the command line.
+
+Hint: Use C-x p to copy the current pathname to the command line.
+
+Hint: Completion: use M-Tab (or Esc+Tab).  Type it twice to get a list.
+
+Hint: Use M-p and M-n to access the command history.
+
+Hint: Need to quote a character? Use Control-q and the character.
+
+Hint: Tired of these messages? Turn them off from the Options/Layout menu.
+
+Hint: Selecting directories: add a slash to the end of the matching pattern.
+
+Hint: If your terminal lacks functions keys, use the ESC+number sequence.
+
+Hint: The homepage of GNU Midnight Commander:
+http://www.midnight-commander.org/
+
+Hint: Please send any bug reports to mc-devel@gnome.org
+
+Hint: Tab changes your current panel.
+
+Hint: VFS coolness: tap enter on a tar file to examine its contents.
+
+Hint: We also have a nice manual page.
+
+Hint: Do you want lynx-style navigation? Set it in the Configuration dialog.
+
+Hint: % macros work even on the command line.
+
+Hint: M-! will allow you to execute programs and see the output in the
+viewer.
+
+Hint: The file listing format can be customized; do "man mc" for details.
+
+Hint: %D/%T expands to the tagged files in the opposite directory.
+
+Hint: Want your plain shell? Press C-o, and get back to MC with C-o again.
+
+Hint: Setting the CDPATH variable can save you keystrokes in cd commands.
+
+Hint: If you want to see your .* files, say so in the Configuration dialog.
+
+Hint: Want to see your *~ backup files? Set it in the Configuration dialog.
+
+Hint: Completion works on all input lines in all dialogs. Just press M-Tab.
+
+Hint: On slow terminals the -s flag may help.
+
+Hint: Find File: you can work on the files found using the Panelize button.
+
+Hint: Want to do complex searches? Use the External Panelize command.
+
+Hint: To change directory halfway through typing a command, use M-c (quick
+cd).
+
+Note: Shell commands will not work when you are on a non-local file system.
+
+Hint: Bring text back from the dead with C-y.
+
+Hint: Are some of your keys not working? Look at Options/Learn keys.
+
+Hint: To look at the output of a command in the viewer, use M-!
+
+Hint: F13 (or Shift-F3) invokes the viewer in raw mode.
+
+Hint: You may specify the editor for F4 with the shell variable EDITOR.
+
+Hint: You may specify the external viewer with the shell vars VIEWER or
+PAGER.
+
+Hint: You can disable all requests for confirmation in Options/Confirmation.
+
+Hint: Leap to frequently used directories in a single bound with C-.
+
+Hint: You can do anonymous FTP with mc by typing 'cd ftp://machine.edu'
+
+Hint: FTP is built in the Midnight Commander, check the File/FTP link menu.
+
+Hint: M-t changes quickly the listing mode.
+
+Hint: You can specify the username when doing ftps: 'cd
+ftp://user@machine.edu'
+
+Hint: You can browse RPM files by tapping enter on top of an rpm file.
+
+Hint: To mark directories on the select dialog box, append a slash.
+
+Hint: To use the mouse cut and paste may require holding the shift key
+
+Hint: Key frequently visited ftp sites in the hotlist: type C-.
+

+ 17 - 8
doc/hints/mc.hint.cs → doc/hints/l10n/mc.hint.cs

@@ -2,13 +2,16 @@ Tip: C-x t vloží na příkazovou řádku označené soubory.
 
 Tip: C-x p vloží na příkazovou řádku jméno aktuálního adresáře.
 
-Tip: Doplňování: použijte M-Tab (nebo Esc+Tab). Dvojitým zadáním získáte seznam.
+Tip: Doplňování: použijte M-Tab (nebo Esc+Tab). Dvojitým zadáním získáte
+seznam.
 
 Tip: Použitím M-p nebo M-n se pohybujete v historii příkazů.
 
-Tip: Chcete zadat speciální znak (např. tabulátor)? Použijte Ctrl-q a daný znak.
+Tip: Chcete zadat speciální znak (např. tabulátor)? Použijte Ctrl-q a daný
+znak.
 
-Tip: Nechcete již vidět tipy? Vypněte je v Nastavení/Zobrazení/Další nastavení.
+Tip: Nechcete již vidět tipy? Vypněte je v Nastavení/Zobrazení/Další
+nastavení.
 
 Tip: Adresáře vyberete přidáním lomítka na konec vzorku.
 
@@ -52,21 +55,24 @@ Tip: Pro opravdu složité operace zkuste příkaz Příkaz/Externí panelizace.
 
 Tip: Pokud chcete změnit adresář při práci na příkazové řádce, zkuste M-c.
 
-Pozn.: Příkazy shellu nefungují, pokud nepracujete na lokálním systému souborů.
+Pozn.: Příkazy shellu nefungují, pokud nepracujete na lokálním systému
+souborů.
 
 Tip: Smazaný text obnovíte C-y.
 
 Tip: Pokud některé klávesy nefungují, použijte menu Nastavení/Učení kláves.
 
+Hint: To look at the output of a command in the viewer, use M-!
+
 Tip: F13 (nebo Shift-F3) vyvolá prohlížení bez zpracování obsahu souboru.
 
 Tip: Editor pro klávesu F4 určíte pomocí proměnné prostředí EDITOR.
 
-Tip: Externí prohlížeč určíte proměnnými VIEWER nebo PAGER.
+Tip: Externí prohlížeč určíte proměnnými VIEWER nebo PAGER
 
 Tip: Všechny žádosti o potvrzení můžete zakázat v Nastavení/Potvrzování.
 
-Tip: K seznamu často používaných adresářů se můžete dostat i přes C-\.
+Hint: Leap to frequently used directories in a single bound with C-.
 
 Tip: Na anonymní FTP se připojíte pomocí „cd ftp://stroj.domena.cz“.
 
@@ -78,7 +84,10 @@ Tip: Při FTP spojení můžete zadat i jméno: „cd ftp://jmeno@stroj.domena.c
 
 Tip: RPM soubory si prohlédnete stiskem Enter.
 
-Tip: Chcete-li použít myš pro zkopírování nebo vložení textu, stiskněte Shift.
+Hint: To mark directories on the select dialog box, append a slash.
+
+Tip: Chcete-li použít myš pro zkopírování nebo vložení textu, stiskněte
+Shift.
 
-Tip: V seznamu adresářů můžete mít i často navštěvované FTP servery. Zkuste C-\.
+Hint: Key frequently visited ftp sites in the hotlist: type C-.
 

Some files were not shown because too many files changed in this diff