Skip to content

Commit

Permalink
Transifex translation support
Browse files Browse the repository at this point in the history
Renamed auto-template entities from ".ss" to "_ss" to avoid clashes with YAML namespaces
  • Loading branch information
chillu committed Jul 8, 2013
1 parent 294074b commit c044f8c
Show file tree
Hide file tree
Showing 29 changed files with 132 additions and 113 deletions.
8 changes: 8 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com

[silverstripe-blog.master]
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en
type = YML
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The blog module allows you to post blogs on your SilverStripe. It includes the a
* Saophalkun Ponlu (phalkunz at silverstripe dot com)
* Carlos Barberis (carlos at silverstripe dot com)

## Requirements
## Requirements

* Silverstripe 3.1
* silverstripe-widgets module
Expand Down Expand Up @@ -97,4 +97,16 @@ to have it available globally.

The blog comes set up to use the `\themes\blackcandy_blog\` directory by default.

* See [:themes](/themes)
* See [:themes](/themes)

## 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-blog/ to contribute translations,
rather than sending pull requests with YAML files.
10 changes: 5 additions & 5 deletions lang/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ar:
PLURALNAME: "تدوينات المدونة"
SINGULARNAME: "تدوينة المدونة"
TS: "وسوم (فاصلة,بين,الوسوم)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "التعليقات"
EDITTHIS: "تحرير التدوينة"
POSTEDBY: "نشرت بواسطة"
Expand All @@ -32,7 +32,7 @@ ar:
SUCTAGS: "َsilverstripe , blog"
SUCTITLE: "تم تركيب SilverStripe Blog بنجاح"
TE: "مثال:رياضة,شخصية,علمية"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "لا يوجد مدخلات"
VIEWINGTAGGED: "عرض المخلات الموسومة بـ"
BlogManagementWidget:
Expand All @@ -41,10 +41,10 @@ ar:
SINGULARNAME: "مربع إدارة المدونة"
UNM1: "يوجد تعليق واحد لا يحتاج إلى موافقة"
UNMM: "يوجد %i تعليقات لا تحتاج إلى موافقة"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "خروج"
POSTNEW: "نشر تدوينة جديدة"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "التعليقات"
POSTEDBY: "بواسطة"
POSTEDON: "في"
Expand All @@ -63,7 +63,7 @@ ar:
SubscribeRSSWidget:
PLURALNAME: "مربعات الاشتراك في الخلاصات RSS"
SINGULARNAME: "مربع الاشتراك في الخلاصات RSS"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "اشتراك"
SUBSCRIBETITLE: "الاشتراك في المدونة عن طريق الخلاصات RSS"
TagCloudWidget:
Expand Down
8 changes: 4 additions & 4 deletions lang/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bg:
CN: "Съдържание"
DT: "Дата"
TS: "Марки (разделени със запетайка)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Коментари"
EDITTHIS: "Промени тази статия"
POSTEDBY: "Публикувано от"
Expand All @@ -26,17 +26,17 @@ bg:
SUCTAGS: "silverstripe, блог"
SUCTITLE: "SilverStripe блог модул успешно инсталиран"
TE: "Например: спорт, наука, здраве"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "Няма никакви блог статий"
VIEWINGTAGGED: "Разглеждане на статий маркирани с"
BlogManagementWidget:
COMADM: "Администрация за коментари"
UNM1: "Вие имате 1 непрегледан коментар"
UNMM: "Вие имате %i непрегледани коментара"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Излез"
POSTNEW: "Публикувайте нова блог статия"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Коментари"
POSTEDBY: "Публикувано от"
POSTEDON: "на"
Expand Down
10 changes: 5 additions & 5 deletions lang/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cs:
# 50
SINGULARNAME: "Blog - Příspěvky"
TS: "Štítky (odděleno čárkou)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Komentáře"
EDITTHIS: "Upravit příspěvek"
POSTEDBY: "Napsal"
Expand All @@ -38,7 +38,7 @@ cs:
SUCTAGS: "silverstripe, blog"
SUCTITLE: "Modul blog pro CMS SilverStripe byl úspěšně nainstalován"
TE: "Například: sport, osobní, sci-fi"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "Tento blog nemá žádné příspěvky."
VIEWINGTAGGED: "Zobrazeny příspěvky obsahující štítek"
BlogManagementWidget:
Expand All @@ -52,10 +52,10 @@ cs:
UNM3: "Máte 3 nemoderované komentáře"
UNM4: "Máte 4 nemoderované komentáře"
UNMM: "Máte %i nemoderovaných komentářů"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Odhlásit"
POSTNEW: "Vložit nový příspěvek"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Komentáře"
POSTEDBY: "Napsal"
POSTEDON: "v"
Expand All @@ -78,7 +78,7 @@ cs:
PLURALNAME: "Doplněk - Přihlásit k odběru RSS"
# 50
SINGULARNAME: "Doplněk - Přihlásit k odběru RSS"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Odebírat"
SUBSCRIBETITLE: "Přihlásit k odběru tohoto blogu pomocí RSS"
TagCloudWidget:
Expand Down
8 changes: 4 additions & 4 deletions lang/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ da:
CN: "Indhold"
DT: "Dato"
TS: "Tags (kommasep.)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Kommentarer"
EDITTHIS: "Rediger dette indlæg"
POSTEDBY: "Indsendt af"
Expand All @@ -26,17 +26,17 @@ da:
SUCTAGS: "Silverstripe, blog"
SUCTITLE: "SilverStripe Blog modul installeret succesfuldt"
TE: "F.eks. sport, personligt, science fiction"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "Der er ingen blog indlæg"
VIEWINGTAGGED: "Se indlæg tagged med"
BlogManagementWidget:
COMADM: "Kommentaradministration"
UNM1: "Du har 1 uvurderet kommentar"
UNMM: "Du har %i uvurderet kommentarer"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Log ud"
POSTNEW: "Send et nyt blog indlæg"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Kommentarer"
POSTEDON: "d. "
RSSWidget:
Expand Down
10 changes: 5 additions & 5 deletions lang/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ de:
PLURALNAME: "Blog-Einträge"
SINGULARNAME: "Blog-Eintrag"
TS: "Tags (Komma getrennt)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Kommentare"
EDITTHIS: "Eintrag bearbeiten"
POSTEDBY: "Eintrag von"
Expand All @@ -32,7 +32,7 @@ de:
SUCTAGS: "silverstripe, blog"
SUCTITLE: "SilverStripe Blog Module erfolgreich installiert"
TE: "Zum Beispiel: sport, musik, video"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "Es gibt keine Blog Einträge"
VIEWINGTAGGED: "Anzeige der Einträge mit Tag"
BlogManagementWidget:
Expand All @@ -41,10 +41,10 @@ de:
SINGULARNAME: "Blog-Verwaltungs-Widget"
UNM1: "Sie haben 1 noch nicht moderierten Kommentar"
UNMM: "Sie haben %i noch nicht moderierte Kommentare"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Logout"
POSTNEW: "Neuen Eintrag schreiben"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Kommentare"
POSTEDBY: "Verfasst von"
POSTEDON: "am"
Expand All @@ -58,7 +58,7 @@ de:
SubscribeRSSWidget:
PLURALNAME: "RSS-Abonnier-Widgets"
SINGULARNAME: "RSS-Abonnier-Widget"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Abonnieren"
SUBSCRIBETITLE: "Abonniere diesen Blog per RSS"
TagCloudWidget:
Expand Down
10 changes: 5 additions & 5 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ en:
# 50
SINGULARNAME: "Blog Entry"
TS: "Tags (comma sep.)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Comments"
EDITTHIS: "Edit this post"
POSTEDBY: "Posted by"
Expand All @@ -38,7 +38,7 @@ en:
SUCTAGS: "silverstripe, blog"
SUCTITLE: "SilverStripe blog module successfully installed"
TE: "For example: sport, personal, science fiction"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "There are no blog entries"
VIEWINGTAGGED: "Viewing entries tagged with"
BlogManagementWidget:
Expand All @@ -49,10 +49,10 @@ en:
SINGULARNAME: "Blog Management Widget"
UNM1: "You have 1 unmoderated comment"
UNMM: "You have %i unmoderated comments"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Logout"
POSTNEW: "Post a new blog entry"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Comments"
POSTEDBY: "Posted by"
POSTEDON: "on"
Expand All @@ -75,7 +75,7 @@ en:
PLURALNAME: "Subscribe R S S Widgets"
# 50
SINGULARNAME: "Subscribe R S S Widget"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Subscribe"
SUBSCRIBETITLE: "Subscribe to this blog via RSS"
TagCloudWidget:
Expand Down
10 changes: 5 additions & 5 deletions lang/en_GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ en_GB:
PLURALNAME: "Blog Entries"
SINGULARNAME: "Blog Entry"
TS: "Tags (comma sep.)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Comments"
EDITTHIS: "Edit this post"
POSTEDBY: "Posted by"
Expand All @@ -32,7 +32,7 @@ en_GB:
SUCTAGS: "silverstripe, blog"
SUCTITLE: "SilverStripe blog module successfully installed"
TE: "For example: sport, personal, science fiction"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "There are no blog entries"
VIEWINGTAGGED: "Viewing entries tagged with"
BlogManagementWidget:
Expand All @@ -41,10 +41,10 @@ en_GB:
SINGULARNAME: "Blog Management Widget"
UNM1: "You have 1 unmoderated comment"
UNMM: "You have %i unmoderated comments"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Logout"
POSTNEW: "Post a new blog entry"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Comments"
POSTEDBY: "Posted by"
POSTEDON: "on"
Expand All @@ -58,7 +58,7 @@ en_GB:
SubscribeRSSWidget:
PLURALNAME: "Subscript to RSS Widgets"
SINGULARNAME: "Subscript to an RSS Widget"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Subscribe"
SUBSCRIBETITLE: "Subscribe to this blog via RSS"
TagCloudWidget:
Expand Down
10 changes: 5 additions & 5 deletions lang/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ es:
PLURALNAME: "Entradas del Blog"
SINGULARNAME: "Entrada del Blog"
TS: "Etiquetas (separados por comas)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Comentarios"
EDITTHIS: "Editar esta entrada"
POSTEDBY: "Publicado por"
Expand All @@ -32,7 +32,7 @@ es:
SUCTAGS: "silverstripe, blog"
SUCTITLE: "El módulo de blog de SilverStripe ha sido instalado correctamente"
TE: "Por ejemplo: deporte, cine, tecnología"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "No hay entradas"
VIEWINGTAGGED: "Ver entrada etiquetadas como"
BlogManagementWidget:
Expand All @@ -41,10 +41,10 @@ es:
SINGULARNAME: "Widget de gestión del Blog"
UNM1: "Tienes 1 comentario sin moderar"
UNMM: "Tienes %i comentarios sin moderar"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Salir"
POSTNEW: "Escribir una nueva entrada del blog"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Comentarios"
POSTEDBY: "Publicado por"
POSTEDON: "en"
Expand All @@ -58,7 +58,7 @@ es:
SubscribeRSSWidget:
PLURALNAME: "Suscribir a Widgets RSS"
SINGULARNAME: "Suscribir a Widget RSS"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Suscribir"
SUBSCRIBETITLE: "Suscribirse a este blog vía RSS"
TagCloudWidget:
Expand Down
1 change: 0 additions & 1 deletion lang/es_419.yml

This file was deleted.

10 changes: 5 additions & 5 deletions lang/es_MX.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ es_MX:
PLURALNAME: "Entradas del Blog"
SINGULARNAME: "Entrada del BLog"
TS: "Etiquetas (separadas por coma)"
BlogEntry.ss:
BlogEntry_ss:
COMMENTS: "Comentarios"
EDITTHIS: "Editar este mensaje"
POSTEDBY: "Enviado por"
Expand All @@ -32,7 +32,7 @@ es_MX:
SUCTAGS: "bitácora, silverstripe"
SUCTITLE: "El Módulo bitácora Silverstripe se ha instalado satisfactoriamente."
TE: "Por ejemplo: deportes, personal. ciencia ficción"
BlogHolder.ss:
BlogHolder_ss:
NOENTRIES: "Bitácora vacía"
VIEWINGTAGGED: "Ver entradas etiquetadas con"
BlogManagementWidget:
Expand All @@ -41,10 +41,10 @@ es_MX:
SINGULARNAME: "Wisdget para la Gestion del Blog"
UNM1: "Tienes 1 comentario pendiente de moderación"
UNMM: "Tienes %i comentarios pendientes de moderación"
BlogManagementWidget.ss:
BlogManagementWidget_ss:
LOGOUT: "Salir"
POSTNEW: "Enviar nueva entrada a la bitácora"
BlogSummary.ss:
BlogSummary_ss:
COMMENTS: "Comentarios"
POSTEDBY: "Enviado por"
POSTEDON: "en"
Expand All @@ -58,7 +58,7 @@ es_MX:
SubscribeRSSWidget:
PLURALNAME: "Widgets para Suscripción R S S"
SINGULARNAME: "Widget para Suscrición R S S"
SubscribeRSSWidget.ss:
SubscribeRSSWidget_ss:
SUBSCRIBETEXT: "Suscribe"
SUBSCRIBETITLE: "Suscribirme a este blog vía RSS"
TagCloudWidget:
Expand Down
Loading

0 comments on commit c044f8c

Please sign in to comment.