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 #86

Merged
merged 1 commit into from
Mar 9, 2023
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
15 changes: 15 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[main]
host = https://www.transifex.com

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

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

15 changes: 15 additions & 0 deletions client/lang/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// 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
}
} else {
ss.i18n.addDictionary('en', {
"ColorPickerField.EMPTY_TITLE": "None",
"ColorPickerField.SEARCH_BLOCKS": "Search colours",
"FontPickerField.EMPTY_TITLE": "None",
"FontPickerField.PREVIEW_FONT_SENTENCE": "The quick brown fox jumps over the lazy dog.",
"FontPickerField.PREVIEW_FONT_ALPHABET": "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz 0123456789 - = _ + < > ? / . , : \""
});
}
7 changes: 7 additions & 0 deletions client/lang/src/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ColorPickerField.EMPTY_TITLE": "None",
"ColorPickerField.SEARCH_BLOCKS": "Search colours",
"FontPickerField.EMPTY_TITLE": "None",
"FontPickerField.PREVIEW_FONT_SENTENCE": "The quick brown fox jumps over the lazy dog.",
"FontPickerField.PREVIEW_FONT_ALPHABET": "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz 0123456789 - = _ + < > ? / . , : \""
}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"extra": {
"expose": [
"thirdparty/TinyMCE-FontAwesome-Plugin/fontawesome",
"client/dist"
"client/dist",
"client/lang"
]
},
"minimum-stability": "dev",
Expand Down
37 changes: 37 additions & 0 deletions lang/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ ar:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 'العناصر الدائرية'
SINGULARNAME: 'عنصر دائرى'
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
zero: ''
one: ''
two: ''
few: ''
many: ''
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CwpCarousel:
ArchivedField: 'هل تود أن تقوم بتخزين هذا العنصر الدائرى؟'
LinkField: رابط
Expand All @@ -22,3 +33,29 @@ ar:
LogoRetinaUploadField: 'شعار عالى الدقة, ليظهر فى أعلى اليسار (يوصى بضعف الطول و العرض للشعار التقليدى)'
LogoUploadField: 'الشعار, ليظهر أعلى اليسار'
LogosIconsTab: الشعارات/الأيقونات
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ en:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: 'Add new'
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: 'NOTE: Carousel functionality will automatically be loaded when 2 or more items are added below'
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: Hero/Carousel
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: 'Used by screen readers'
CwpConfig:
AppleIconField144: 'Apple Touch Web Clip and Windows 8 Tile Icon (dimensions of 144x144, PNG format)'
FooterLogoLinkDesc: 'Please include the protocol (ie, http:// or https://) unless it is an internal link.'
Expand Down
33 changes: 33 additions & 0 deletions lang/eo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ eo:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 'Karuselaj elementoj'
SINGULARNAME: 'Karusela elemento'
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
one: ''
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CwpCarousel:
ArchivedField: 'Ĉu enarkivigi ĉi tiun karuselan elementon?'
LinkField: Ligilo
Expand All @@ -22,3 +29,29 @@ eo:
LogoRetinaUploadField: 'Tredistingiva bildsimbolo, aperonta ĉe la maldekstra supro (rekomeninda dufoje la alton kaj larĝon de la normala bildsimbolo)'
LogoUploadField: 'Bildsimbolo, aperonta ĉe la maldekstra supro'
LogosIconsTab: Bildsimboloj
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
34 changes: 34 additions & 0 deletions lang/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ es:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 'Items del carrusel'
SINGULARNAME: 'Item del carrusel'
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
one: ''
many: ''
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CwpCarousel:
ArchivedField: '¿Archiva este item del carrusel?'
LinkField: Enlace
Expand All @@ -21,3 +29,29 @@ es:
LogoRetinaUploadField: 'Logo de alta resolución, a aparecer en la esquina superior izquierda (serecomineda el doble del alto y ancho del logo estándar)'
LogoUploadField: 'Logo, a aparecer en la esquina superior izquierda'
LogosIconsTab: Logos/iconos
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
33 changes: 33 additions & 0 deletions lang/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ fi:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 'Karusellin kohteet'
SINGULARNAME: 'Karusellin kohde'
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
one: ''
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CWP\AgencyExtensions\Extensions\CWPSiteConfigExtension:
AddThisField: 'AddThis profiili-ID'
AddThisFieldDesc: 'Profiili-ID käytettäväksi läpi sivuston (formaatissa <strong>ra-XXXXXXXXXXXXXXXX</strong>)'
Expand All @@ -18,7 +25,33 @@ fi:
LogoRetinaUploadField: 'Korkearesoluutioinen logo vasempaan yläkulmaan (suositellaan kaksinkertaista resoluutiota suhteessa peruslogoon)'
LogoUploadField: 'Logo vasempaan yläkulmaan'
LogosIconsTab: Logot/ikonit
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CwpCarousel:
ArchivedField: 'Arkistoi tämä karuselliartikkeli?'
LinkField: Linkki
NoteField: 'Huomio: sinun täytyy luoda karusellisisältö ennen kuin lisäät siihen kuvan'
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
36 changes: 36 additions & 0 deletions lang/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,41 @@ id:
FooterLogoLinkField: 'Tautan Logo Footer'
FooterLogoRetinaField: 'Logo footer beresolusi tinggi (direkomendasikan berukuran dua kali tinggi dan lebar dari logo footer standar)'
LogosIconsTab: Logo/Ikon
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
LogoUploadField: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CwpCarousel:
LinkField: Tautan
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CWP\AgencyExtensions\Model\CarouselItem:
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALNAME: ''
PLURALS:
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
SINGULARNAME: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
34 changes: 34 additions & 0 deletions lang/mi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ mi:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 'Ngā tuemi takawhawhe'
SINGULARNAME: 'Tuemi Takawhawhe'
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
one: ''
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CWP\AgencyExtensions\Extensions\CWPSiteConfigExtension:
AddThisField: TāpiriTēneiTTKōtaha
AddThisFieldDesc: 'Me whakamahi i te TT kōtaha puta noa i te pae (ki te hōputu <strong>ra-XXXXXXXXXXXXXXXX</strong>)'
Expand All @@ -17,7 +24,34 @@ mi:
FooterLogoRetinaField: 'Moko hiko taumira rahi (ka taunakitia kia rua whakareanga ake te teitei me te whānui o te moko hiku arowhānui)'
LogoRetinaUploadField: 'Moko taumira rahi kia whakaaturia ki runga mauī (ka taunakitia kia rua whakareanga ake te teitei me te whānui o te moko hiku arowhānui)'
LogoUploadField: 'Moko, kia whakaaturia ki runga mauī'
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
LogosIconsTab: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CwpCarousel:
ArchivedField: 'Me pūranga tēnei tuemi takawhawhe?'
LinkField: Hono
NoteField: 'Tuhipoka: Me hanga e koe te tuemi takawhawhe i mua i te tāpiri atahanga'
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''
32 changes: 32 additions & 0 deletions lang/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ zh:
CWP\AgencyExtensions\Model\CarouselItem:
PLURALNAME: 旋转项
SINGULARNAME: 旋转项
CONTENT_HELPTIP: ''
IMAGE_HELPTIP: ''
PLURALS:
other: ''
PRIMARYCALLTOACTION: ''
SECONDARYCALLTOACTION: ''
CwpCarousel:
ArchivedField: 归档该旋转项?
LinkField: 链接
Expand All @@ -22,3 +28,29 @@ zh:
LogoRetinaUploadField: 高分辨率徽标,在左上角出现(建议为标准分辨率徽标的两倍高和两倍宽)
LogoUploadField: 出现在左上角的徽标
LogosIconsTab: '商标/ 图标'
AccentColor: ''
AccentColorDescription: ''
CarouselBackground: ''
CarouselBackgroundDescription: ''
FooterBackground: ''
FooterLogoSecondaryDescField: ''
FooterLogoSecondaryField: ''
FooterLogoSecondaryLinkField: ''
HeaderBackground: ''
MainFontFamily: ''
NavigationBarBackground: ''
TextLinkColor: ''
CWP:
SITECONFIG.EmptySearch: ''
SITECONFIG.NoResult: ''
CarouselPageExtension:
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionADDNEW: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionNOTE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE: ''
php.CWP\AgencyExtensions\Extensions\CarouselPageExtensionTITLE_NOTE: ''
CwpConfig:
AppleIconField144: ''
FooterLogoLinkDesc: ''
FooterLogoRetinaField: ''
FooterLogoSecondaryLinkDesc: ''
LogoRetinaUploadField: ''