Browse Source

Add final newline to locale files (#2890)

Yamagishi Kazutoshi 2 years ago
parent
commit
3bdcf5d8f0
54 changed files with 219 additions and 219 deletions
  1. 0 4
      .editorconfig
  2. 1 1
      app/javascript/mastodon/locales/bg.json
  3. 1 1
      app/javascript/mastodon/locales/de.json
  4. 1 1
      app/javascript/mastodon/locales/en.json
  5. 1 1
      app/javascript/mastodon/locales/eo.json
  6. 1 1
      app/javascript/mastodon/locales/es.json
  7. 1 1
      app/javascript/mastodon/locales/fa.json
  8. 1 1
      app/javascript/mastodon/locales/fi.json
  9. 1 1
      app/javascript/mastodon/locales/fr.json
  10. 1 1
      app/javascript/mastodon/locales/he.json
  11. 1 1
      app/javascript/mastodon/locales/hr.json
  12. 1 1
      app/javascript/mastodon/locales/hu.json
  13. 1 1
      app/javascript/mastodon/locales/id.json
  14. 1 1
      app/javascript/mastodon/locales/io.json
  15. 1 1
      app/javascript/mastodon/locales/it.json
  16. 1 1
      app/javascript/mastodon/locales/ja.json
  17. 1 1
      app/javascript/mastodon/locales/nl.json
  18. 1 1
      app/javascript/mastodon/locales/no.json
  19. 1 1
      app/javascript/mastodon/locales/oc.json
  20. 1 1
      app/javascript/mastodon/locales/pl.json
  21. 1 1
      app/javascript/mastodon/locales/pt-BR.json
  22. 1 1
      app/javascript/mastodon/locales/pt.json
  23. 1 1
      app/javascript/mastodon/locales/ru.json
  24. 165 164
      app/javascript/mastodon/locales/tr.json
  25. 1 1
      app/javascript/mastodon/locales/uk.json
  26. 1 1
      app/javascript/mastodon/locales/whitelist_ar.json
  27. 1 1
      app/javascript/mastodon/locales/whitelist_bg.json
  28. 1 1
      app/javascript/mastodon/locales/whitelist_de.json
  29. 1 1
      app/javascript/mastodon/locales/whitelist_en.json
  30. 1 1
      app/javascript/mastodon/locales/whitelist_eo.json
  31. 1 1
      app/javascript/mastodon/locales/whitelist_es.json
  32. 1 1
      app/javascript/mastodon/locales/whitelist_fa.json
  33. 1 1
      app/javascript/mastodon/locales/whitelist_fi.json
  34. 1 1
      app/javascript/mastodon/locales/whitelist_fr.json
  35. 1 1
      app/javascript/mastodon/locales/whitelist_he.json
  36. 1 1
      app/javascript/mastodon/locales/whitelist_hr.json
  37. 1 1
      app/javascript/mastodon/locales/whitelist_hu.json
  38. 1 1
      app/javascript/mastodon/locales/whitelist_id.json
  39. 1 1
      app/javascript/mastodon/locales/whitelist_io.json
  40. 1 1
      app/javascript/mastodon/locales/whitelist_it.json
  41. 1 1
      app/javascript/mastodon/locales/whitelist_ja.json
  42. 1 1
      app/javascript/mastodon/locales/whitelist_nl.json
  43. 1 1
      app/javascript/mastodon/locales/whitelist_no.json
  44. 1 1
      app/javascript/mastodon/locales/whitelist_oc.json
  45. 1 1
      app/javascript/mastodon/locales/whitelist_pl.json
  46. 1 1
      app/javascript/mastodon/locales/whitelist_pt-BR.json
  47. 1 1
      app/javascript/mastodon/locales/whitelist_pt.json
  48. 1 1
      app/javascript/mastodon/locales/whitelist_ru.json
  49. 1 1
      app/javascript/mastodon/locales/whitelist_uk.json
  50. 1 1
      app/javascript/mastodon/locales/whitelist_zh-CN.json
  51. 1 1
      app/javascript/mastodon/locales/whitelist_zh-HK.json
  52. 1 1
      app/javascript/mastodon/locales/zh-CN.json
  53. 1 1
      app/javascript/mastodon/locales/zh-HK.json
  54. 3 0
      config/webpack/translationRunner.js

+ 0 - 4
.editorconfig

@@ -10,7 +10,3 @@ insert_final_newline = true
 charset = utf-8
 indent_style = space
 indent_size = 2
-
-# ignore generated locale files
-[app/javascript/mastodon/locales/*.json]
-insert_final_newline = false

+ 1 - 1
app/javascript/mastodon/locales/bg.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Звук",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/de.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Ton umschalten",
   "video_player.toggle_visible": "Sichtbarkeit umschalten",
   "video_player.video_error": "Video konnte nicht abgespielt werden"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/en.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Toggle sound",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/eo.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Aktivigi sonojn",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/es.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Act/Desac. sonido",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/fa.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "تغییر صداداری",
   "video_player.toggle_visible": "تغییر پیدایی",
   "video_player.video_error": "ویدیو نمی‌تواند پخش شود"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/fi.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Äänet päälle/pois",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/fr.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Mettre/Couper le son",
   "video_player.toggle_visible": "Afficher/Cacher la vidéo",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/he.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "הפעלת\\ביטול שמע",
   "video_player.toggle_visible": "הפעלת\\ביטול תצוגה",
   "video_player.video_error": "לא ניתן לנגן וידאו"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/hr.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Toggle zvuk",
   "video_player.toggle_visible": "Preklopi vidljivost",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/hu.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Hang kapcsolása",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/id.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Suara",
   "video_player.toggle_visible": "Tampilan",
   "video_player.video_error": "Video tidak dapat diputar"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/io.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Acendar sono",
   "video_player.toggle_visible": "Chanjar videbleso",
   "video_player.video_error": "Video ne povus pleesar"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/it.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Attiva suono",
   "video_player.toggle_visible": "Attiva visibilità",
   "video_player.video_error": "Il video non può essere riprodotto"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/ja.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "音の切り替え",
   "video_player.toggle_visible": "表示切り替え",
   "video_player.video_error": "動画の再生に失敗しました"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/nl.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Geluid in-/uitschakelen",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/no.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Veksle lyd",
   "video_player.toggle_visible": "Veksle synlighet",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/oc.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Activar/Desactivar lo son",
   "video_player.toggle_visible": "Mostrar/Rescondre la vidèo",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/pl.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Przełącz dźwięk",
   "video_player.toggle_visible": "Przełącz widoczność",
   "video_player.video_error": "Nie można odtworzyć pliku wideo"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/pt-BR.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Ligar/Desligar som",
   "video_player.toggle_visible": "Ligar/Desligar vídeo",
   "video_player.video_error": "Não é possível ver o vídeo"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/pt.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Ligar/Desligar som",
   "video_player.toggle_visible": "Ligar/Desligar vídeo",
   "video_player.video_error": "Não é possível ver o vídeo"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/ru.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Вкл./выкл. звук",
   "video_player.toggle_visible": "Показать/скрыть",
   "video_player.video_error": "Видео не может быть проиграно"
-}
+}

File diff suppressed because it is too large
+ 165 - 164
app/javascript/mastodon/locales/tr.json


+ 1 - 1
app/javascript/mastodon/locales/uk.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "Увімкнути/вимкнути звук",
   "video_player.toggle_visible": "Toggle visibility",
   "video_player.video_error": "Video could not be played"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/whitelist_ar.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_bg.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_de.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_en.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_eo.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_es.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_fa.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_fi.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_fr.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_he.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_hr.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_hu.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_id.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_io.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_it.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_ja.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_nl.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_no.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_oc.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_pl.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_pt-BR.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_pt.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_ru.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_uk.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_zh-CN.json

@@ -1,2 +1,2 @@
 [
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/whitelist_zh-HK.json

@@ -1,3 +1,3 @@
 [
   "getting_started.support"
-]
+]

+ 1 - 1
app/javascript/mastodon/locales/zh-CN.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "开关音效",
   "video_player.toggle_visible": "打开或关上",
   "video_player.video_error": "视频无法播放啦……"
-}
+}

+ 1 - 1
app/javascript/mastodon/locales/zh-HK.json

@@ -164,4 +164,4 @@
   "video_player.toggle_sound": "開關音效",
   "video_player.toggle_visible": "打開或關上",
   "video_player.video_error": "無法播放影片"
-}
+}

+ 3 - 0
config/webpack/translationRunner.js

@@ -115,4 +115,7 @@ manageTranslations({
   detectDuplicateIds: false,
   singleMessagesFile: true,
   languages,
+  jsonOptions: {
+    trailingNewline: true,
+  },
 });