From ec698c4c62b897bddfc77bc4317229569b9291e2 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sun, 17 Dec 2017 11:17:23 -0800 Subject: [PATCH] remove empty strings (currently an error) --- xwords4/android/res_src/values-nb-rNO/strings.xml | 4 ---- xwords4/android/scripts/copy-strings.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/xwords4/android/res_src/values-nb-rNO/strings.xml b/xwords4/android/res_src/values-nb-rNO/strings.xml index 6f27c4bcc..3c6613f48 100644 --- a/xwords4/android/res_src/values-nb-rNO/strings.xml +++ b/xwords4/android/res_src/values-nb-rNO/strings.xml @@ -284,7 +284,6 @@ SMS (tekstmelding) E-post Blåtann - Invitasjon av spillere: Hvordan? "Meg: " "Ikke meg: " @@ -445,7 +444,6 @@ Nedlasting mislyktes Lagre ordlister internt - Nedlastingsmappe @@ -594,7 +592,6 @@ Skru på offentlige rom Rom andre kan se og ta del i - Skjul knapper @@ -612,7 +609,6 @@ Skru på feilrettingsfunksjoner Nettverksstatistikk Vis invitasjoner - %1$s/%2$s Skriv spill til SD-kort Last spill fra SD-kort diff --git a/xwords4/android/scripts/copy-strings.py b/xwords4/android/scripts/copy-strings.py index 2ba15fb79..8dcd73644 100755 --- a/xwords4/android/scripts/copy-strings.py +++ b/xwords4/android/scripts/copy-strings.py @@ -141,7 +141,7 @@ def writeDoc(doc, src, dest): def checkOrConvertString(engNames, elem, verbose): name = elem.get('name') if not elem.text: - print "elem", name, "is empty" + print "ERROR: elem", name, "is empty" sys.exit(1) elif not name in engNames or elem.text.startswith(s_prefix): ok = False