-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #879 from ix5/i18n-tr-consolidate
[client] i18n: Enable Turkish translations, add missing German strings
- Loading branch information
Showing
4 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
module.exports = { | ||
"postbox-text": "Kommentar hier eingeben (mindestens 3 Zeichen)", | ||
"postbox-author": "Name (optional)", | ||
"postbox-author-placeholder": "Max Mustermann", | ||
"postbox-email": "E-Mail (optional)", | ||
"postbox-email-placeholder": "[email protected]", | ||
"postbox-website": "Website (optional)", | ||
"postbox-website-placeholder": "https://beispiel.de", | ||
"postbox-preview": "Vorschau", | ||
"postbox-edit": "Bearbeiten", | ||
"postbox-submit": "Abschicken", | ||
"postbox-notification": "wenn auf meinen Kommentar geantwortet wird, möchte ich eine E-Mail bekommen", | ||
|
||
"num-comments": "1 Kommentar\n{{ n }} Kommentare", | ||
"no-comments": "Bisher keine Kommentare", | ||
"atom-feed": "Atom-feed", | ||
|
||
"comment-reply": "Antworten", | ||
"comment-edit": "Bearbeiten", | ||
"comment-save": "Speichern", | ||
|
@@ -20,6 +26,8 @@ module.exports = { | |
"comment-queued": "Kommentar muss noch freigeschaltet werden.", | ||
"comment-anonymous": "Anonym", | ||
"comment-hidden": "{{ n }} versteckt", | ||
"comment-page-author-suffix": "Autor", | ||
|
||
"date-now": "eben gerade", | ||
"date-minute": "vor einer Minute\nvor {{ n }} Minuten", | ||
"date-hour": "vor einer Stunde\nvor {{ n }} Stunden", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ test('"(optional)" labels in Postox vanish if require-author/-email set', () => | |
'<div id=isso-thread></div>' + | ||
'<script src="http://isso.api/js/embed.min.js"' | ||
+ 'data-isso="/"' | ||
+ 'data-isso-lang="de"' // falls back to "en" for placeholders | ||
+ 'data-isso-lang="de"' | ||
+ '></script>'; | ||
|
||
const isso = require("app/isso"); | ||
|
@@ -39,8 +39,8 @@ test('"(optional)" labels in Postox vanish if require-author/-email set', () => | |
isso_thread.append('<div id="isso-root"></div>'); | ||
isso_thread.append(new isso.Postbox(null)); | ||
|
||
expect($("#isso-postbox-author").placeholder).toBe('John Doe'); | ||
expect($("#isso-postbox-email").placeholder).toBe('[email protected]'); | ||
expect($("#isso-postbox-author").placeholder).toBe('Max Mustermann'); | ||
expect($("#isso-postbox-email").placeholder).toBe('[email protected]'); | ||
// Instead of "Name (optional)" | ||
expect($("[for='isso-postbox-author']").textContent).toBe('Name'); | ||
// Instead of "E-mail (optional)" | ||
|