Remove breaks
It's possible that a CAF addition is a string with product attribute.
This causes two occurrences of the same name, so add both.
diff --git a/cm_crowdin_sync.py b/cm_crowdin_sync.py
index 29423ef..26eddcc 100755
--- a/cm_crowdin_sync.py
+++ b/cm_crowdin_sync.py
@@ -82,19 +82,16 @@
for string_item in list_cm_string:
if string_item.attributes['name'].value == z:
caf_additions.append(' ' + string_item.toxml())
- break
for y in names_cm_string_array:
if y not in names_base_string_array:
for string_array_item in list_cm_string_array:
if string_array_item.attributes['name'].value == y:
caf_additions.append(' ' + string_array_item.toxml())
- break
for x in names_cm_plurals:
if x not in names_base_plurals:
for plurals_item in list_cm_plurals:
if plurals_item.attributes['name'].value == x:
caf_additions.append(' ' + plurals_item.toxml())
- break
# Done :-)
return caf_additions