Skip to content

Commit 8d53587

Browse files
committed
use fcitx5 as po file name and remove temp files.
1 parent 1899486 commit 8d53587

25 files changed

+3923
-3891
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ cscope.*
1212
*.part
1313
XF86keysym.h
1414
keysymdef.h
15+
*~

Messages.sh

100644100755
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
#!/bin/bash
2+
POT_FILE=po/fcitx5.pot
23
set -x
34
source_files=$(find . -name \*.cpp -o -name \*.h)
4-
xgettext --keyword=_ --language=C++ --add-comments --sort-output -o po/fcitx.pot $source_files
5+
xgettext --keyword=_ --language=C++ --add-comments --sort-output -o ${POT_FILE} $source_files
56
desktop_files=$(find . -name \*.conf.in)
6-
xgettext --language=Desktop $desktop_files --keyword= --keyword=GeneralName --keyword=Comment -j -o po/fcitx.pot
7+
xgettext --language=Desktop $desktop_files --keyword= --keyword=GeneralName --keyword=Comment -j -o ${POT_FILE}
78

89
echo > po/LINGUAS
910

1011
for pofile in $(ls po/*.po | sort); do
1112
pofilebase=$(basename $pofile)
1213
pofilebase=${pofilebase/.po/}
13-
msgmerge -U $pofile po/fcitx.pot
14+
msgmerge -U $pofile ${POT_FILE}
1415
echo $pofilebase >> po/LINGUAS
1516
done

po/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
file(GLOB PO_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po)
2-
gettext_create_translations(fcitx.pot ALL ${PO_FILES})
2+
gettext_create_translations(fcitx5.pot ALL ${PO_FILES})

po/ca.po

+5-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: fcitx\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2017-09-14 19:48-0700\n"
11+
"POT-Creation-Date: 2017-09-15 08:42-0700\n"
1212
"PO-Revision-Date: 2016-11-29 16:37+0000\n"
1313
"Last-Translator: Walter Garcia-Fontes <[email protected]>\n"
1414
"Language-Team: Catalan (http://www.transifex.com/fcitx/fcitx/language/ca/)\n"
@@ -89,11 +89,6 @@ msgstr "S'han activat les pistes d'ortografia"
8989
msgid "Unicode: "
9090
msgstr "Unicode"
9191

92-
#: src/modules/unicode/unicode.conf.in:3
93-
#, fuzzy
94-
msgid "unicode"
95-
msgstr "Unicode"
96-
9792
#~ msgid " Ctrl+Delete To Delete"
9893
#~ msgstr "Ctrl+Supr per esborrar"
9994

@@ -2513,6 +2508,10 @@ msgstr "Unicode"
25132508
#~ msgid "sudo environment variables"
25142509
#~ msgstr "variables d'entorn del sudo"
25152510

2511+
#, fuzzy
2512+
#~ msgid "unicode"
2513+
#~ msgstr "Unicode"
2514+
25162515
#~ msgid "version:"
25172516
#~ msgstr "versió:"
25182517

0 commit comments

Comments
 (0)