Permalink
Browse files

Merge pull request #135 from bareos/dev/bpoed/master/localization

Dev/bpoed/master/localization
  • Loading branch information...
pstorz committed Jan 10, 2019
2 parents fa88a9e + 80dbf25 commit aa5be2ad330febb4613e27a0783851a9a1c58b8a
Showing with 4,564 additions and 8,665 deletions.
  1. +1 −1 webui/Makefile.am
  2. +1 −1 webui/Makefile.in
  3. +1 −2 webui/configure
  4. +1 −1 webui/configure.ac
  5. +2 −2 webui/doc/README-TRANSLATION.md
  6. +2 −1 webui/module/Application/language/Makefile.am
  7. +2 −1 webui/module/Application/language/Makefile.in
  8. BIN webui/module/Application/language/cn_CN.mo
  9. +283 −189 webui/module/Application/language/cn_CN.po
  10. BIN webui/module/Application/language/cs_CZ.mo
  11. +92 −327 webui/module/Application/language/cs_CZ.po
  12. BIN webui/module/Application/language/de_DE.mo
  13. +618 −64 webui/module/Application/language/de_DE.po
  14. BIN webui/module/Application/language/en_EN.mo
  15. +312 −1 webui/module/Application/language/en_EN.po
  16. BIN webui/module/Application/language/es_ES.mo
  17. +324 −4 webui/module/Application/language/es_ES.po
  18. BIN webui/module/Application/language/fr_FR.mo
  19. +322 −4 webui/module/Application/language/fr_FR.po
  20. BIN webui/module/Application/language/hu_HU.mo
  21. +327 −1 webui/module/Application/language/hu_HU.po
  22. BIN webui/module/Application/language/it_IT.mo
  23. +324 −4 webui/module/Application/language/it_IT.po
  24. BIN webui/module/Application/language/nl_BE.mo
  25. +327 −4 webui/module/Application/language/nl_BE.po
  26. BIN webui/module/Application/language/pt_BR.mo
  27. +327 −1 webui/module/Application/language/pt_BR.po
  28. BIN webui/module/Application/language/ru_RU.mo
  29. +324 −4 webui/module/Application/language/ru_RU.po
  30. BIN webui/module/Application/language/sk_SK.mo
  31. +324 −4 webui/module/Application/language/sk_SK.po
  32. BIN webui/module/Application/language/tr_TR.mo
  33. +324 −25 webui/module/Application/language/tr_TR.po
  34. +312 −1 webui/module/Application/language/webui.pot
  35. +0 −17 webui/public/js/locale/Makefile.am
  36. +0 −399 webui/public/js/locale/Makefile.in
  37. BIN webui/public/js/locale/cn_CN/LC_MESSAGES/cn_CN.mo
  38. BIN webui/public/js/locale/cn_CN/LC_MESSAGES/cn_CN.mo
  39. +0 −1,433 webui/public/js/locale/cn_CN/LC_MESSAGES/cn_CN.po
  40. +1 −0 webui/public/js/locale/cn_CN/LC_MESSAGES/cn_CN.po
  41. BIN webui/public/js/locale/cs_CZ/LC_MESSAGES/cs_CZ.mo
  42. BIN webui/public/js/locale/cs_CZ/LC_MESSAGES/cs_CZ.mo
  43. +0 −1,455 webui/public/js/locale/cs_CZ/LC_MESSAGES/cs_CZ.po
  44. +1 −0 webui/public/js/locale/cs_CZ/LC_MESSAGES/cs_CZ.po
  45. BIN webui/public/js/locale/de_DE/LC_MESSAGES/de_DE.mo
  46. BIN webui/public/js/locale/de_DE/LC_MESSAGES/de_DE.mo
  47. +0 −998 webui/public/js/locale/de_DE/LC_MESSAGES/de_DE.po
  48. +1 −0 webui/public/js/locale/de_DE/LC_MESSAGES/de_DE.po
  49. BIN webui/public/js/locale/en_EN/LC_MESSAGES/en_EN.mo
  50. BIN webui/public/js/locale/en_EN/LC_MESSAGES/en_EN.mo
  51. +0 −337 webui/public/js/locale/en_EN/LC_MESSAGES/en_EN.po
  52. +1 −0 webui/public/js/locale/en_EN/LC_MESSAGES/en_EN.po
  53. BIN webui/public/js/locale/es_ES/LC_MESSAGES/es_ES.mo
  54. BIN webui/public/js/locale/es_ES/LC_MESSAGES/es_ES.mo
  55. +0 −343 webui/public/js/locale/es_ES/LC_MESSAGES/es_ES.po
  56. +1 −0 webui/public/js/locale/es_ES/LC_MESSAGES/es_ES.po
  57. BIN webui/public/js/locale/fr_FR/LC_MESSAGES/fr_FR.mo
  58. BIN webui/public/js/locale/fr_FR/LC_MESSAGES/fr_FR.mo
  59. +0 −343 webui/public/js/locale/fr_FR/LC_MESSAGES/fr_FR.po
  60. +1 −0 webui/public/js/locale/fr_FR/LC_MESSAGES/fr_FR.po
  61. BIN webui/public/js/locale/hu_HU/LC_MESSAGES/hu_HU.mo
  62. BIN webui/public/js/locale/hu_HU/LC_MESSAGES/hu_HU.mo
  63. +0 −335 webui/public/js/locale/hu_HU/LC_MESSAGES/hu_HU.po
  64. +1 −0 webui/public/js/locale/hu_HU/LC_MESSAGES/hu_HU.po
  65. BIN webui/public/js/locale/it_IT/LC_MESSAGES/it_IT.mo
  66. BIN webui/public/js/locale/it_IT/LC_MESSAGES/it_IT.mo
  67. +0 −343 webui/public/js/locale/it_IT/LC_MESSAGES/it_IT.po
  68. +1 −0 webui/public/js/locale/it_IT/LC_MESSAGES/it_IT.po
  69. BIN webui/public/js/locale/nl_BE/LC_MESSAGES/nl_BE.mo
  70. BIN webui/public/js/locale/nl_BE/LC_MESSAGES/nl_BE.mo
  71. +0 −343 webui/public/js/locale/nl_BE/LC_MESSAGES/nl_BE.po
  72. +1 −0 webui/public/js/locale/nl_BE/LC_MESSAGES/nl_BE.po
  73. 0 webui/public/js/locale/pt_BR/LC_MESSAGES/pt_BR.mo
  74. +1 −0 webui/public/js/locale/pt_BR/LC_MESSAGES/pt_BR.mo
  75. +0 −317 webui/public/js/locale/pt_BR/LC_MESSAGES/pt_BR.po
  76. +1 −0 webui/public/js/locale/pt_BR/LC_MESSAGES/pt_BR.po
  77. BIN webui/public/js/locale/ru_RU/LC_MESSAGES/ru_RU.mo
  78. BIN webui/public/js/locale/ru_RU/LC_MESSAGES/ru_RU.mo
  79. +0 −342 webui/public/js/locale/ru_RU/LC_MESSAGES/ru_RU.po
  80. +1 −0 webui/public/js/locale/ru_RU/LC_MESSAGES/ru_RU.po
  81. BIN webui/public/js/locale/sk_SK/LC_MESSAGES/sk_SK.mo
  82. BIN webui/public/js/locale/sk_SK/LC_MESSAGES/sk_SK.mo
  83. +0 −343 webui/public/js/locale/sk_SK/LC_MESSAGES/sk_SK.po
  84. +1 −0 webui/public/js/locale/sk_SK/LC_MESSAGES/sk_SK.po
  85. BIN webui/public/js/locale/tr_TR/LC_MESSAGES/tr_TR.mo
  86. BIN webui/public/js/locale/tr_TR/LC_MESSAGES/tr_TR.mo
  87. +0 −339 webui/public/js/locale/tr_TR/LC_MESSAGES/tr_TR.po
  88. +1 −0 webui/public/js/locale/tr_TR/LC_MESSAGES/tr_TR.po
  89. +0 −336 webui/public/js/locale/webui-datatables.pot
@@ -1,4 +1,4 @@
SUBDIRS = module/Application/language public/js/locale
SUBDIRS = module/Application/language

install: install-am
mkdir -p $(DESTDIR)$(pkgdatadir)
@@ -272,7 +272,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = module/Application/language public/js/locale
SUBDIRS = module/Application/language
all: all-recursive

.SUFFIXES:
@@ -2395,7 +2395,7 @@ fi



ac_config_files="$ac_config_files Makefile module/Application/language/Makefile public/js/locale/Makefile"
ac_config_files="$ac_config_files Makefile module/Application/language/Makefile"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -3116,7 +3116,6 @@ do
case $ac_config_target in
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"module/Application/language/Makefile") CONFIG_FILES="$CONFIG_FILES module/Application/language/Makefile" ;;
"public/js/locale/Makefile") CONFIG_FILES="$CONFIG_FILES public/js/locale/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
@@ -23,5 +23,5 @@ fi
AC_SUBST(HTTPD_CONF)

AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_FILES(Makefile module/Application/language/Makefile public/js/locale/Makefile)
AC_CONFIG_FILES(Makefile module/Application/language/Makefile)
AC_OUTPUT
@@ -3,8 +3,8 @@ Bareos WebUI Translation

### Where do I find the translation?

The localization files are located in `module/Application/language` and `public/js/locale`.
You can find the languages that are currently in translation in our online project, which is addressed in the next section.
The localization files are located in `module/Application/language`. You can find the languages that are currently
in translation in our online project, which is addressed in the next section.

### How should I edit translation files?

@@ -2,7 +2,8 @@ all: update-pot update-all msgfmt-all

update-pot:
@(echo 'Updating webui.pot ...';)
@(find ../../../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --keyword=translate -L PHP --from-code=UTF-8 -o webui.pot;)
@(find ../../../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --language=PHP --keyword=translate --from-code=UTF-8 -o webui.pot;)
@(find ../../../ -regextype posix-egrep -regex '.*(functions.js)$$' | xargs xgettext --keyword=gettext --from-code=UTF-8 -j -o webui.pot;)

update-po: $(PO)
@(echo 'Updating $(PO) file ...';)
@@ -380,7 +380,8 @@ all: update-pot update-all msgfmt-all

update-pot:
@(echo 'Updating webui.pot ...';)
@(find ../../../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --keyword=translate -L PHP --from-code=UTF-8 -o webui.pot;)
@(find ../../../ -regextype posix-egrep -regex '.*(php|phtml)$$' | grep -v vendor | grep -v tests | xargs xgettext --language=PHP --keyword=translate --from-code=UTF-8 -o webui.pot;)
@(find ../../../ -regextype posix-egrep -regex '.*(functions.js)$$' | xargs xgettext --keyword=gettext --from-code=UTF-8 -j -o webui.pot;)

update-po: $(PO)
@(echo 'Updating $(PO) file ...';)
Binary file not shown.
Oops, something went wrong.

0 comments on commit aa5be2a

Please sign in to comment.