Set the translate flag with the addon script.

patch #1387.
This commit is contained in:
Mark de Wever 2009-12-07 19:33:57 +00:00
parent fcd4e560b0
commit 5d47584a12
3 changed files with 7 additions and 3 deletions

View file

@ -17,6 +17,7 @@ Version 1.7.9+svn:
* Remove spurious hover error messages
* Fix the gui2 unit tests
* Reduced header dependencies
* Fix the addon upload script to include the translate flag (patch #1387)
Version 1.7.9-beta2:
* AI:

View file

@ -980,6 +980,9 @@
[entry]
name = "Tommy (yobbo)"
[/entry]
[entry]
name = "tsr"
[/entry]
[entry]
name = "Vladimír Slávik"
comment = "Miscellanous text formating and translation engine related help"

View file

@ -193,7 +193,7 @@ if __name__ == "__main__":
column_sizes = [10, 5, 10, 7, 8, 8, 10, 5, 10, 13]
columns = [["type", "name", "title", "author",
"version", "uploads", "downloads",
"size", "timestamp", "translatable"]]
"size", "timestamp", "translate"]]
for campaign in campaigns.get_all("campaign"):
column = [
campaign.get_text_val("type", "?"),
@ -205,7 +205,7 @@ if __name__ == "__main__":
campaign.get_text_val("downloads", "?"),
campaign.get_text_val("size", "?"),
time.ctime(int(campaign.get_text_val("timestamp", "0"))),
campaign.get_text_val("translate", "false")]
campaign.get_text_val("translate", "?")]
columns.append(column)
for i, s in enumerate(column_sizes):
if 1 + len(column[i]) > s:
@ -316,7 +316,7 @@ if __name__ == "__main__":
stuff = {}
for field in ["title", "author", "passphrase", "description",
"version", "icon", "type", "email"]:
"version", "icon", "type", "email", "translate"]:
stuff[field] = pbl.get_text_val(field)
mythread = cs.put_campaign_async(name, cfgfile, wmldir, ign, stuff)