mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
1023badd90
- There's no need for configuring "trans.<lang>" for each resource. Using the global "lang_map" in the Transifex client config is enough. - The Transifex client can rename locales. No need to do this manually. - Pull all translation files for each locale that has a file named config/locales/client.<lang>.yml. Up until now the script did only update existing files, but didn't add missing ones. That is why there are so many translation files for the poll plugin missing.
57 lines
1.4 KiB
Text
57 lines
1.4 KiB
Text
[main]
|
|
host = https://www.transifex.com
|
|
lang_map = es_ES: es, fr_FR: fr, ko_KR: ko, pt_PT: pt
|
|
|
|
[discourse-org.clientenyml]
|
|
file_filter = config/locales/client.<lang>.yml
|
|
source_file = config/locales/client.en.yml
|
|
source_lang = en
|
|
type = YML
|
|
|
|
[discourse-org.serverenyml]
|
|
file_filter = config/locales/server.<lang>.yml
|
|
source_file = config/locales/server.en.yml
|
|
source_lang = en
|
|
type = YML
|
|
|
|
[discourse-org.pollclientenyml]
|
|
file_filter = plugins/poll/config/locales/client.<lang>.yml
|
|
source_file = plugins/poll/config/locales/client.en.yml
|
|
source_lang = en
|
|
type = YML
|
|
|
|
[discourse-org.pollserverenyml]
|
|
file_filter = plugins/poll/config/locales/server.<lang>.yml
|
|
source_file = plugins/poll/config/locales/server.en.yml
|
|
source_lang = en
|
|
type = YML
|
|
|
|
[discourse-org.imgurserverenyml]
|
|
file_filter = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.<lang>.yml
|
|
source_file = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.en.yml
|
|
source_lang = en
|
|
type = YML
|
|
|
|
[discourse-org.403html]
|
|
file_filter = public/403.<lang>.html
|
|
source_file = public/403.html
|
|
source_lang = en
|
|
type = HTML
|
|
|
|
[discourse-org.422html]
|
|
file_filter = public/422.<lang>.html
|
|
source_file = public/422.html
|
|
source_lang = en
|
|
type = HTML
|
|
|
|
[discourse-org.500html]
|
|
file_filter = public/500.<lang>.html
|
|
source_file = public/500.html
|
|
source_lang = en
|
|
type = HTML
|
|
|
|
[discourse-org.503html]
|
|
file_filter = public/503.<lang>.html
|
|
source_file = public/503.html
|
|
source_lang = en
|
|
type = HTML
|