summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-13 08:26:53 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-13 08:26:53 -0400
commitca31bad8a5e08b4f36b022515ff8841c9621c4a3 (patch)
tree7987dfe42a5608ac52fa8a7b3f8bcd6a16437fbc /apps/lang
parent73a0a9f5aa631f9e8b0d4300229981d17d9bf56c (diff)
voice: Ensure all voicelist files in voicefiles.zip are complete
Backfill all missing strings from the English master translation. Change-Id: Ie28f4cf804c22141a2c62f82ed8b2d71c822c74a
Diffstat (limited to 'apps/lang')
-rw-r--r--apps/lang/lang.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index ee01c5742a..14519e79c1 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -49,7 +49,9 @@ $(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h
$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features
$(call PRINTS,GENLANG $(subst $(ROOTDIR)/,,$<))
$(SILENT)mkdir -p $(dir $@)
- $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/english.lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $<
+ $(SILENT)$(TOOLSDIR)/genlang -u -e=$(APPSDIR)/lang/english.lang $< > $<.tmp
+ $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/english.lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $<.tmp
+ $(SILENT)rm -f $<.tmp
$(BUILDDIR)/apps/lang/voicestrings.zip: $(VOICEOBJ)
$(call PRINTS,ZIP $(subst $(BUILDDIR)/,,$@))