po: Preserve the previous msgid on change as a hint to translators.
This commit is contained in:
parent
be4192510d
commit
08e7491cb5
|
@ -15590,7 +15590,7 @@ then
|
|||
test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
|
||||
\$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
|
||||
msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
|
||||
msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
|
||||
\$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
|
||||
msgcat -o \$@ \$(ALL_POT_FILES)"
|
||||
fi
|
||||
|
|
|
@ -3107,7 +3107,7 @@ then
|
|||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
[ALL_POT_FILES =$ALL_POT_FILES
|
||||
\$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
|
||||
msgmerge -q \$[@] \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$[@].new && mv \$[@].new \$[@]
|
||||
msgmerge --previous -q \$[@] \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$[@].new && mv \$[@].new \$[@]
|
||||
\$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
|
||||
msgcat -o \$[@] \$(ALL_POT_FILES)])
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue