diff options
author | 2021-08-11 22:32:58 +0530 | |
---|---|---|
committer | 2021-08-11 22:32:58 +0530 | |
commit | 3405e22bf2bcddef2de0d59453c978fd1ea03836 (patch) | |
tree | 4e74b051ce53000d88960484a7d9112a662a26af /src/i18n | |
parent | refactor: removed legacy properties from recipes (diff) | |
download | ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.tar.gz ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.tar.zst ferdium-app-3405e22bf2bcddef2de0d59453c978fd1ea03836.zip |
feat: allow the user to enable/disable dark mode
(from the sidebar context menu)
Diffstat (limited to 'src/i18n')
-rw-r--r-- | src/i18n/locales/defaultMessages.json | 50 | ||||
-rw-r--r-- | src/i18n/locales/en-US.json | 2 | ||||
-rw-r--r-- | src/i18n/messages/src/components/services/tabs/TabItem.json | 50 |
3 files changed, 78 insertions, 24 deletions
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index 4279ba079..683ec4628 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -1771,81 +1771,107 @@ | |||
1771 | } | 1771 | } |
1772 | }, | 1772 | }, |
1773 | { | 1773 | { |
1774 | "defaultMessage": "!!!Disable Service", | 1774 | "defaultMessage": "!!!Enable Dark mode", |
1775 | "end": { | 1775 | "end": { |
1776 | "column": 3, | 1776 | "column": 3, |
1777 | "line": 47 | 1777 | "line": 47 |
1778 | }, | 1778 | }, |
1779 | "file": "src/components/services/tabs/TabItem.js", | 1779 | "file": "src/components/services/tabs/TabItem.js", |
1780 | "id": "tabs.item.disableService", | 1780 | "id": "tabs.item.enableDarkMode", |
1781 | "start": { | 1781 | "start": { |
1782 | "column": 18, | 1782 | "column": 18, |
1783 | "line": 44 | 1783 | "line": 44 |
1784 | } | 1784 | } |
1785 | }, | 1785 | }, |
1786 | { | 1786 | { |
1787 | "defaultMessage": "!!!Enable Service", | 1787 | "defaultMessage": "!!!Disable Dark mode", |
1788 | "end": { | 1788 | "end": { |
1789 | "column": 3, | 1789 | "column": 3, |
1790 | "line": 51 | 1790 | "line": 51 |
1791 | }, | 1791 | }, |
1792 | "file": "src/components/services/tabs/TabItem.js", | 1792 | "file": "src/components/services/tabs/TabItem.js", |
1793 | "id": "tabs.item.disableDarkMode", | ||
1794 | "start": { | ||
1795 | "column": 19, | ||
1796 | "line": 48 | ||
1797 | } | ||
1798 | }, | ||
1799 | { | ||
1800 | "defaultMessage": "!!!Disable Service", | ||
1801 | "end": { | ||
1802 | "column": 3, | ||
1803 | "line": 55 | ||
1804 | }, | ||
1805 | "file": "src/components/services/tabs/TabItem.js", | ||
1806 | "id": "tabs.item.disableService", | ||
1807 | "start": { | ||
1808 | "column": 18, | ||
1809 | "line": 52 | ||
1810 | } | ||
1811 | }, | ||
1812 | { | ||
1813 | "defaultMessage": "!!!Enable Service", | ||
1814 | "end": { | ||
1815 | "column": 3, | ||
1816 | "line": 59 | ||
1817 | }, | ||
1818 | "file": "src/components/services/tabs/TabItem.js", | ||
1793 | "id": "tabs.item.enableService", | 1819 | "id": "tabs.item.enableService", |
1794 | "start": { | 1820 | "start": { |
1795 | "column": 17, | 1821 | "column": 17, |
1796 | "line": 48 | 1822 | "line": 56 |
1797 | } | 1823 | } |
1798 | }, | 1824 | }, |
1799 | { | 1825 | { |
1800 | "defaultMessage": "!!!Hibernate Service", | 1826 | "defaultMessage": "!!!Hibernate Service", |
1801 | "end": { | 1827 | "end": { |
1802 | "column": 3, | 1828 | "column": 3, |
1803 | "line": 55 | 1829 | "line": 63 |
1804 | }, | 1830 | }, |
1805 | "file": "src/components/services/tabs/TabItem.js", | 1831 | "file": "src/components/services/tabs/TabItem.js", |
1806 | "id": "tabs.item.hibernateService", | 1832 | "id": "tabs.item.hibernateService", |
1807 | "start": { | 1833 | "start": { |
1808 | "column": 20, | 1834 | "column": 20, |
1809 | "line": 52 | 1835 | "line": 60 |
1810 | } | 1836 | } |
1811 | }, | 1837 | }, |
1812 | { | 1838 | { |
1813 | "defaultMessage": "!!!Wake Up Service", | 1839 | "defaultMessage": "!!!Wake Up Service", |
1814 | "end": { | 1840 | "end": { |
1815 | "column": 3, | 1841 | "column": 3, |
1816 | "line": 59 | 1842 | "line": 67 |
1817 | }, | 1843 | }, |
1818 | "file": "src/components/services/tabs/TabItem.js", | 1844 | "file": "src/components/services/tabs/TabItem.js", |
1819 | "id": "tabs.item.wakeUpService", | 1845 | "id": "tabs.item.wakeUpService", |
1820 | "start": { | 1846 | "start": { |
1821 | "column": 17, | 1847 | "column": 17, |
1822 | "line": 56 | 1848 | "line": 64 |
1823 | } | 1849 | } |
1824 | }, | 1850 | }, |
1825 | { | 1851 | { |
1826 | "defaultMessage": "!!!Delete Service", | 1852 | "defaultMessage": "!!!Delete Service", |
1827 | "end": { | 1853 | "end": { |
1828 | "column": 3, | 1854 | "column": 3, |
1829 | "line": 63 | 1855 | "line": 71 |
1830 | }, | 1856 | }, |
1831 | "file": "src/components/services/tabs/TabItem.js", | 1857 | "file": "src/components/services/tabs/TabItem.js", |
1832 | "id": "tabs.item.deleteService", | 1858 | "id": "tabs.item.deleteService", |
1833 | "start": { | 1859 | "start": { |
1834 | "column": 17, | 1860 | "column": 17, |
1835 | "line": 60 | 1861 | "line": 68 |
1836 | } | 1862 | } |
1837 | }, | 1863 | }, |
1838 | { | 1864 | { |
1839 | "defaultMessage": "!!!Do you really want to delete the {serviceName} service?", | 1865 | "defaultMessage": "!!!Do you really want to delete the {serviceName} service?", |
1840 | "end": { | 1866 | "end": { |
1841 | "column": 3, | 1867 | "column": 3, |
1842 | "line": 68 | 1868 | "line": 76 |
1843 | }, | 1869 | }, |
1844 | "file": "src/components/services/tabs/TabItem.js", | 1870 | "file": "src/components/services/tabs/TabItem.js", |
1845 | "id": "tabs.item.confirmDeleteService", | 1871 | "id": "tabs.item.confirmDeleteService", |
1846 | "start": { | 1872 | "start": { |
1847 | "column": 24, | 1873 | "column": 24, |
1848 | "line": 64 | 1874 | "line": 72 |
1849 | } | 1875 | } |
1850 | } | 1876 | } |
1851 | ], | 1877 | ], |
diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index 1705d20e8..002ea5655 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json | |||
@@ -434,10 +434,12 @@ | |||
434 | "tabs.item.confirmDeleteService": "Do you really want to delete the {serviceName} service?", | 434 | "tabs.item.confirmDeleteService": "Do you really want to delete the {serviceName} service?", |
435 | "tabs.item.deleteService": "Delete service", | 435 | "tabs.item.deleteService": "Delete service", |
436 | "tabs.item.disableAudio": "Disable audio", | 436 | "tabs.item.disableAudio": "Disable audio", |
437 | "tabs.item.disableDarkMode": "Disable Dark mode", | ||
437 | "tabs.item.disableNotifications": "Disable notifications", | 438 | "tabs.item.disableNotifications": "Disable notifications", |
438 | "tabs.item.disableService": "Disable service", | 439 | "tabs.item.disableService": "Disable service", |
439 | "tabs.item.edit": "Edit", | 440 | "tabs.item.edit": "Edit", |
440 | "tabs.item.enableAudio": "Enable audio", | 441 | "tabs.item.enableAudio": "Enable audio", |
442 | "tabs.item.enableDarkMode": "Enable Dark mode", | ||
441 | "tabs.item.enableNotification": "Enable notifications", | 443 | "tabs.item.enableNotification": "Enable notifications", |
442 | "tabs.item.enableService": "Enable service", | 444 | "tabs.item.enableService": "Enable service", |
443 | "tabs.item.hibernateService": "Hibernate service", | 445 | "tabs.item.hibernateService": "Hibernate service", |
diff --git a/src/i18n/messages/src/components/services/tabs/TabItem.json b/src/i18n/messages/src/components/services/tabs/TabItem.json index 60cfde52d..92ff6fb14 100644 --- a/src/i18n/messages/src/components/services/tabs/TabItem.json +++ b/src/i18n/messages/src/components/services/tabs/TabItem.json | |||
@@ -78,8 +78,8 @@ | |||
78 | } | 78 | } |
79 | }, | 79 | }, |
80 | { | 80 | { |
81 | "id": "tabs.item.disableService", | 81 | "id": "tabs.item.enableDarkMode", |
82 | "defaultMessage": "!!!Disable Service", | 82 | "defaultMessage": "!!!Enable Dark mode", |
83 | "file": "src/components/services/tabs/TabItem.js", | 83 | "file": "src/components/services/tabs/TabItem.js", |
84 | "start": { | 84 | "start": { |
85 | "line": 44, | 85 | "line": 44, |
@@ -91,15 +91,41 @@ | |||
91 | } | 91 | } |
92 | }, | 92 | }, |
93 | { | 93 | { |
94 | "id": "tabs.item.disableDarkMode", | ||
95 | "defaultMessage": "!!!Disable Dark mode", | ||
96 | "file": "src/components/services/tabs/TabItem.js", | ||
97 | "start": { | ||
98 | "line": 48, | ||
99 | "column": 19 | ||
100 | }, | ||
101 | "end": { | ||
102 | "line": 51, | ||
103 | "column": 3 | ||
104 | } | ||
105 | }, | ||
106 | { | ||
107 | "id": "tabs.item.disableService", | ||
108 | "defaultMessage": "!!!Disable Service", | ||
109 | "file": "src/components/services/tabs/TabItem.js", | ||
110 | "start": { | ||
111 | "line": 52, | ||
112 | "column": 18 | ||
113 | }, | ||
114 | "end": { | ||
115 | "line": 55, | ||
116 | "column": 3 | ||
117 | } | ||
118 | }, | ||
119 | { | ||
94 | "id": "tabs.item.enableService", | 120 | "id": "tabs.item.enableService", |
95 | "defaultMessage": "!!!Enable Service", | 121 | "defaultMessage": "!!!Enable Service", |
96 | "file": "src/components/services/tabs/TabItem.js", | 122 | "file": "src/components/services/tabs/TabItem.js", |
97 | "start": { | 123 | "start": { |
98 | "line": 48, | 124 | "line": 56, |
99 | "column": 17 | 125 | "column": 17 |
100 | }, | 126 | }, |
101 | "end": { | 127 | "end": { |
102 | "line": 51, | 128 | "line": 59, |
103 | "column": 3 | 129 | "column": 3 |
104 | } | 130 | } |
105 | }, | 131 | }, |
@@ -108,11 +134,11 @@ | |||
108 | "defaultMessage": "!!!Hibernate Service", | 134 | "defaultMessage": "!!!Hibernate Service", |
109 | "file": "src/components/services/tabs/TabItem.js", | 135 | "file": "src/components/services/tabs/TabItem.js", |
110 | "start": { | 136 | "start": { |
111 | "line": 52, | 137 | "line": 60, |
112 | "column": 20 | 138 | "column": 20 |
113 | }, | 139 | }, |
114 | "end": { | 140 | "end": { |
115 | "line": 55, | 141 | "line": 63, |
116 | "column": 3 | 142 | "column": 3 |
117 | } | 143 | } |
118 | }, | 144 | }, |
@@ -121,11 +147,11 @@ | |||
121 | "defaultMessage": "!!!Wake Up Service", | 147 | "defaultMessage": "!!!Wake Up Service", |
122 | "file": "src/components/services/tabs/TabItem.js", | 148 | "file": "src/components/services/tabs/TabItem.js", |
123 | "start": { | 149 | "start": { |
124 | "line": 56, | 150 | "line": 64, |
125 | "column": 17 | 151 | "column": 17 |
126 | }, | 152 | }, |
127 | "end": { | 153 | "end": { |
128 | "line": 59, | 154 | "line": 67, |
129 | "column": 3 | 155 | "column": 3 |
130 | } | 156 | } |
131 | }, | 157 | }, |
@@ -134,11 +160,11 @@ | |||
134 | "defaultMessage": "!!!Delete Service", | 160 | "defaultMessage": "!!!Delete Service", |
135 | "file": "src/components/services/tabs/TabItem.js", | 161 | "file": "src/components/services/tabs/TabItem.js", |
136 | "start": { | 162 | "start": { |
137 | "line": 60, | 163 | "line": 68, |
138 | "column": 17 | 164 | "column": 17 |
139 | }, | 165 | }, |
140 | "end": { | 166 | "end": { |
141 | "line": 63, | 167 | "line": 71, |
142 | "column": 3 | 168 | "column": 3 |
143 | } | 169 | } |
144 | }, | 170 | }, |
@@ -147,11 +173,11 @@ | |||
147 | "defaultMessage": "!!!Do you really want to delete the {serviceName} service?", | 173 | "defaultMessage": "!!!Do you really want to delete the {serviceName} service?", |
148 | "file": "src/components/services/tabs/TabItem.js", | 174 | "file": "src/components/services/tabs/TabItem.js", |
149 | "start": { | 175 | "start": { |
150 | "line": 64, | 176 | "line": 72, |
151 | "column": 24 | 177 | "column": 24 |
152 | }, | 178 | }, |
153 | "end": { | 179 | "end": { |
154 | "line": 68, | 180 | "line": 76, |
155 | "column": 3 | 181 | "column": 3 |
156 | } | 182 | } |
157 | } | 183 | } |