File tree Expand file tree Collapse file tree 14 files changed +67
-14
lines changed Expand file tree Collapse file tree 14 files changed +67
-14
lines changed Original file line number Diff line number Diff line change 11const en = require ( './en.json' ) ;
22const es = require ( './es.json' ) ;
3+ const de = require ( './de.json' ) ;
4+ const fr = require ( './fr.json' ) ;
5+ const ru = require ( './ru.json' ) ;
36const mySettings = require ( './../Settings' ) ;
47
58const languageSettings = {
@@ -16,6 +19,18 @@ const languageSettings = {
1619 this . currentLanguage = 'es' ;
1720 this . strings = es ;
1821 return ;
22+ case 'de' :
23+ this . currentLanguage = 'de' ;
24+ this . strings = de ;
25+ return ;
26+ case 'fr' :
27+ this . currentLanguage = 'fr' ;
28+ this . strings = fr ;
29+ return ;
30+ case 'ru' :
31+ this . currentLanguage = 'ru' ;
32+ this . strings = ru ;
33+ return ;
1934 default :
2035 this . currentLanguage = 'en' ;
2136 this . strings = en ;
Original file line number Diff line number Diff line change @@ -177,14 +177,14 @@ TABLE OF CONTENTS
177177
178178@font-face {
179179 font-family : " Roboto" ;
180- src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Thin .ttf ) format (" truetype" );
180+ src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Regular .ttf ) format (" truetype" );
181181 font-weight : normal ;
182182 font-style : normal ;
183183}
184184
185185@font-face {
186186 font-family : " Roboto" ;
187- src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-ThinItalic .ttf ) format (" truetype" );
187+ src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Italic .ttf ) format (" truetype" );
188188 font-weight : normal ;
189189 font-style : italic ;
190190}
Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ import LocalizedStrings from 'react-localization';
22import { mySettings } from '../utils/electronInterface' ;
33import en from './en.json' ;
44import es from './es.json' ;
5+ import de from './de.json' ;
6+ import fr from './fr.json' ;
7+ import ru from './ru.json' ;
58
69const string = new LocalizedStrings ( {
710 en,
8- es
11+ es,
12+ de,
13+ fr,
14+ ru
915} ) ;
1016
1117string . setLanguage ( mySettings . language ) ;
Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ import LocalizedStrings from 'react-localization';
22import { mySettings } from '../utils/electronInterface' ;
33import en from './en.json' ;
44import es from './es.json' ;
5+ import de from './de.json' ;
6+ import fr from './fr.json' ;
7+ import ru from './ru.json' ;
58
69const string = new LocalizedStrings ( {
710 en,
8- es
11+ es,
12+ de,
13+ fr,
14+ ru
915} ) ;
1016
1117string . setLanguage ( mySettings . language ) ;
Original file line number Diff line number Diff line change @@ -2,10 +2,16 @@ import LocalizedStrings from 'react-localization';
22import { mySettings } from '../utils/electronInterface.js' ;
33import en from './en.json' ;
44import es from './es.json' ;
5+ import de from './de.json' ;
6+ import fr from './fr.json' ;
7+ import ru from './ru.json' ;
58
69const string = new LocalizedStrings ( {
710 en,
8- es
11+ es,
12+ de,
13+ fr,
14+ ru
915} ) ;
1016
1117string . setLanguage ( mySettings . language ) ;
Original file line number Diff line number Diff line change @@ -181,14 +181,14 @@ TABLE OF CONTENTS
181181
182182@font-face {
183183 font-family : " Roboto" ;
184- src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Thin .ttf ) format (" truetype" );
184+ src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Regular .ttf ) format (" truetype" );
185185 font-weight : normal ;
186186 font-style : normal ;
187187}
188188
189189@font-face {
190190 font-family : " Roboto" ;
191- src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-ThinItalic .ttf ) format (" truetype" );
191+ src :url (#{$_PATH_TO_FONTS } / roboto/Roboto-Italic .ttf ) format (" truetype" );
192192 font-weight : normal ;
193193 font-style : italic ;
194194}
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ class ActivityPanel extends Component {
108108 < div className = "empty-container empty-activity-container" >
109109 < div className = "empty-content" >
110110 < div className = "empty-icon" />
111- < div className = "header-text" > There's nothing new yet </ div >
112- < div className = "subheader-text" > Enjoy your day </ div >
111+ < div className = "header-text" > { string . activity . empty_title } </ div >
112+ < div className = "subheader-text" > { string . activity . empty_message } </ div >
113113 </ div >
114114 </ div >
115115 ) ;
Original file line number Diff line number Diff line change 11li {
22 & .nav-item-label-add {
33 color : #0091ff ;
4+ white-space : nowrap ;
45
56 div {
67 align-items : center ;
Original file line number Diff line number Diff line change 33 "activity_feed" : " Aktivitäten-Feed" ,
44 "deleted" : " Gelöscht" ,
55 "downloaded" : " heruntergeladen" ,
6+ "empty_message" : " Genießt dein Tag" ,
7+ "empty_title" : " Bis jetzt nichts neues" ,
68 "new" : " neu" ,
79 "older" : " älter" ,
810 "opened" : " geöffnet" ,
677679 "show_in_label_list" : " In der Labelliste anzeigen" ,
678680 "signature" : " Unterschrift" ,
679681 "sign_footer" : {
680- "description" : " Fußzeile \" Gesendet mit Criptext\" anzeigen"
682+ "description" : " \" Gesendet mit Criptext\" anzeigen"
681683 },
682684 "system_labels" : " Systemlabels" ,
683685 "theme" : {
Original file line number Diff line number Diff line change 33 "activity_feed" : " Activity Feed" ,
44 "deleted" : " Deleted" ,
55 "downloaded" : " downloaded" ,
6+ "empty_message" : " Enjoy your day" ,
7+ "empty_title" : " There's nothing new yet" ,
68 "new" : " new" ,
79 "older" : " older" ,
810 "opened" : " opened" ,
You can’t perform that action at this time.
0 commit comments