make script suitable for other languages and ignore static arguments
parent
b77cc0344d
commit
28cbf1fe3a
|
@ -56,7 +56,6 @@ other= "Fostering innovation"
|
||||||
[arguments_list_description_4]
|
[arguments_list_description_4]
|
||||||
other= "With transparent processes, others don't have to reinvent the wheel."
|
other= "With transparent processes, others don't have to reinvent the wheel."
|
||||||
|
|
||||||
|
|
||||||
# Action section
|
# Action section
|
||||||
[action_headline]
|
[action_headline]
|
||||||
other= "Tell Your Representatives!"
|
other= "Tell Your Representatives!"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# strings to ignore
|
# strings to ignore
|
||||||
ignore=("languageCode" "languageName")
|
ignore=("languageCode" "languageName" "arguments_list" "arguments_list_icon")
|
||||||
|
|
||||||
while read line; do
|
while read line; do
|
||||||
|
|
||||||
|
@ -30,4 +30,4 @@ while read line; do
|
||||||
newline=y
|
newline=y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done < strings.en.toml
|
done < "$1"
|
||||||
|
|
Loading…
Reference in New Issue