mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Transifex translation support
This commit is contained in:
parent
8f57e21db8
commit
8e6be3f361
8
.tx/config
Normal file
8
.tx/config
Normal file
@ -0,0 +1,8 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[silverstripe-comments.master]
|
||||
file_filter = lang/<lang>.yml
|
||||
source_file = lang/en.yml
|
||||
source_lang = en
|
||||
type = YML
|
14
README.md
14
README.md
@ -26,3 +26,17 @@ See docs/en/Installing.md
|
||||
## Related
|
||||
|
||||
* [tractorcow/silverstripe-comments-notifications](https://github.com/tractorcow/silverstripe-comments-notifications): Comment admin email notifications module
|
||||
|
||||
## 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-comments/ to contribute translations,
|
||||
rather than sending pull requests with YAML files.
|
||||
|
||||
See the ["i18n" topic](http://doc.silverstripe.org/framework/en/trunk/topics/i18n) on doc.silverstripe.org for more details.
|
@ -24,7 +24,7 @@ de:
|
||||
WEBSITEURL: 'Website URL'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Benötigt Moderation'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'Sie können diese Seite nur kommentieren, wenn Sie eingeloggt sind'
|
||||
COMMENTPERMISSIONERROR: 'und die nötige Berechtigung besitzen'
|
||||
COMMENTPOSTLOGIN: 'Login'
|
||||
@ -37,9 +37,9 @@ de:
|
||||
PREV: zurück
|
||||
RSSFEEDALLCOMMENTS: 'RSS Feed für alle Kommentare'
|
||||
RSSFEEDCOMMENTS: 'RSS Feed für Kommentare auf dieser Seite'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Ihr Kommentar wurde gespeichert und wird durch einen Moderator freigeschaltet.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'Diesen Kommetar akzeptieren'
|
||||
ISNTSPAM: 'Dieser Kommentar ist kein Spam'
|
||||
ISSPAM: 'Dieser Kommentar ist Spam'
|
||||
|
@ -24,7 +24,7 @@ en:
|
||||
WEBSITEURL: 'Your website URL'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Needs Moderation'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'You cannot post comments until you have logged in'
|
||||
COMMENTPERMISSIONERROR: 'and that you have an appropriate permission level'
|
||||
COMMENTPOSTLOGIN: 'Login Here'
|
||||
@ -37,9 +37,9 @@ en:
|
||||
PREV: previous
|
||||
RSSFEEDALLCOMMENTS: 'RSS feed for all comments'
|
||||
RSSFEEDCOMMENTS: 'RSS feed for comments on this page'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Your comment has been submitted and is now awaiting moderation.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'approve this comment'
|
||||
ISNTSPAM: 'this comment is not spam'
|
||||
ISSPAM: 'this comment is spam'
|
||||
|
@ -24,7 +24,7 @@ fi:
|
||||
WEBSITEURL: 'WWW-sivustosi osoite'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Tarvitsee moderointia'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'Et voi kommentoida ennen kuin olet kirjautunut sisään'
|
||||
COMMENTPERMISSIONERROR: 'ja käyttöoikeustasosi on oltava riittävä'
|
||||
COMMENTPOSTLOGIN: 'Kirjaudu tästä'
|
||||
@ -37,9 +37,9 @@ fi:
|
||||
PREV: 'edellinen'
|
||||
RSSFEEDALLCOMMENTS: 'RSS-syöte kaikista kommenteista'
|
||||
RSSFEEDCOMMENTS: 'RSS-syöte tämän sivun kommenteista'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Kommenttisi on lähetetty ja on moderoitavana.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'hyväksy kommentti'
|
||||
ISNTSPAM: 'kommentti ei ole spämmiä'
|
||||
ISSPAM: 'kommentti on spämmiä'
|
||||
|
@ -24,7 +24,7 @@ lt:
|
||||
WEBSITEURL: 'Jūsų svetainės nuoroda'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Laukia patvirtinimo'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'Negalite rašyti komentarų neprisijungęs'
|
||||
COMMENTPERMISSIONERROR: 'ir neturėdamas atitinkamo teisių lygio'
|
||||
COMMENTPOSTLOGIN: 'Prisijungti čia'
|
||||
@ -37,9 +37,9 @@ lt:
|
||||
PREV: ankstesni
|
||||
RSSFEEDALLCOMMENTS: 'Visų komentarų RSS'
|
||||
RSSFEEDCOMMENTS: 'Šio puslapio komentarų RSS'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Jūsų komentaras išsiųstas ir laukia patvirtinimo.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'patvirtinti šį komentarą'
|
||||
ISNTSPAM: 'šis komentaras nėra šlamštas'
|
||||
ISSPAM: 'šis komentaras yra šlamštas'
|
||||
|
@ -28,7 +28,7 @@ nb:
|
||||
WEBSITEURL: 'Hjemmeside'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Trenger moderering'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'Du kan ikke skrive kommentarer før du har logget inn'
|
||||
COMMENTPERMISSIONERROR: 'og at du har et passende tilgangsnivå'
|
||||
COMMENTPOSTLOGIN: 'Logg inn her'
|
||||
@ -41,9 +41,9 @@ nb:
|
||||
PREV: forrige
|
||||
RSSFEEDALLCOMMENTS: 'RSS-feed for alle kommentarer'
|
||||
RSSFEEDCOMMENTS: 'RSS-feed for kommentarer på denne siden'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Kommentaren din har blitt lagret og er lagt i kø for moderering.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'Godta kommentar'
|
||||
ISNTSPAM: 'Kommentaren er ikke spam'
|
||||
ISSPAM: 'Merk som spam'
|
||||
|
@ -24,7 +24,7 @@ nl:
|
||||
WEBSITEURL: 'Website URL'
|
||||
CommentsAdmin:
|
||||
NeedsModeration: 'Wacht op moderatie'
|
||||
CommentsInterface.ss:
|
||||
CommentsInterface_ss:
|
||||
COMMENTLOGINERROR: 'Je moet ingelogd zijn om reacties te kunnen plaatsen'
|
||||
COMMENTPERMISSIONERROR: 'en controleer je gebruikersrechten'
|
||||
COMMENTPOSTLOGIN: 'Inloggen'
|
||||
@ -37,9 +37,9 @@ nl:
|
||||
PREV: vorige
|
||||
RSSFEEDALLCOMMENTS: 'RSS feed voor alle reacties'
|
||||
RSSFEEDCOMMENTS: 'RSS feed voor reacties op deze pagina'
|
||||
CommentsInterface_pendingcomment.ss:
|
||||
CommentsInterface_pendingcomment_ss:
|
||||
AWAITINGMODERATION: 'Je reactie is verstuurd en is in afwachting van moderatie.'
|
||||
CommentsInterface_singlecomment.ss:
|
||||
CommentsInterface_singlecomment_ss:
|
||||
APPROVE: 'reactie goedkeuren'
|
||||
ISNTSPAM: 'deze reactie is geen spam'
|
||||
ISSPAM: 'deze reactie is spam'
|
||||
|
@ -1,23 +1,23 @@
|
||||
<% if CommentsEnabled %>
|
||||
<div id="$CommentHolderID" class="comments-holder-container">
|
||||
<h4><% _t('POSTCOM','Post your comment') %></h4>
|
||||
<h4><% _t('CommentsInterface_ss.POSTCOM','Post your comment') %></h4>
|
||||
|
||||
<% if AddCommentForm %>
|
||||
<% if CanPost %>
|
||||
<% if ModeratedSubmitted %>
|
||||
<p id="$CommentHolderID_PostCommentForm_error" class="message good"><% _t('AWAITINGMODERATION', 'Your comment has been submitted and is now awaiting moderation.') %></p>
|
||||
<p id="$CommentHolderID_PostCommentForm_error" class="message good"><% _t('CommentsInterface_ss.AWAITINGMODERATION', 'Your comment has been submitted and is now awaiting moderation.') %></p>
|
||||
<% end_if %>
|
||||
$AddCommentForm
|
||||
<% else %>
|
||||
<p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %><% if PostingRequiresPermission %>,<% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
|
||||
<a href="Security/login?BackURL={$Parent.Link}" title="<% _t('LOGINTOPOSTCOMMENT', 'Login to post a comment') %>"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
||||
<p><% _t('CommentsInterface_ss.COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %><% if PostingRequiresPermission %>,<% _t('CommentsInterface_ss.COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
|
||||
<a href="Security/login?BackURL={$Parent.Link}" title="<% _t('CommentsInterface_ss.LOGINTOPOSTCOMMENT', 'Login to post a comment') %>"><% _t('CommentsInterface_ss.COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
||||
</p>
|
||||
<% end_if %>
|
||||
<% else %>
|
||||
<p><% _t('COMMENTSDISABLED', 'Posting comments has been disabled') %>.</p>
|
||||
<p><% _t('CommentsInterface_ss.COMMENTSDISABLED', 'Posting comments has been disabled') %>.</p>
|
||||
<% end_if %>
|
||||
|
||||
<h4><% _t('COMMENTS','Comments') %></h4>
|
||||
<h4><% _t('CommentsInterface_ss.COMMENTS','Comments') %></h4>
|
||||
|
||||
<div class="comments-holder">
|
||||
<% if Comments %>
|
||||
@ -33,7 +33,7 @@
|
||||
<div class="comments-pagination">
|
||||
<p>
|
||||
<% if Comments.PrevLink %>
|
||||
<a href="$Comments.PrevLink" class="previous">« <% _t('PREV','previous') %></a>
|
||||
<a href="$Comments.PrevLink" class="previous">« <% _t('CommentsInterface_ss.PREV','previous') %></a>
|
||||
<% end_if %>
|
||||
|
||||
<% if Comments.Pages %>
|
||||
@ -47,26 +47,26 @@
|
||||
<% end_if %>
|
||||
|
||||
<% if Comments.NextLink %>
|
||||
<a href="$Comments.NextLink" class="next"><% _t('NEXT','next') %> »</a>
|
||||
<a href="$Comments.NextLink" class="next"><% _t('CommentsInterface_ss.NEXT','next') %> »</a>
|
||||
<% end_if %>
|
||||
</p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
<% end_if %>
|
||||
|
||||
<p class="no-comments-yet"<% if $Comments.Count %> style='display: none' <% end_if %> ><% _t('NOCOMMENTSYET','No one has commented on this page yet.') %></p>
|
||||
<p class="no-comments-yet"<% if $Comments.Count %> style='display: none' <% end_if %> ><% _t('CommentsInterface_ss.NOCOMMENTSYET','No one has commented on this page yet.') %></p>
|
||||
|
||||
</div>
|
||||
|
||||
<% if DeleteAllLink %>
|
||||
<p class="delete-comments">
|
||||
<a href="$DeleteAllLink"><% _t('PageCommentInterface.DELETEALLCOMMENTS','Delete all comments on this page') %></a>
|
||||
<a href="$DeleteAllLink"><% _t('CommentsInterface_ss.PageCommentInterface.DELETEALLCOMMENTS','Delete all comments on this page') %></a>
|
||||
</p>
|
||||
<% end_if %>
|
||||
|
||||
<p class="commenting-rss-feed">
|
||||
<a href="$RssLinkPage"><% _t('RSSFEEDCOMMENTS', 'RSS feed for comments on this page') %></a> |
|
||||
<a href="$RssLink"><% _t('RSSFEEDALLCOMMENTS', 'RSS feed for all comments') %></a>
|
||||
<a href="$RssLinkPage"><% _t('CommentsInterface_ss.RSSFEEDCOMMENTS', 'RSS feed for comments on this page') %></a> |
|
||||
<a href="$RssLink"><% _t('CommentsInterface_ss.RSSFEEDALLCOMMENTS', 'RSS feed for all comments') %></a>
|
||||
</p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<div class="pending-comment">
|
||||
<p><% _t('AWAITINGMODERATION', 'Your comment has been submitted and is now awaiting moderation.') %></p>
|
||||
<p><% _t('CommentsInterface_pendingcomment_ss.AWAITINGMODERATION', 'Your comment has been submitted and is now awaiting moderation.') %></p>
|
||||
</div>
|
@ -6,25 +6,25 @@
|
||||
<% if not isPreview %>
|
||||
<p class="info">
|
||||
<% if $URL %>
|
||||
<% _t('PBY','Posted by') %> <a href="$URL.URL" rel="nofollow">$AuthorName.XML</a>, $Created.Nice ($Created.Ago)
|
||||
<% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> <a href="$URL.URL" rel="nofollow">$AuthorName.XML</a>, $Created.Nice ($Created.Ago)
|
||||
<% else %>
|
||||
<% _t('PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago)
|
||||
<% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago)
|
||||
<% end_if %>
|
||||
</p>
|
||||
|
||||
<% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink %>
|
||||
<ul class="action-links">
|
||||
<% if ApproveLink %>
|
||||
<li><a href="$ApproveLink.ATT" class="approve"><% _t('APPROVE', 'approve this comment') %></a></li>
|
||||
<li><a href="$ApproveLink.ATT" class="approve"><% _t('CommentsInterface_singlecomment_ss.APPROVE', 'approve this comment') %></a></li>
|
||||
<% end_if %>
|
||||
<% if SpamLink %>
|
||||
<li><a href="$SpamLink.ATT" class="spam"><% _t('ISSPAM','this comment is spam') %></a></li>
|
||||
<li><a href="$SpamLink.ATT" class="spam"><% _t('CommentsInterface_singlecomment_ss.ISSPAM','this comment is spam') %></a></li>
|
||||
<% end_if %>
|
||||
<% if HamLink %>
|
||||
<li><a href="$HamLink.ATT" class="ham"><% _t('ISNTSPAM','this comment is not spam') %></a></li>
|
||||
<li><a href="$HamLink.ATT" class="ham"><% _t('CommentsInterface_singlecomment_ss.ISNTSPAM','this comment is not spam') %></a></li>
|
||||
<% end_if %>
|
||||
<% if DeleteLink %>
|
||||
<li class="last"><a href="$DeleteLink.ATT" class="delete"><% _t('REMCOM','remove this comment') %></a></li>
|
||||
<li class="last"><a href="$DeleteLink.ATT" class="delete"><% _t('CommentsInterface_singlecomment_ss.REMCOM','remove this comment') %></a></li>
|
||||
<% end_if %>
|
||||
</ul>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user