Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit 5ccc820

Browse files
authored
Merge pull request #150 from jonathontoon/develop
Develop
2 parents f7fa8bb + 042d2c7 commit 5ccc820

File tree

3 files changed

+107
-0
lines changed

3 files changed

+107
-0
lines changed

app/localizations/en.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"post_status_success": {
3+
"title": "Your Tweet was posted!",
4+
"description": "Click here to view it."
5+
},
6+
"post_status_error": {
7+
"title": "Sorry, an error occurred!",
8+
"description": "Your Tweet was unable to be sent."
9+
},
10+
"login": {
11+
"title_taskbar": "Send tweets quickly from your desktop taskbar, without any distractions.",
12+
"title_menubar": "Send tweets quickly from your desktop menubar, without any distractions.",
13+
"log_in_button": "Log In with Twitter",
14+
"quit_button": "Quit Tweet Tray"
15+
},
16+
"authorization_code": {
17+
"title": "Finish up by entering the 7 digit authorization PIN shown in the pop up window.",
18+
"authorize_button": "Authorize my Account",
19+
"return_button": "Return to Log In"
20+
},
21+
"authorization_error": {
22+
"title": "Sorry, an error occurred!",
23+
"description": "Your account could not be authorized."
24+
},
25+
"composer": {
26+
"title": "Compose Tweet",
27+
"placeholder": "What's happening?",
28+
"settings_alt_text": "Open Settings",
29+
"image_alt_text": "Add an Image",
30+
"tweet_button": "Tweet"
31+
},
32+
"image_dialog": {
33+
"title": "Select an Image",
34+
"add_button": "Add",
35+
"file_type": "Images",
36+
"warning_title": "Warning",
37+
"warning_message": "Sorry, you can't do that",
38+
"warning_detail_images": "Images must be less than 5mb.",
39+
"warning_detail_gif": "GIFs must be less than 10mb.",
40+
"warning_confirm_button": "OK"
41+
},
42+
"settings": {
43+
"title": "Settings",
44+
"night_mode_action": "Night Mode",
45+
"launch_start_up_action": "Launch at System Start",
46+
"read_faq_action": "Read FAQ",
47+
"report_issue_action": "Report an Issue",
48+
"quit_action": "Quit Tweet Tray",
49+
"log_out_action": "Log Out"
50+
}
51+
}

app/localizations/nl.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"post_status_success": {
3+
"title": "Je Tweet is gepost!",
4+
"description": "Klik hier om hem te bekijken."
5+
},
6+
"post_status_error": {
7+
"title": "Sorry, er is iets misgegaan!",
8+
"description": "Je Tweet kon niet worden verzonden."
9+
},
10+
"login": {
11+
"title_taskbar": "Verstuur tweets vanaf je taakbalk, zonder enige afleiding.",
12+
"title_menubar": "Verstuur tweets vanaf je menubalk, zonder enige afleiding.",
13+
"log_in_button": "Inloggen met Twitter",
14+
"quit_button": "Sluit Tweet Tray af"
15+
},
16+
"authorization_code": {
17+
"title": "Neem nu de zeven-cijferige autorisatiecode over in het pop-upvenster.",
18+
"authorize_button": "Autoriseer mijn Account",
19+
"return_button": "Ga terug naar Inloggen"
20+
},
21+
"authorization_error": {
22+
"title": "Sorry, er is iets misgegaan!",
23+
"description": "Je account kon niet worden geautoriseerd."
24+
},
25+
"composer": {
26+
"title": "Schrijf Tweet",
27+
"placeholder": "Wat wil je kwijt?",
28+
"settings_alt_text": "Open Instellingen",
29+
"image_alt_text": "Voeg een afbeelding toe",
30+
"tweet_button": "Tweet"
31+
},
32+
"image_dialog": {
33+
"title": "Selecteer een afbeelding",
34+
"add_button": "Voeg toe",
35+
"file_type": "Afbeeldingen",
36+
"warning_title": "Waarschuwing",
37+
"warning_message": "Sorry, dat kan je niet doen",
38+
"warning_detail_images": "Afbeeldingen moeten kleiner zijn dan 5mb.",
39+
"warning_detail_gif": "GIFs moeten kleiner zijn dan 10mb.",
40+
"warning_confirm_button": "OK"
41+
},
42+
"settings": {
43+
"title": "Instellingen",
44+
"night_mode_action": "Nachtmodus",
45+
"launch_start_up_action": "Start applicatie bij opstarten PC",
46+
"read_faq_action": "Lees FAQ",
47+
"report_issue_action": "Meld een probleem",
48+
"quit_action": "Sluit Tweet Tray af",
49+
"log_out_action": "Uitloggen"
50+
}
51+
}

app/utils/LocaleManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import LocalizedStrings from 'react-localization';
22

3+
import english from '../localizations/en.json';
34
import englishAU from '../localizations/en-AU.json';
45
import englishCA from '../localizations/en-CA.json';
56
import englishGB from '../localizations/en-GB.json';
@@ -26,10 +27,13 @@ import frenchFR from '../localizations/fr-FR.json';
2627

2728
import japanese from '../localizations/ja.json';
2829

30+
import dutch from '../localizations/nl.json';
31+
2932

3033
class LocaleManager {
3134
constructor() {
3235
return new LocalizedStrings({
36+
en: english,
3337
'en-AU': englishAU,
3438
'en-CA': englishCA,
3539
'en-GB': englishGB,
@@ -46,6 +50,7 @@ class LocaleManager {
4650
'fr-FR': frenchFR,
4751
ko: korean,
4852
sv: swedish,
53+
nl: dutch,
4954
zh: chinese,
5055
'zh-CN': chineseCN,
5156
'zh-TW': chineseTW,

0 commit comments

Comments
 (0)