From 5eab1907e2bede718e508af0a8dcae1bf902a9f3 Mon Sep 17 00:00:00 2001 From: Jonathon Toon Date: Sat, 31 Mar 2018 23:40:33 +0900 Subject: [PATCH 1/2] set default locale to english --- app/utils/LocaleManager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/LocaleManager.js b/app/utils/LocaleManager.js index a9d4f36..3bc59cb 100644 --- a/app/utils/LocaleManager.js +++ b/app/utils/LocaleManager.js @@ -1,7 +1,5 @@ import LocalizedStrings from 'react-localization'; -import spanish from '../localizations/es.json'; - import english from '../localizations/en.json'; import englishAU from '../localizations/en-AU.json'; import englishCA from '../localizations/en-CA.json'; @@ -10,6 +8,8 @@ import englishNZ from '../localizations/en-NZ.json'; import englishUS from '../localizations/en-US.json'; import englishZA from '../localizations/en-ZA.json'; +import spanish from '../localizations/es.json'; + import german from '../localizations/de.json'; import germanDE from '../localizations/de-DE.json'; import germanCH from '../localizations/de-CH.json'; @@ -34,7 +34,6 @@ import dutch from '../localizations/nl.json'; class LocaleManager { constructor() { return new LocalizedStrings({ - es: spanish, en: english, 'en-AU': englishAU, 'en-CA': englishCA, @@ -42,6 +41,7 @@ class LocaleManager { 'en-NZ': englishNZ, 'en-US': englishUS, 'en-ZA': englishZA, + es: spanish, de: german, 'de-DE': germanDE, 'de-CH': germanCH, From ab5e479a1186da763f5ee8bd3a56427fe0501f70 Mon Sep 17 00:00:00 2001 From: Jonathon Toon Date: Sat, 31 Mar 2018 23:41:23 +0900 Subject: [PATCH 2/2] bump package version --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index def283f..ac173cf 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "tweet-tray", "productName": "Tweet Tray", - "version": "1.1.1", + "version": "1.1.2", "description": "Tweet quickly from the desktop without any more distractions.", "main": "./main.prod.js", "author": { diff --git a/package.json b/package.json index 8ef430f..083f591 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "email": "jonathontoon@gmail.com", "url": "https://github.com/jonathontoon" }, - "version": "1.1.1", + "version": "1.1.2", "private": true, "scripts": { "build": "concurrently \"npm run build-main\" \"npm run build-renderer\"",