wescamp script allows the same values for true as utils::string_bool()
This commit is contained in:
parent
3625576b83
commit
d2dd39ef7a
2 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ Version 1.3.14+svn:
|
|||
* various bug fixes and code cleanups
|
||||
* added some extra headers for the upcoming gcc 4.3 (debian bug #462708)
|
||||
* image scaling on tinygui was broken, this has been fixed
|
||||
* wescamp script allows the same values for true as utils::string_bool()
|
||||
|
||||
Version 1.3.14:
|
||||
* campaigns:
|
||||
|
|
|
@ -84,7 +84,7 @@ if __name__ == "__main__":
|
|||
result = {}
|
||||
for c in campaigns.get_all("campaign"):
|
||||
translatable = c.get_text_val("translate")
|
||||
if(translatable == "true"):
|
||||
if(translatable == "yes" or translatable == "on" or translatable == "true" or translatable == "1"):
|
||||
result[c.get_text_val("name")] = True
|
||||
else:
|
||||
# when the campaign isn't marked for translation skip it
|
||||
|
|
Loading…
Add table
Reference in a new issue