Transifex support

This commit is contained in:
Ingo Schommer 2013-10-24 22:21:58 +02:00
parent 70ba4c6c39
commit a55358e93b
4 changed files with 24 additions and 0 deletions

8
.tx/config Normal file
View File

@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com
[silverstripe-iframe.master]
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en
type = YML

View File

@ -17,3 +17,11 @@ browser. e.g. http://mysite.com/dev/build?flush=all
## Instructions
For usage instructions see [user manual](docs/en/user.md).
## Contributing
### Translations
Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.
Please use [https://www.transifex.com/projects/p/silverstripe-iframe](https://www.transifex.com/projects/p/silverstripe-iframe) to contribute translations, rather than sending pull requests with YAML files.

0
lang/_manifest_exclude Normal file
View File

8
lang/en.yml Normal file
View File

@ -0,0 +1,8 @@
en:
IFramePage:
DESCRIPTION: 'Embeds an iframe into the body of the page.'
PLURALNAME: 'Base Pages'
SINGULARNAME: 'I Frame Page'
SiteTree:
PLURALNAME: Pages
SINGULARNAME: Page