Merge pull request #13803 from JoshuaVandaele/msgmerge-sort
Translation: Remove deprecated --sorted-output/-s option
This commit is contained in:
+14304
-14173
File diff suppressed because it is too large
Load Diff
+13828
-13697
File diff suppressed because it is too large
Load Diff
+13849
-13721
File diff suppressed because it is too large
Load Diff
+13903
-13772
File diff suppressed because it is too large
Load Diff
+14365
-14233
File diff suppressed because it is too large
Load Diff
+13641
-13513
File diff suppressed because it is too large
Load Diff
+13802
-13671
File diff suppressed because it is too large
Load Diff
+13641
-13513
File diff suppressed because it is too large
Load Diff
+15303
-15169
File diff suppressed because it is too large
Load Diff
+13625
-13497
File diff suppressed because it is too large
Load Diff
+15105
-14971
File diff suppressed because it is too large
Load Diff
+15271
-15137
File diff suppressed because it is too large
Load Diff
+13685
-13557
File diff suppressed because it is too large
Load Diff
+14228
-14094
File diff suppressed because it is too large
Load Diff
+15167
-15033
File diff suppressed because it is too large
Load Diff
+14934
-14801
File diff suppressed because it is too large
Load Diff
+14914
-14780
File diff suppressed because it is too large
Load Diff
+14058
-13927
File diff suppressed because it is too large
Load Diff
+14023
-13892
File diff suppressed because it is too large
Load Diff
+14786
-14655
File diff suppressed because it is too large
Load Diff
+14028
-13897
File diff suppressed because it is too large
Load Diff
+13622
-13494
File diff suppressed because it is too large
Load Diff
+15228
-15094
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@
|
|||||||
# and may be accessed in applications which use Qt. Extracted from Qt 5.15.1.
|
# and may be accessed in applications which use Qt. Extracted from Qt 5.15.1.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
|
||||||
#: qtbase/src/gui/kernel/qguiapplication.cpp:234
|
#: qtbase/src/gui/kernel/qguiapplication.cpp:234
|
||||||
msgctxt ""
|
msgctxt ""
|
||||||
|
|||||||
+13692
-13564
File diff suppressed because it is too large
Load Diff
+15361
-15227
File diff suppressed because it is too large
Load Diff
+13595
-13467
File diff suppressed because it is too large
Load Diff
+15132
-14998
File diff suppressed because it is too large
Load Diff
+13841
-13710
File diff suppressed because it is too large
Load Diff
+14649
-14515
File diff suppressed because it is too large
Load Diff
+13659
-13531
File diff suppressed because it is too large
Load Diff
@@ -7,8 +7,8 @@ cd "$(dirname "$0")/.."
|
|||||||
|
|
||||||
# Scan the source code for strings and put them in dolphin-emu.pot
|
# Scan the source code for strings and put them in dolphin-emu.pot
|
||||||
SRCDIR=Source
|
SRCDIR=Source
|
||||||
find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | \
|
find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort -fd | \
|
||||||
xgettext -s -p ./Languages/po -o dolphin-emu.pot --package-name="Dolphin Emulator" \
|
xgettext -p ./Languages/po -o dolphin-emu.pot --package-name="Dolphin Emulator" \
|
||||||
--keyword=_ \
|
--keyword=_ \
|
||||||
--keyword=AskYesNoFmtT \
|
--keyword=AskYesNoFmtT \
|
||||||
--keyword=CriticalAlertFmtT \
|
--keyword=CriticalAlertFmtT \
|
||||||
@@ -24,7 +24,7 @@ find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | \
|
|||||||
--add-comments=i18n --from-code=utf-8 -f -
|
--add-comments=i18n --from-code=utf-8 -f -
|
||||||
|
|
||||||
# Copy strings from qt-strings.pot to dolphin-emu.pot
|
# Copy strings from qt-strings.pot to dolphin-emu.pot
|
||||||
xgettext -s -p ./Languages/po -o dolphin-emu.pot --package-name="Dolphin Emulator" \
|
xgettext -p ./Languages/po -o dolphin-emu.pot --package-name="Dolphin Emulator" \
|
||||||
-j ./Languages/po/qt-strings.pot
|
-j ./Languages/po/qt-strings.pot
|
||||||
|
|
||||||
sed -i "s/SOME DESCRIPTIVE TITLE\./Translation of dolphin-emu.pot to LANGUAGE/" Languages/po/dolphin-emu.pot
|
sed -i "s/SOME DESCRIPTIVE TITLE\./Translation of dolphin-emu.pot to LANGUAGE/" Languages/po/dolphin-emu.pot
|
||||||
|
|||||||
@@ -7,4 +7,4 @@
|
|||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
POTFILE=./Languages/po/dolphin-emu.pot
|
POTFILE=./Languages/po/dolphin-emu.pot
|
||||||
find ./Languages/po -name '*.po' -exec msgmerge --quiet --update -N --backup=none -s {} $POTFILE \;
|
find ./Languages/po -name '*.po' -exec msgmerge --quiet --update -N --backup=none {} $POTFILE \;
|
||||||
|
|||||||
@@ -574,7 +574,7 @@ if(GETTEXT_MSGFMT_EXECUTABLE)
|
|||||||
else()
|
else()
|
||||||
add_custom_command(OUTPUT ${mo}
|
add_custom_command(OUTPUT ${mo}
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${mo_dir}
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${mo_dir}
|
||||||
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${po} ${pot_file}
|
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none ${po} ${pot_file}
|
||||||
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po}
|
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo} ${po}
|
||||||
DEPENDS ${po}
|
DEPENDS ${po}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user