Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Update translations #51

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[main]
host = https://www.transifex.com

[silverstripe-security-extensions.master]
[o:silverstripe:p:silverstripe-security-extensions:r:master]
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en
type = YML
type = YML

[silverstripe-security-extensions.master-js]
[o:silverstripe:p:silverstripe-security-extensions:r:master-js]
file_filter = client/lang/src/<lang>.json
source_file = client/lang/src/en.json
source_lang = en
type = KEYVALUEJSON
type = KEYVALUEJSON

4 changes: 2 additions & 2 deletions client/lang/da.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/da.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/da.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down
4 changes: 2 additions & 2 deletions client/lang/en.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/en.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/en.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down
4 changes: 2 additions & 2 deletions client/lang/eo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/eo.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/eo.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down
4 changes: 2 additions & 2 deletions client/lang/nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/nl.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/nl.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down
4 changes: 2 additions & 2 deletions client/lang/sl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/sl.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/sl.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down
4 changes: 2 additions & 2 deletions client/lang/sv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by silverstripe/cow from client/lang/src/sv.json.
// See https://github.com/silverstripe/cow for details
// This file was generated by silverstripe/tx-translator from client/lang/src/sv.json.
// See https://github.com/silverstripe/silverstripe-tx-translator for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
Expand Down