Commit Graph

6 Commits

Author SHA1 Message Date
Christian Beer 4e82939157 Locale: extract strings from content.sql
Creates a local DB and selects the strings needed for translation. Adds them to the pot file for project generic website strings with location information for translators.

Signed-off-by: Shawn Kwang <kwangs@uwm.edu>
2018-09-12 11:44:02 -05:00
Christian Beer b612c724e0 Disable BOINC-Web.pot generation
The BOINC website was moved into a separate repository. This requires a bit more work for this script to work again.
2017-11-09 21:18:17 +01:00
Christian Beer 71a5dcee4b Locale: update filelist for BOINC website localization 2017-06-29 08:41:54 +02:00
Christian Beer a01b5747c1 Locale: print current year in POT header copyright notice 2017-02-13 15:48:21 +01:00
Christian Beer dde699861b Locale: tweak filepaths in templates
Omitting the first directory in the filename of translatable strings is ambiguous if you don't know what directory this template was build from. So this adds back the top level directory and the filename in comments inside the pot files is now always relative to the source directory.
I also added the generic language name header to the BONIC-Web ressource becaue it also needs to know the language names and not necessarily gets the info from BOINC-Project-Generic.
2016-12-08 21:24:11 +01:00
Christian Beer 70dd29ed09 Locale: refactor template update process
* Automatically build templates from source files and push them to transifex. Templates are automatically created in the right place, no more manual copying files.
* Use a consistent header for all template files
* Only Android and Drupal are still updated on their own because this needs interactive tools.
2016-11-28 19:10:33 +01:00