diff options
author | 2021-09-18 11:15:25 +0200 | |
---|---|---|
committer | 2021-09-18 11:15:25 +0200 | |
commit | d4101a48b3eee8b1fb177831aa02a4b4fbec2588 (patch) | |
tree | c92f2fbe91197fde8589207463d0d6526b4ff76b /src/i18n/globalMessages.ts | |
parent | 5.6.3-nightly.6 [skip ci] (diff) | |
download | ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.gz ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.zst ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.zip |
chore: convert various files from JS to TS (#1959)
Diffstat (limited to 'src/i18n/globalMessages.ts')
-rw-r--r-- | src/i18n/globalMessages.ts | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/src/i18n/globalMessages.ts b/src/i18n/globalMessages.ts new file mode 100644 index 000000000..8e1df10f7 --- /dev/null +++ b/src/i18n/globalMessages.ts | |||
@@ -0,0 +1,77 @@ | |||
1 | import { defineMessages } from 'react-intl'; | ||
2 | |||
3 | export default defineMessages({ | ||
4 | APIUnhealthy: { | ||
5 | id: 'global.api.unhealthy', | ||
6 | defaultMessage: "Can't connect to Ferdi online services", | ||
7 | }, | ||
8 | notConnectedToTheInternet: { | ||
9 | id: 'global.notConnectedToTheInternet', | ||
10 | defaultMessage: 'You are not connected to the internet.', | ||
11 | }, | ||
12 | spellcheckerLanguage: { | ||
13 | id: 'global.spellchecking.language', | ||
14 | defaultMessage: 'Spell checking language', | ||
15 | }, | ||
16 | spellcheckerSystemDefault: { | ||
17 | id: 'global.spellchecker.useDefault', | ||
18 | defaultMessage: 'Use System Default ({default})', | ||
19 | }, | ||
20 | spellcheckerAutomaticDetection: { | ||
21 | id: 'global.spellchecking.autodetect', | ||
22 | defaultMessage: 'Detect language automatically', | ||
23 | }, | ||
24 | spellcheckerAutomaticDetectionShort: { | ||
25 | id: 'global.spellchecking.autodetect.short', | ||
26 | defaultMessage: 'Automatic', | ||
27 | }, | ||
28 | userAgentPref: { | ||
29 | id: 'global.userAgentPref', | ||
30 | defaultMessage: 'User Agent', | ||
31 | }, | ||
32 | userAgentHelp: { | ||
33 | id: 'global.userAgentHelp', | ||
34 | defaultMessage: | ||
35 | "Use 'https://whatmyuseragent.com/' (to discover) or 'https://developers.whatismybrowser.com/useragents/explore/' (to choose) your desired user agent and copy-paste it here.", | ||
36 | }, | ||
37 | yes: { | ||
38 | id: 'global.yes', | ||
39 | defaultMessage: 'Yes', | ||
40 | }, | ||
41 | no: { | ||
42 | id: 'global.no', | ||
43 | defaultMessage: 'No', | ||
44 | }, | ||
45 | ok: { | ||
46 | id: 'global.ok', | ||
47 | defaultMessage: 'Ok', | ||
48 | }, | ||
49 | cancel: { | ||
50 | id: 'global.cancel', | ||
51 | defaultMessage: 'Cancel', | ||
52 | }, | ||
53 | save: { | ||
54 | id: 'global.save', | ||
55 | defaultMessage: 'Save', | ||
56 | }, | ||
57 | submit: { | ||
58 | id: 'global.submit', | ||
59 | defaultMessage: 'Submit', | ||
60 | }, | ||
61 | quit: { | ||
62 | id: 'global.quit', | ||
63 | defaultMessage: 'Quit', | ||
64 | }, | ||
65 | quitConfirmation: { | ||
66 | id: 'global.quitConfirmation', | ||
67 | defaultMessage: 'Do you really want to quit Ferdi?', | ||
68 | }, | ||
69 | settings: { | ||
70 | id: 'global.settings', | ||
71 | defaultMessage: 'Settings', | ||
72 | }, | ||
73 | edit: { | ||
74 | id: 'global.edit', | ||
75 | defaultMessage: 'Edit', | ||
76 | }, | ||
77 | }); | ||