Przeglądaj źródła

Fix language export variables (#1689)

* Fix naming of JS locale constants

* Improve the translation instructions re: const names
master
Matt Jankowski 7 lat temu
committed by Eugen
rodzic
commit
093879c177
3 zmienionych plików z 4 dodań i 3 usunięć
  1. +1
    -1
      app/assets/javascripts/components/locales/bg.jsx
  2. +2
    -2
      app/assets/javascripts/components/locales/de.jsx
  3. +1
    -0
      app/assets/javascripts/components/locales/en.jsx

+ 1
- 1
app/assets/javascripts/components/locales/bg.jsx Wyświetl plik

@@ -65,4 +65,4 @@ const bg = {
"notifications.column_settings.reblog": "Споделяния:",
};

export default en;
export default bg;

+ 2
- 2
app/assets/javascripts/components/locales/de.jsx Wyświetl plik

@@ -1,4 +1,4 @@
const en = {
const de = {
"column_back_button.label": "Zurück",
"lightbox.close": "Schließen",
"loading_indicator.label": "Lade…",
@@ -74,4 +74,4 @@ const en = {
"missing_indicator.label": "Nicht gefunden"
};

export default en;
export default de;

+ 1
- 0
app/assets/javascripts/components/locales/en.jsx Wyświetl plik

@@ -5,6 +5,7 @@
* 1. to add your new string here; and
* 2. to remove old strings that are no longer needed; and
* 3. to sort the strings by the key.
# 4. To rename the `en` const name and export default name to match your locale.
* Thanks!
*/
const en = {


Ładowanie…
Anuluj
Zapisz