mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:43:45 +02:00
Now the flow for adding a new language is just: 1.Add a new language entry to `res/common/lang/langs.json`. And for translating it's just: 1. Run `gulp translate` (extracts all the strings). 2. Open `/res/common/lang/po/stf.pot` in PoEdit and translate. 3. Run `gulp translate` again (creates a json based on the new `po` file).
9 lines
297 B
Plaintext
9 lines
297 B
Plaintext
.widget-container.fluid-height(ng-controller='LanguageCtrl')
|
|
.heading
|
|
i.fa.fa-flag
|
|
span(translate) Language
|
|
.widget-content.padded
|
|
.form-horizontal
|
|
.form-group
|
|
select.form-control(ng-model='language', ng-options='key as value for (key, value) in supportedLanguages')
|