diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..b7b8a89 --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.com + +[silverstripe-iframe.master] +file_filter = lang/.yml +source_file = lang/en.yml +source_lang = en +type = YML \ No newline at end of file diff --git a/README.md b/README.md index 1764975..a101994 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/lang/_manifest_exclude b/lang/_manifest_exclude new file mode 100644 index 0000000..e69de29 diff --git a/lang/en.yml b/lang/en.yml new file mode 100644 index 0000000..d2b2918 --- /dev/null +++ b/lang/en.yml @@ -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