summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-17 14:20:02 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-29 10:13:50 +0100
commit9f7c571e401b5a1a59c0ae9faa119da98aa4a184 (patch)
tree2d52fc7f9dd9b507e38fb4f4e373e0f7a0a9f9fb /apps/files_versions
parent2f19de11e4c77b0f9195c3868960d8105541359f (diff)
downloadnextcloud-server-9f7c571e401b5a1a59c0ae9faa119da98aa4a184.tar.gz
nextcloud-server-9f7c571e401b5a1a59c0ae9faa119da98aa4a184.zip
update all translation files to js and json
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/l10n/ar.js7
-rw-r--r--apps/files_versions/l10n/ar.json5
-rw-r--r--apps/files_versions/l10n/ar.php6
-rw-r--r--apps/files_versions/l10n/ast.js11
-rw-r--r--apps/files_versions/l10n/ast.json9
-rw-r--r--apps/files_versions/l10n/ast.php10
-rw-r--r--apps/files_versions/l10n/az.js11
-rw-r--r--apps/files_versions/l10n/az.json9
-rw-r--r--apps/files_versions/l10n/az.php10
-rw-r--r--apps/files_versions/l10n/bg_BG.js11
-rw-r--r--apps/files_versions/l10n/bg_BG.json9
-rw-r--r--apps/files_versions/l10n/bg_BG.php10
-rw-r--r--apps/files_versions/l10n/bn_BD.js11
-rw-r--r--apps/files_versions/l10n/bn_BD.json9
-rw-r--r--apps/files_versions/l10n/bn_BD.php10
-rw-r--r--apps/files_versions/l10n/bn_IN.js11
-rw-r--r--apps/files_versions/l10n/bn_IN.json9
-rw-r--r--apps/files_versions/l10n/bn_IN.php10
-rw-r--r--apps/files_versions/l10n/ca.js11
-rw-r--r--apps/files_versions/l10n/ca.json9
-rw-r--r--apps/files_versions/l10n/ca.php10
-rw-r--r--apps/files_versions/l10n/cs_CZ.js11
-rw-r--r--apps/files_versions/l10n/cs_CZ.json9
-rw-r--r--apps/files_versions/l10n/cs_CZ.php10
-rw-r--r--apps/files_versions/l10n/cy_GB.js6
-rw-r--r--apps/files_versions/l10n/cy_GB.json4
-rw-r--r--apps/files_versions/l10n/cy_GB.php5
-rw-r--r--apps/files_versions/l10n/da.js11
-rw-r--r--apps/files_versions/l10n/da.json9
-rw-r--r--apps/files_versions/l10n/da.php10
-rw-r--r--apps/files_versions/l10n/de.js11
-rw-r--r--apps/files_versions/l10n/de.json9
-rw-r--r--apps/files_versions/l10n/de.php10
-rw-r--r--apps/files_versions/l10n/de_CH.js11
-rw-r--r--apps/files_versions/l10n/de_CH.json9
-rw-r--r--apps/files_versions/l10n/de_CH.php10
-rw-r--r--apps/files_versions/l10n/de_DE.js11
-rw-r--r--apps/files_versions/l10n/de_DE.json9
-rw-r--r--apps/files_versions/l10n/de_DE.php10
-rw-r--r--apps/files_versions/l10n/el.js11
-rw-r--r--apps/files_versions/l10n/el.json9
-rw-r--r--apps/files_versions/l10n/el.php10
-rw-r--r--apps/files_versions/l10n/en_GB.js11
-rw-r--r--apps/files_versions/l10n/en_GB.json9
-rw-r--r--apps/files_versions/l10n/en_GB.php10
-rw-r--r--apps/files_versions/l10n/eo.js11
-rw-r--r--apps/files_versions/l10n/eo.json9
-rw-r--r--apps/files_versions/l10n/eo.php10
-rw-r--r--apps/files_versions/l10n/es.js11
-rw-r--r--apps/files_versions/l10n/es.json9
-rw-r--r--apps/files_versions/l10n/es.php10
-rw-r--r--apps/files_versions/l10n/es_AR.js11
-rw-r--r--apps/files_versions/l10n/es_AR.json9
-rw-r--r--apps/files_versions/l10n/es_AR.php10
-rw-r--r--apps/files_versions/l10n/es_MX.js11
-rw-r--r--apps/files_versions/l10n/es_MX.json9
-rw-r--r--apps/files_versions/l10n/es_MX.php10
-rw-r--r--apps/files_versions/l10n/et_EE.js11
-rw-r--r--apps/files_versions/l10n/et_EE.json9
-rw-r--r--apps/files_versions/l10n/et_EE.php10
-rw-r--r--apps/files_versions/l10n/eu.js11
-rw-r--r--apps/files_versions/l10n/eu.json9
-rw-r--r--apps/files_versions/l10n/eu.php10
-rw-r--r--apps/files_versions/l10n/fa.js11
-rw-r--r--apps/files_versions/l10n/fa.json9
-rw-r--r--apps/files_versions/l10n/fa.php10
-rw-r--r--apps/files_versions/l10n/fi_FI.js11
-rw-r--r--apps/files_versions/l10n/fi_FI.json9
-rw-r--r--apps/files_versions/l10n/fi_FI.php10
-rw-r--r--apps/files_versions/l10n/fr.js11
-rw-r--r--apps/files_versions/l10n/fr.json9
-rw-r--r--apps/files_versions/l10n/fr.php10
-rw-r--r--apps/files_versions/l10n/gl.js11
-rw-r--r--apps/files_versions/l10n/gl.json9
-rw-r--r--apps/files_versions/l10n/gl.php10
-rw-r--r--apps/files_versions/l10n/he.js8
-rw-r--r--apps/files_versions/l10n/he.json6
-rw-r--r--apps/files_versions/l10n/he.php7
-rw-r--r--apps/files_versions/l10n/hr.js11
-rw-r--r--apps/files_versions/l10n/hr.json9
-rw-r--r--apps/files_versions/l10n/hr.php10
-rw-r--r--apps/files_versions/l10n/hu_HU.js11
-rw-r--r--apps/files_versions/l10n/hu_HU.json9
-rw-r--r--apps/files_versions/l10n/hu_HU.php10
-rw-r--r--apps/files_versions/l10n/id.js11
-rw-r--r--apps/files_versions/l10n/id.json9
-rw-r--r--apps/files_versions/l10n/id.php10
-rw-r--r--apps/files_versions/l10n/is.js6
-rw-r--r--apps/files_versions/l10n/is.json4
-rw-r--r--apps/files_versions/l10n/is.php5
-rw-r--r--apps/files_versions/l10n/it.js11
-rw-r--r--apps/files_versions/l10n/it.json9
-rw-r--r--apps/files_versions/l10n/it.php10
-rw-r--r--apps/files_versions/l10n/ja.js11
-rw-r--r--apps/files_versions/l10n/ja.json9
-rw-r--r--apps/files_versions/l10n/ja.php10
-rw-r--r--apps/files_versions/l10n/ka_GE.js8
-rw-r--r--apps/files_versions/l10n/ka_GE.json6
-rw-r--r--apps/files_versions/l10n/ka_GE.php7
-rw-r--r--apps/files_versions/l10n/km.js11
-rw-r--r--apps/files_versions/l10n/km.json9
-rw-r--r--apps/files_versions/l10n/km.php10
-rw-r--r--apps/files_versions/l10n/ko.js11
-rw-r--r--apps/files_versions/l10n/ko.json9
-rw-r--r--apps/files_versions/l10n/ko.php10
-rw-r--r--apps/files_versions/l10n/ku_IQ.js6
-rw-r--r--apps/files_versions/l10n/ku_IQ.json4
-rw-r--r--apps/files_versions/l10n/ku_IQ.php5
-rw-r--r--apps/files_versions/l10n/lt_LT.js11
-rw-r--r--apps/files_versions/l10n/lt_LT.json9
-rw-r--r--apps/files_versions/l10n/lt_LT.php10
-rw-r--r--apps/files_versions/l10n/lv.js8
-rw-r--r--apps/files_versions/l10n/lv.json6
-rw-r--r--apps/files_versions/l10n/lv.php7
-rw-r--r--apps/files_versions/l10n/mk.js11
-rw-r--r--apps/files_versions/l10n/mk.json9
-rw-r--r--apps/files_versions/l10n/mk.php10
-rw-r--r--apps/files_versions/l10n/ms_MY.js11
-rw-r--r--apps/files_versions/l10n/ms_MY.json9
-rw-r--r--apps/files_versions/l10n/ms_MY.php10
-rw-r--r--apps/files_versions/l10n/nb_NO.js11
-rw-r--r--apps/files_versions/l10n/nb_NO.json9
-rw-r--r--apps/files_versions/l10n/nb_NO.php10
-rw-r--r--apps/files_versions/l10n/nl.js11
-rw-r--r--apps/files_versions/l10n/nl.json9
-rw-r--r--apps/files_versions/l10n/nl.php10
-rw-r--r--apps/files_versions/l10n/nn_NO.js11
-rw-r--r--apps/files_versions/l10n/nn_NO.json9
-rw-r--r--apps/files_versions/l10n/nn_NO.php10
-rw-r--r--apps/files_versions/l10n/pl.js11
-rw-r--r--apps/files_versions/l10n/pl.json9
-rw-r--r--apps/files_versions/l10n/pl.php10
-rw-r--r--apps/files_versions/l10n/pt_BR.js11
-rw-r--r--apps/files_versions/l10n/pt_BR.json9
-rw-r--r--apps/files_versions/l10n/pt_BR.php10
-rw-r--r--apps/files_versions/l10n/pt_PT.js11
-rw-r--r--apps/files_versions/l10n/pt_PT.json9
-rw-r--r--apps/files_versions/l10n/pt_PT.php10
-rw-r--r--apps/files_versions/l10n/ro.js10
-rw-r--r--apps/files_versions/l10n/ro.json8
-rw-r--r--apps/files_versions/l10n/ro.php9
-rw-r--r--apps/files_versions/l10n/ru.js11
-rw-r--r--apps/files_versions/l10n/ru.json9
-rw-r--r--apps/files_versions/l10n/ru.php10
-rw-r--r--apps/files_versions/l10n/si_LK.js6
-rw-r--r--apps/files_versions/l10n/si_LK.json4
-rw-r--r--apps/files_versions/l10n/si_LK.php5
-rw-r--r--apps/files_versions/l10n/sk_SK.js11
-rw-r--r--apps/files_versions/l10n/sk_SK.json9
-rw-r--r--apps/files_versions/l10n/sk_SK.php10
-rw-r--r--apps/files_versions/l10n/sl.js11
-rw-r--r--apps/files_versions/l10n/sl.json9
-rw-r--r--apps/files_versions/l10n/sl.php10
-rw-r--r--apps/files_versions/l10n/sq.js11
-rw-r--r--apps/files_versions/l10n/sq.json9
-rw-r--r--apps/files_versions/l10n/sq.php10
-rw-r--r--apps/files_versions/l10n/sr.js6
-rw-r--r--apps/files_versions/l10n/sr.json4
-rw-r--r--apps/files_versions/l10n/sr.php5
-rw-r--r--apps/files_versions/l10n/sv.js11
-rw-r--r--apps/files_versions/l10n/sv.json9
-rw-r--r--apps/files_versions/l10n/sv.php10
-rw-r--r--apps/files_versions/l10n/ta_LK.js6
-rw-r--r--apps/files_versions/l10n/ta_LK.json4
-rw-r--r--apps/files_versions/l10n/ta_LK.php5
-rw-r--r--apps/files_versions/l10n/th_TH.js7
-rw-r--r--apps/files_versions/l10n/th_TH.json5
-rw-r--r--apps/files_versions/l10n/th_TH.php6
-rw-r--r--apps/files_versions/l10n/tr.js11
-rw-r--r--apps/files_versions/l10n/tr.json9
-rw-r--r--apps/files_versions/l10n/tr.php10
-rw-r--r--apps/files_versions/l10n/ug.js7
-rw-r--r--apps/files_versions/l10n/ug.json5
-rw-r--r--apps/files_versions/l10n/ug.php6
-rw-r--r--apps/files_versions/l10n/uk.js11
-rw-r--r--apps/files_versions/l10n/uk.json9
-rw-r--r--apps/files_versions/l10n/uk.php10
-rw-r--r--apps/files_versions/l10n/ur_PK.js6
-rw-r--r--apps/files_versions/l10n/ur_PK.json4
-rw-r--r--apps/files_versions/l10n/ur_PK.php5
-rw-r--r--apps/files_versions/l10n/vi.js11
-rw-r--r--apps/files_versions/l10n/vi.json9
-rw-r--r--apps/files_versions/l10n/vi.php10
-rw-r--r--apps/files_versions/l10n/zh_CN.js11
-rw-r--r--apps/files_versions/l10n/zh_CN.json9
-rw-r--r--apps/files_versions/l10n/zh_CN.php10
-rw-r--r--apps/files_versions/l10n/zh_HK.js6
-rw-r--r--apps/files_versions/l10n/zh_HK.json4
-rw-r--r--apps/files_versions/l10n/zh_HK.php5
-rw-r--r--apps/files_versions/l10n/zh_TW.js11
-rw-r--r--apps/files_versions/l10n/zh_TW.json9
-rw-r--r--apps/files_versions/l10n/zh_TW.php10
192 files changed, 1156 insertions, 578 deletions
diff --git a/apps/files_versions/l10n/ar.js b/apps/files_versions/l10n/ar.js
new file mode 100644
index 00000000000..ee0199f5b11
--- /dev/null
+++ b/apps/files_versions/l10n/ar.js
@@ -0,0 +1,7 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "الإصدارات",
+ "Restore" : "استعيد"
+},
+"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
diff --git a/apps/files_versions/l10n/ar.json b/apps/files_versions/l10n/ar.json
new file mode 100644
index 00000000000..e84fbfc56c2
--- /dev/null
+++ b/apps/files_versions/l10n/ar.json
@@ -0,0 +1,5 @@
+{ "translations": {
+ "Versions" : "الإصدارات",
+ "Restore" : "استعيد"
+},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ar.php b/apps/files_versions/l10n/ar.php
deleted file mode 100644
index 53eae8e9fee..00000000000
--- a/apps/files_versions/l10n/ar.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "الإصدارات",
-"Restore" => "استعيد"
-);
-$PLURAL_FORMS = "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;";
diff --git a/apps/files_versions/l10n/ast.js b/apps/files_versions/l10n/ast.js
new file mode 100644
index 00000000000..39f7ea7d58f
--- /dev/null
+++ b/apps/files_versions/l10n/ast.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nun pudo revertise: %s",
+ "Versions" : "Versiones",
+ "Failed to revert {file} to revision {timestamp}." : "Fallu al revertir {file} a la revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "Nun hai otres versiones disponibles",
+ "Restore" : "Restaurar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/ast.json b/apps/files_versions/l10n/ast.json
new file mode 100644
index 00000000000..720f02e6f63
--- /dev/null
+++ b/apps/files_versions/l10n/ast.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nun pudo revertise: %s",
+ "Versions" : "Versiones",
+ "Failed to revert {file} to revision {timestamp}." : "Fallu al revertir {file} a la revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "Nun hai otres versiones disponibles",
+ "Restore" : "Restaurar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ast.php b/apps/files_versions/l10n/ast.php
deleted file mode 100644
index 31e6e72b2d7..00000000000
--- a/apps/files_versions/l10n/ast.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nun pudo revertise: %s",
-"Versions" => "Versiones",
-"Failed to revert {file} to revision {timestamp}." => "Fallu al revertir {file} a la revisión {timestamp}.",
-"More versions..." => "Más versiones...",
-"No other versions available" => "Nun hai otres versiones disponibles",
-"Restore" => "Restaurar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/az.js b/apps/files_versions/l10n/az.js
new file mode 100644
index 00000000000..ee6e86ef111
--- /dev/null
+++ b/apps/files_versions/l10n/az.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Geri qaytarmaq olmur: %s",
+ "Versions" : "Versiyaları",
+ "Failed to revert {file} to revision {timestamp}." : "{timestamp} yenidən baxılması üçün {file} geri qaytarmaq mümkün olmadı.",
+ "More versions..." : "Əlavə versiyalar",
+ "No other versions available" : "Başqa versiyalar mövcud deyil",
+ "Restore" : "Geri qaytar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/az.json b/apps/files_versions/l10n/az.json
new file mode 100644
index 00000000000..9b38c19fdba
--- /dev/null
+++ b/apps/files_versions/l10n/az.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Geri qaytarmaq olmur: %s",
+ "Versions" : "Versiyaları",
+ "Failed to revert {file} to revision {timestamp}." : "{timestamp} yenidən baxılması üçün {file} geri qaytarmaq mümkün olmadı.",
+ "More versions..." : "Əlavə versiyalar",
+ "No other versions available" : "Başqa versiyalar mövcud deyil",
+ "Restore" : "Geri qaytar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/az.php b/apps/files_versions/l10n/az.php
deleted file mode 100644
index fc1b877406a..00000000000
--- a/apps/files_versions/l10n/az.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Geri qaytarmaq olmur: %s",
-"Versions" => "Versiyaları",
-"Failed to revert {file} to revision {timestamp}." => "{timestamp} yenidən baxılması üçün {file} geri qaytarmaq mümkün olmadı.",
-"More versions..." => "Əlavə versiyalar",
-"No other versions available" => "Başqa versiyalar mövcud deyil",
-"Restore" => "Geri qaytar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/bg_BG.js b/apps/files_versions/l10n/bg_BG.js
new file mode 100644
index 00000000000..6ea5387eec2
--- /dev/null
+++ b/apps/files_versions/l10n/bg_BG.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Грешка при връщане: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Грешка при връщане на {file} към версия {timestamp}.",
+ "More versions..." : "Още версии...",
+ "No other versions available" : "Няма други налични версии",
+ "Restore" : "Възтановяви"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/bg_BG.json b/apps/files_versions/l10n/bg_BG.json
new file mode 100644
index 00000000000..3d8060a22f1
--- /dev/null
+++ b/apps/files_versions/l10n/bg_BG.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Грешка при връщане: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Грешка при връщане на {file} към версия {timestamp}.",
+ "More versions..." : "Още версии...",
+ "No other versions available" : "Няма други налични версии",
+ "Restore" : "Възтановяви"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/bg_BG.php b/apps/files_versions/l10n/bg_BG.php
deleted file mode 100644
index 9dea358d31f..00000000000
--- a/apps/files_versions/l10n/bg_BG.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Грешка при връщане: %s",
-"Versions" => "Версии",
-"Failed to revert {file} to revision {timestamp}." => "Грешка при връщане на {file} към версия {timestamp}.",
-"More versions..." => "Още версии...",
-"No other versions available" => "Няма други налични версии",
-"Restore" => "Възтановяви"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/bn_BD.js b/apps/files_versions/l10n/bn_BD.js
new file mode 100644
index 00000000000..4e3f8be76bb
--- /dev/null
+++ b/apps/files_versions/l10n/bn_BD.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "ফিরে যাওয়া গেলনা: %s",
+ "Versions" : "সংষ্করন",
+ "Failed to revert {file} to revision {timestamp}." : " {file} সংশোধিত {timestamp} এ ফিরে যেতে ব্যার্থ হলো।",
+ "More versions..." : "আরো সংষ্করণ....",
+ "No other versions available" : "আর কোন সংষ্করণ প্রাপ্তব্য নয়",
+ "Restore" : "ফিরিয়ে দাও"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/bn_BD.json b/apps/files_versions/l10n/bn_BD.json
new file mode 100644
index 00000000000..4ab5756e011
--- /dev/null
+++ b/apps/files_versions/l10n/bn_BD.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "ফিরে যাওয়া গেলনা: %s",
+ "Versions" : "সংষ্করন",
+ "Failed to revert {file} to revision {timestamp}." : " {file} সংশোধিত {timestamp} এ ফিরে যেতে ব্যার্থ হলো।",
+ "More versions..." : "আরো সংষ্করণ....",
+ "No other versions available" : "আর কোন সংষ্করণ প্রাপ্তব্য নয়",
+ "Restore" : "ফিরিয়ে দাও"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/bn_BD.php b/apps/files_versions/l10n/bn_BD.php
deleted file mode 100644
index 2b57275d274..00000000000
--- a/apps/files_versions/l10n/bn_BD.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "ফিরে যাওয়া গেলনা: %s",
-"Versions" => "সংষ্করন",
-"Failed to revert {file} to revision {timestamp}." => " {file} সংশোধিত {timestamp} এ ফিরে যেতে ব্যার্থ হলো।",
-"More versions..." => "আরো সংষ্করণ....",
-"No other versions available" => "আর কোন সংষ্করণ প্রাপ্তব্য নয়",
-"Restore" => "ফিরিয়ে দাও"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/bn_IN.js b/apps/files_versions/l10n/bn_IN.js
new file mode 100644
index 00000000000..f2985aa4afb
--- /dev/null
+++ b/apps/files_versions/l10n/bn_IN.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "প্রত্যাবর্তন করা যায়নি: %s",
+ "Versions" : "সংস্করণ",
+ "Failed to revert {file} to revision {timestamp}." : "{ফাইল} প্রত্যাবর্তন থেকে পুনর্বিবেচনা {টাইমস্ট্যাম্প} করতে ব্যর্থ।",
+ "More versions..." : "আরো সংস্করণ...",
+ "No other versions available" : "আর কোন সংস্করণ পাওয়া যাচ্ছে না",
+ "Restore" : "পুনরুদ্ধার"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/bn_IN.json b/apps/files_versions/l10n/bn_IN.json
new file mode 100644
index 00000000000..e973e1f074e
--- /dev/null
+++ b/apps/files_versions/l10n/bn_IN.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "প্রত্যাবর্তন করা যায়নি: %s",
+ "Versions" : "সংস্করণ",
+ "Failed to revert {file} to revision {timestamp}." : "{ফাইল} প্রত্যাবর্তন থেকে পুনর্বিবেচনা {টাইমস্ট্যাম্প} করতে ব্যর্থ।",
+ "More versions..." : "আরো সংস্করণ...",
+ "No other versions available" : "আর কোন সংস্করণ পাওয়া যাচ্ছে না",
+ "Restore" : "পুনরুদ্ধার"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/bn_IN.php b/apps/files_versions/l10n/bn_IN.php
deleted file mode 100644
index 5bbfaad470b..00000000000
--- a/apps/files_versions/l10n/bn_IN.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "প্রত্যাবর্তন করা যায়নি: %s",
-"Versions" => "সংস্করণ",
-"Failed to revert {file} to revision {timestamp}." => "{ফাইল} প্রত্যাবর্তন থেকে পুনর্বিবেচনা {টাইমস্ট্যাম্প} করতে ব্যর্থ।",
-"More versions..." => "আরো সংস্করণ...",
-"No other versions available" => "আর কোন সংস্করণ পাওয়া যাচ্ছে না",
-"Restore" => "পুনরুদ্ধার"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/ca.js b/apps/files_versions/l10n/ca.js
new file mode 100644
index 00000000000..da6bd06b98e
--- /dev/null
+++ b/apps/files_versions/l10n/ca.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "No s'ha pogut revertir: %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Ha fallat en retornar {file} a la revisió {timestamp}",
+ "More versions..." : "Més versions...",
+ "No other versions available" : "No hi ha altres versions disponibles",
+ "Restore" : "Recupera"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/ca.json b/apps/files_versions/l10n/ca.json
new file mode 100644
index 00000000000..3638e7b6462
--- /dev/null
+++ b/apps/files_versions/l10n/ca.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "No s'ha pogut revertir: %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Ha fallat en retornar {file} a la revisió {timestamp}",
+ "More versions..." : "Més versions...",
+ "No other versions available" : "No hi ha altres versions disponibles",
+ "Restore" : "Recupera"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ca.php b/apps/files_versions/l10n/ca.php
deleted file mode 100644
index e5c47a277f9..00000000000
--- a/apps/files_versions/l10n/ca.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "No s'ha pogut revertir: %s",
-"Versions" => "Versions",
-"Failed to revert {file} to revision {timestamp}." => "Ha fallat en retornar {file} a la revisió {timestamp}",
-"More versions..." => "Més versions...",
-"No other versions available" => "No hi ha altres versions disponibles",
-"Restore" => "Recupera"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/cs_CZ.js b/apps/files_versions/l10n/cs_CZ.js
new file mode 100644
index 00000000000..0ba87af547f
--- /dev/null
+++ b/apps/files_versions/l10n/cs_CZ.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nelze vrátit: %s",
+ "Versions" : "Verze",
+ "Failed to revert {file} to revision {timestamp}." : "Selhalo vrácení souboru {file} na verzi {timestamp}.",
+ "More versions..." : "Více verzí...",
+ "No other versions available" : "Žádné další verze nejsou dostupné",
+ "Restore" : "Obnovit"
+},
+"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;");
diff --git a/apps/files_versions/l10n/cs_CZ.json b/apps/files_versions/l10n/cs_CZ.json
new file mode 100644
index 00000000000..dc47f0b4cc8
--- /dev/null
+++ b/apps/files_versions/l10n/cs_CZ.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nelze vrátit: %s",
+ "Versions" : "Verze",
+ "Failed to revert {file} to revision {timestamp}." : "Selhalo vrácení souboru {file} na verzi {timestamp}.",
+ "More versions..." : "Více verzí...",
+ "No other versions available" : "Žádné další verze nejsou dostupné",
+ "Restore" : "Obnovit"
+},"pluralForm" :"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/cs_CZ.php b/apps/files_versions/l10n/cs_CZ.php
deleted file mode 100644
index 45ce297eae5..00000000000
--- a/apps/files_versions/l10n/cs_CZ.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nelze vrátit: %s",
-"Versions" => "Verze",
-"Failed to revert {file} to revision {timestamp}." => "Selhalo vrácení souboru {file} na verzi {timestamp}.",
-"More versions..." => "Více verzí...",
-"No other versions available" => "Žádné další verze nejsou dostupné",
-"Restore" => "Obnovit"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;";
diff --git a/apps/files_versions/l10n/cy_GB.js b/apps/files_versions/l10n/cy_GB.js
new file mode 100644
index 00000000000..e5285e2e157
--- /dev/null
+++ b/apps/files_versions/l10n/cy_GB.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Restore" : "Adfer"
+},
+"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;");
diff --git a/apps/files_versions/l10n/cy_GB.json b/apps/files_versions/l10n/cy_GB.json
new file mode 100644
index 00000000000..5ad23a5ac6f
--- /dev/null
+++ b/apps/files_versions/l10n/cy_GB.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Restore" : "Adfer"
+},"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/cy_GB.php b/apps/files_versions/l10n/cy_GB.php
deleted file mode 100644
index fa35dfd5218..00000000000
--- a/apps/files_versions/l10n/cy_GB.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Restore" => "Adfer"
-);
-$PLURAL_FORMS = "nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;";
diff --git a/apps/files_versions/l10n/da.js b/apps/files_versions/l10n/da.js
new file mode 100644
index 00000000000..22f7f66b45d
--- /dev/null
+++ b/apps/files_versions/l10n/da.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Kunne ikke genskabe: %s",
+ "Versions" : "Versioner",
+ "Failed to revert {file} to revision {timestamp}." : "Kunne ikke tilbagerulle {file} til den tidligere udgave: {timestamp}.",
+ "More versions..." : "Flere versioner...",
+ "No other versions available" : "Ingen andre versioner tilgængelig",
+ "Restore" : "Gendan"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/da.json b/apps/files_versions/l10n/da.json
new file mode 100644
index 00000000000..4dfa5dbeafa
--- /dev/null
+++ b/apps/files_versions/l10n/da.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Kunne ikke genskabe: %s",
+ "Versions" : "Versioner",
+ "Failed to revert {file} to revision {timestamp}." : "Kunne ikke tilbagerulle {file} til den tidligere udgave: {timestamp}.",
+ "More versions..." : "Flere versioner...",
+ "No other versions available" : "Ingen andre versioner tilgængelig",
+ "Restore" : "Gendan"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/da.php b/apps/files_versions/l10n/da.php
deleted file mode 100644
index a18bc717708..00000000000
--- a/apps/files_versions/l10n/da.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Kunne ikke genskabe: %s",
-"Versions" => "Versioner",
-"Failed to revert {file} to revision {timestamp}." => "Kunne ikke tilbagerulle {file} til den tidligere udgave: {timestamp}.",
-"More versions..." => "Flere versioner...",
-"No other versions available" => "Ingen andre versioner tilgængelig",
-"Restore" => "Gendan"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/de.js b/apps/files_versions/l10n/de.js
new file mode 100644
index 00000000000..71905567b34
--- /dev/null
+++ b/apps/files_versions/l10n/de.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
+ "More versions..." : "Weitere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/de.json b/apps/files_versions/l10n/de.json
new file mode 100644
index 00000000000..f6feac199e2
--- /dev/null
+++ b/apps/files_versions/l10n/de.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
+ "More versions..." : "Weitere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/de.php b/apps/files_versions/l10n/de.php
deleted file mode 100644
index 2b5bf3e9347..00000000000
--- a/apps/files_versions/l10n/de.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Konnte %s nicht zurücksetzen",
-"Versions" => "Versionen",
-"Failed to revert {file} to revision {timestamp}." => "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
-"More versions..." => "Weitere Versionen...",
-"No other versions available" => "Keine anderen Versionen verfügbar",
-"Restore" => "Wiederherstellen"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/de_CH.js b/apps/files_versions/l10n/de_CH.js
new file mode 100644
index 00000000000..9e970501fb7
--- /dev/null
+++ b/apps/files_versions/l10n/de_CH.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgänging machen.",
+ "More versions..." : "Mehrere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/de_CH.json b/apps/files_versions/l10n/de_CH.json
new file mode 100644
index 00000000000..8d4b76f8c2c
--- /dev/null
+++ b/apps/files_versions/l10n/de_CH.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgänging machen.",
+ "More versions..." : "Mehrere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/de_CH.php b/apps/files_versions/l10n/de_CH.php
deleted file mode 100644
index c8b45eee500..00000000000
--- a/apps/files_versions/l10n/de_CH.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Konnte %s nicht zurücksetzen",
-"Versions" => "Versionen",
-"Failed to revert {file} to revision {timestamp}." => "Konnte {file} der Revision {timestamp} nicht rückgänging machen.",
-"More versions..." => "Mehrere Versionen...",
-"No other versions available" => "Keine anderen Versionen verfügbar",
-"Restore" => "Wiederherstellen"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/de_DE.js b/apps/files_versions/l10n/de_DE.js
new file mode 100644
index 00000000000..0b8e5cdeac7
--- /dev/null
+++ b/apps/files_versions/l10n/de_DE.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
+ "More versions..." : "Mehrere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/de_DE.json b/apps/files_versions/l10n/de_DE.json
new file mode 100644
index 00000000000..6e5a8ec3bdb
--- /dev/null
+++ b/apps/files_versions/l10n/de_DE.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Konnte %s nicht zurücksetzen",
+ "Versions" : "Versionen",
+ "Failed to revert {file} to revision {timestamp}." : "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
+ "More versions..." : "Mehrere Versionen...",
+ "No other versions available" : "Keine anderen Versionen verfügbar",
+ "Restore" : "Wiederherstellen"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/de_DE.php b/apps/files_versions/l10n/de_DE.php
deleted file mode 100644
index 781774dcdd9..00000000000
--- a/apps/files_versions/l10n/de_DE.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Konnte %s nicht zurücksetzen",
-"Versions" => "Versionen",
-"Failed to revert {file} to revision {timestamp}." => "Konnte {file} der Revision {timestamp} nicht rückgängig machen.",
-"More versions..." => "Mehrere Versionen...",
-"No other versions available" => "Keine anderen Versionen verfügbar",
-"Restore" => "Wiederherstellen"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/el.js b/apps/files_versions/l10n/el.js
new file mode 100644
index 00000000000..a54655bcba0
--- /dev/null
+++ b/apps/files_versions/l10n/el.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Αδυναμία επαναφοράς: %s",
+ "Versions" : "Εκδόσεις",
+ "Failed to revert {file} to revision {timestamp}." : "Αποτυχία επαναφοράς του {file} στην αναθεώρηση {timestamp}.",
+ "More versions..." : "Περισσότερες εκδόσεις...",
+ "No other versions available" : "Δεν υπάρχουν άλλες εκδόσεις διαθέσιμες",
+ "Restore" : "Επαναφορά"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/el.json b/apps/files_versions/l10n/el.json
new file mode 100644
index 00000000000..836fdce5535
--- /dev/null
+++ b/apps/files_versions/l10n/el.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Αδυναμία επαναφοράς: %s",
+ "Versions" : "Εκδόσεις",
+ "Failed to revert {file} to revision {timestamp}." : "Αποτυχία επαναφοράς του {file} στην αναθεώρηση {timestamp}.",
+ "More versions..." : "Περισσότερες εκδόσεις...",
+ "No other versions available" : "Δεν υπάρχουν άλλες εκδόσεις διαθέσιμες",
+ "Restore" : "Επαναφορά"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/el.php b/apps/files_versions/l10n/el.php
deleted file mode 100644
index 5337f3b5a48..00000000000
--- a/apps/files_versions/l10n/el.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Αδυναμία επαναφοράς: %s",
-"Versions" => "Εκδόσεις",
-"Failed to revert {file} to revision {timestamp}." => "Αποτυχία επαναφοράς του {file} στην αναθεώρηση {timestamp}.",
-"More versions..." => "Περισσότερες εκδόσεις...",
-"No other versions available" => "Δεν υπάρχουν άλλες εκδόσεις διαθέσιμες",
-"Restore" => "Επαναφορά"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/en_GB.js b/apps/files_versions/l10n/en_GB.js
new file mode 100644
index 00000000000..a8ca3729752
--- /dev/null
+++ b/apps/files_versions/l10n/en_GB.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Could not revert: %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Failed to revert {file} to revision {timestamp}.",
+ "More versions..." : "More versions...",
+ "No other versions available" : "No other versions available",
+ "Restore" : "Restore"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/en_GB.json b/apps/files_versions/l10n/en_GB.json
new file mode 100644
index 00000000000..8ae47df9fcb
--- /dev/null
+++ b/apps/files_versions/l10n/en_GB.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Could not revert: %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Failed to revert {file} to revision {timestamp}.",
+ "More versions..." : "More versions...",
+ "No other versions available" : "No other versions available",
+ "Restore" : "Restore"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/en_GB.php b/apps/files_versions/l10n/en_GB.php
deleted file mode 100644
index af22b8fb0b2..00000000000
--- a/apps/files_versions/l10n/en_GB.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Could not revert: %s",
-"Versions" => "Versions",
-"Failed to revert {file} to revision {timestamp}." => "Failed to revert {file} to revision {timestamp}.",
-"More versions..." => "More versions...",
-"No other versions available" => "No other versions available",
-"Restore" => "Restore"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/eo.js b/apps/files_versions/l10n/eo.js
new file mode 100644
index 00000000000..1695a84dbad
--- /dev/null
+++ b/apps/files_versions/l10n/eo.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Ne eblas malfari: %s",
+ "Versions" : "Versioj",
+ "Failed to revert {file} to revision {timestamp}." : "Malsukcesis returnigo de {file} al la revizio {timestamp}.",
+ "More versions..." : "Pli da versioj...",
+ "No other versions available" : "Ne disponeblas aliaj versioj",
+ "Restore" : "Restaŭri"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/eo.json b/apps/files_versions/l10n/eo.json
new file mode 100644
index 00000000000..099bbf19365
--- /dev/null
+++ b/apps/files_versions/l10n/eo.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Ne eblas malfari: %s",
+ "Versions" : "Versioj",
+ "Failed to revert {file} to revision {timestamp}." : "Malsukcesis returnigo de {file} al la revizio {timestamp}.",
+ "More versions..." : "Pli da versioj...",
+ "No other versions available" : "Ne disponeblas aliaj versioj",
+ "Restore" : "Restaŭri"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/eo.php b/apps/files_versions/l10n/eo.php
deleted file mode 100644
index cfd8b1845cb..00000000000
--- a/apps/files_versions/l10n/eo.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Ne eblas malfari: %s",
-"Versions" => "Versioj",
-"Failed to revert {file} to revision {timestamp}." => "Malsukcesis returnigo de {file} al la revizio {timestamp}.",
-"More versions..." => "Pli da versioj...",
-"No other versions available" => "Ne disponeblas aliaj versioj",
-"Restore" => "Restaŭri"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/es.js b/apps/files_versions/l10n/es.js
new file mode 100644
index 00000000000..f3d980489b0
--- /dev/null
+++ b/apps/files_versions/l10n/es.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "No se puede revertir: %s",
+ "Versions" : "Revisiones",
+ "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay otras versiones disponibles",
+ "Restore" : "Recuperar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/es.json b/apps/files_versions/l10n/es.json
new file mode 100644
index 00000000000..7c395cbbb2e
--- /dev/null
+++ b/apps/files_versions/l10n/es.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "No se puede revertir: %s",
+ "Versions" : "Revisiones",
+ "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay otras versiones disponibles",
+ "Restore" : "Recuperar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/es.php b/apps/files_versions/l10n/es.php
deleted file mode 100644
index b7acc376978..00000000000
--- a/apps/files_versions/l10n/es.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "No se puede revertir: %s",
-"Versions" => "Revisiones",
-"Failed to revert {file} to revision {timestamp}." => "No se ha podido revertir {archivo} a revisión {timestamp}.",
-"More versions..." => "Más versiones...",
-"No other versions available" => "No hay otras versiones disponibles",
-"Restore" => "Recuperar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/es_AR.js b/apps/files_versions/l10n/es_AR.js
new file mode 100644
index 00000000000..b471c76e1cc
--- /dev/null
+++ b/apps/files_versions/l10n/es_AR.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "No se pudo revertir: %s ",
+ "Versions" : "Versiones",
+ "Failed to revert {file} to revision {timestamp}." : "Falló al revertir {file} a la revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay más versiones disponibles",
+ "Restore" : "Recuperar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/es_AR.json b/apps/files_versions/l10n/es_AR.json
new file mode 100644
index 00000000000..806ecb2aa30
--- /dev/null
+++ b/apps/files_versions/l10n/es_AR.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "No se pudo revertir: %s ",
+ "Versions" : "Versiones",
+ "Failed to revert {file} to revision {timestamp}." : "Falló al revertir {file} a la revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay más versiones disponibles",
+ "Restore" : "Recuperar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/es_AR.php b/apps/files_versions/l10n/es_AR.php
deleted file mode 100644
index 3008220122f..00000000000
--- a/apps/files_versions/l10n/es_AR.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "No se pudo revertir: %s ",
-"Versions" => "Versiones",
-"Failed to revert {file} to revision {timestamp}." => "Falló al revertir {file} a la revisión {timestamp}.",
-"More versions..." => "Más versiones...",
-"No other versions available" => "No hay más versiones disponibles",
-"Restore" => "Recuperar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/es_MX.js b/apps/files_versions/l10n/es_MX.js
new file mode 100644
index 00000000000..f3d980489b0
--- /dev/null
+++ b/apps/files_versions/l10n/es_MX.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "No se puede revertir: %s",
+ "Versions" : "Revisiones",
+ "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay otras versiones disponibles",
+ "Restore" : "Recuperar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/es_MX.json b/apps/files_versions/l10n/es_MX.json
new file mode 100644
index 00000000000..7c395cbbb2e
--- /dev/null
+++ b/apps/files_versions/l10n/es_MX.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "No se puede revertir: %s",
+ "Versions" : "Revisiones",
+ "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.",
+ "More versions..." : "Más versiones...",
+ "No other versions available" : "No hay otras versiones disponibles",
+ "Restore" : "Recuperar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/es_MX.php b/apps/files_versions/l10n/es_MX.php
deleted file mode 100644
index b7acc376978..00000000000
--- a/apps/files_versions/l10n/es_MX.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "No se puede revertir: %s",
-"Versions" => "Revisiones",
-"Failed to revert {file} to revision {timestamp}." => "No se ha podido revertir {archivo} a revisión {timestamp}.",
-"More versions..." => "Más versiones...",
-"No other versions available" => "No hay otras versiones disponibles",
-"Restore" => "Recuperar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/et_EE.js b/apps/files_versions/l10n/et_EE.js
new file mode 100644
index 00000000000..14a0dc1a095
--- /dev/null
+++ b/apps/files_versions/l10n/et_EE.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Ei suuda taastada faili: %s",
+ "Versions" : "Versioonid",
+ "Failed to revert {file} to revision {timestamp}." : "Ebaõnnestus faili {file} taastamine revisjonile {timestamp}",
+ "More versions..." : "Rohkem versioone...",
+ "No other versions available" : "Muid versioone pole saadaval",
+ "Restore" : "Taasta"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/et_EE.json b/apps/files_versions/l10n/et_EE.json
new file mode 100644
index 00000000000..a1762b7e15f
--- /dev/null
+++ b/apps/files_versions/l10n/et_EE.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Ei suuda taastada faili: %s",
+ "Versions" : "Versioonid",
+ "Failed to revert {file} to revision {timestamp}." : "Ebaõnnestus faili {file} taastamine revisjonile {timestamp}",
+ "More versions..." : "Rohkem versioone...",
+ "No other versions available" : "Muid versioone pole saadaval",
+ "Restore" : "Taasta"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/et_EE.php b/apps/files_versions/l10n/et_EE.php
deleted file mode 100644
index ba8b516e856..00000000000
--- a/apps/files_versions/l10n/et_EE.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Ei suuda taastada faili: %s",
-"Versions" => "Versioonid",
-"Failed to revert {file} to revision {timestamp}." => "Ebaõnnestus faili {file} taastamine revisjonile {timestamp}",
-"More versions..." => "Rohkem versioone...",
-"No other versions available" => "Muid versioone pole saadaval",
-"Restore" => "Taasta"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/eu.js b/apps/files_versions/l10n/eu.js
new file mode 100644
index 00000000000..0c92f18594c
--- /dev/null
+++ b/apps/files_versions/l10n/eu.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Ezin izan da leheneratu: %s",
+ "Versions" : "Bertsioak",
+ "Failed to revert {file} to revision {timestamp}." : "Errore bat izan da {fitxategia} {timestamp} bertsiora leheneratzean.",
+ "More versions..." : "Bertsio gehiago...",
+ "No other versions available" : "Ez dago bertsio gehiago eskuragarri",
+ "Restore" : "Berrezarri"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/eu.json b/apps/files_versions/l10n/eu.json
new file mode 100644
index 00000000000..acb9e78e7f7
--- /dev/null
+++ b/apps/files_versions/l10n/eu.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Ezin izan da leheneratu: %s",
+ "Versions" : "Bertsioak",
+ "Failed to revert {file} to revision {timestamp}." : "Errore bat izan da {fitxategia} {timestamp} bertsiora leheneratzean.",
+ "More versions..." : "Bertsio gehiago...",
+ "No other versions available" : "Ez dago bertsio gehiago eskuragarri",
+ "Restore" : "Berrezarri"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/eu.php b/apps/files_versions/l10n/eu.php
deleted file mode 100644
index 249ae096630..00000000000
--- a/apps/files_versions/l10n/eu.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Ezin izan da leheneratu: %s",
-"Versions" => "Bertsioak",
-"Failed to revert {file} to revision {timestamp}." => "Errore bat izan da {fitxategia} {timestamp} bertsiora leheneratzean.",
-"More versions..." => "Bertsio gehiago...",
-"No other versions available" => "Ez dago bertsio gehiago eskuragarri",
-"Restore" => "Berrezarri"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/fa.js b/apps/files_versions/l10n/fa.js
new file mode 100644
index 00000000000..fda05b61e5d
--- /dev/null
+++ b/apps/files_versions/l10n/fa.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "بازگردانی امکان ناپذیر است: %s",
+ "Versions" : "نسخه ها",
+ "Failed to revert {file} to revision {timestamp}." : "برگرداندن {file} به نسخه {timestamp} با شکست روبرو شد",
+ "More versions..." : "نسخه های بیشتر",
+ "No other versions available" : "نسخه ی دیگری در دسترس نیست",
+ "Restore" : "بازیابی"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/fa.json b/apps/files_versions/l10n/fa.json
new file mode 100644
index 00000000000..56e04f8f5c7
--- /dev/null
+++ b/apps/files_versions/l10n/fa.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "بازگردانی امکان ناپذیر است: %s",
+ "Versions" : "نسخه ها",
+ "Failed to revert {file} to revision {timestamp}." : "برگرداندن {file} به نسخه {timestamp} با شکست روبرو شد",
+ "More versions..." : "نسخه های بیشتر",
+ "No other versions available" : "نسخه ی دیگری در دسترس نیست",
+ "Restore" : "بازیابی"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/fa.php b/apps/files_versions/l10n/fa.php
deleted file mode 100644
index 7b26e361ec5..00000000000
--- a/apps/files_versions/l10n/fa.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "بازگردانی امکان ناپذیر است: %s",
-"Versions" => "نسخه ها",
-"Failed to revert {file} to revision {timestamp}." => "برگرداندن {file} به نسخه {timestamp} با شکست روبرو شد",
-"More versions..." => "نسخه های بیشتر",
-"No other versions available" => "نسخه ی دیگری در دسترس نیست",
-"Restore" => "بازیابی"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/fi_FI.js b/apps/files_versions/l10n/fi_FI.js
new file mode 100644
index 00000000000..32e3e28f0cc
--- /dev/null
+++ b/apps/files_versions/l10n/fi_FI.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Palautus epäonnistui: %s",
+ "Versions" : "Versiot",
+ "Failed to revert {file} to revision {timestamp}." : "Tiedoston {file} palautus versioon {timestamp} epäonnistui.",
+ "More versions..." : "Lisää versioita...",
+ "No other versions available" : "Ei muita versioita saatavilla",
+ "Restore" : "Palauta"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/fi_FI.json b/apps/files_versions/l10n/fi_FI.json
new file mode 100644
index 00000000000..57d552b196b
--- /dev/null
+++ b/apps/files_versions/l10n/fi_FI.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Palautus epäonnistui: %s",
+ "Versions" : "Versiot",
+ "Failed to revert {file} to revision {timestamp}." : "Tiedoston {file} palautus versioon {timestamp} epäonnistui.",
+ "More versions..." : "Lisää versioita...",
+ "No other versions available" : "Ei muita versioita saatavilla",
+ "Restore" : "Palauta"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/fi_FI.php b/apps/files_versions/l10n/fi_FI.php
deleted file mode 100644
index fb011df2a13..00000000000
--- a/apps/files_versions/l10n/fi_FI.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Palautus epäonnistui: %s",
-"Versions" => "Versiot",
-"Failed to revert {file} to revision {timestamp}." => "Tiedoston {file} palautus versioon {timestamp} epäonnistui.",
-"More versions..." => "Lisää versioita...",
-"No other versions available" => "Ei muita versioita saatavilla",
-"Restore" => "Palauta"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/fr.js b/apps/files_versions/l10n/fr.js
new file mode 100644
index 00000000000..be23bf846df
--- /dev/null
+++ b/apps/files_versions/l10n/fr.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Impossible de restaurer %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Échec du retour du fichier {file} à la révision {timestamp}.",
+ "More versions..." : "Plus de versions...",
+ "No other versions available" : "Aucune autre version n'est disponible",
+ "Restore" : "Restaurer"
+},
+"nplurals=2; plural=(n > 1);");
diff --git a/apps/files_versions/l10n/fr.json b/apps/files_versions/l10n/fr.json
new file mode 100644
index 00000000000..22d39d84f5f
--- /dev/null
+++ b/apps/files_versions/l10n/fr.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Impossible de restaurer %s",
+ "Versions" : "Versions",
+ "Failed to revert {file} to revision {timestamp}." : "Échec du retour du fichier {file} à la révision {timestamp}.",
+ "More versions..." : "Plus de versions...",
+ "No other versions available" : "Aucune autre version n'est disponible",
+ "Restore" : "Restaurer"
+},"pluralForm" :"nplurals=2; plural=(n > 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/fr.php b/apps/files_versions/l10n/fr.php
deleted file mode 100644
index 1dd6ddc39c3..00000000000
--- a/apps/files_versions/l10n/fr.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Impossible de restaurer %s",
-"Versions" => "Versions",
-"Failed to revert {file} to revision {timestamp}." => "Échec du retour du fichier {file} à la révision {timestamp}.",
-"More versions..." => "Plus de versions...",
-"No other versions available" => "Aucune autre version n'est disponible",
-"Restore" => "Restaurer"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n > 1);";
diff --git a/apps/files_versions/l10n/gl.js b/apps/files_versions/l10n/gl.js
new file mode 100644
index 00000000000..e947351bd9d
--- /dev/null
+++ b/apps/files_versions/l10n/gl.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Non foi posíbel reverter: %s",
+ "Versions" : "Versións",
+ "Failed to revert {file} to revision {timestamp}." : "Non foi posíbel reverter {file} á revisión {timestamp}.",
+ "More versions..." : "Máis versións...",
+ "No other versions available" : "Non hai outras versións dispoñíbeis",
+ "Restore" : "Restabelecer"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/gl.json b/apps/files_versions/l10n/gl.json
new file mode 100644
index 00000000000..240c78d5fed
--- /dev/null
+++ b/apps/files_versions/l10n/gl.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Non foi posíbel reverter: %s",
+ "Versions" : "Versións",
+ "Failed to revert {file} to revision {timestamp}." : "Non foi posíbel reverter {file} á revisión {timestamp}.",
+ "More versions..." : "Máis versións...",
+ "No other versions available" : "Non hai outras versións dispoñíbeis",
+ "Restore" : "Restabelecer"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/gl.php b/apps/files_versions/l10n/gl.php
deleted file mode 100644
index 48eef193e43..00000000000
--- a/apps/files_versions/l10n/gl.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Non foi posíbel reverter: %s",
-"Versions" => "Versións",
-"Failed to revert {file} to revision {timestamp}." => "Non foi posíbel reverter {file} á revisión {timestamp}.",
-"More versions..." => "Máis versións...",
-"No other versions available" => "Non hai outras versións dispoñíbeis",
-"Restore" => "Restabelecer"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/he.js b/apps/files_versions/l10n/he.js
new file mode 100644
index 00000000000..ecb859bb7f8
--- /dev/null
+++ b/apps/files_versions/l10n/he.js
@@ -0,0 +1,8 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "לא ניתן להחזיר: %s",
+ "Versions" : "גרסאות",
+ "Restore" : "שחזור"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/he.json b/apps/files_versions/l10n/he.json
new file mode 100644
index 00000000000..6cedccc663c
--- /dev/null
+++ b/apps/files_versions/l10n/he.json
@@ -0,0 +1,6 @@
+{ "translations": {
+ "Could not revert: %s" : "לא ניתן להחזיר: %s",
+ "Versions" : "גרסאות",
+ "Restore" : "שחזור"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/he.php b/apps/files_versions/l10n/he.php
deleted file mode 100644
index 848e4712276..00000000000
--- a/apps/files_versions/l10n/he.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "לא ניתן להחזיר: %s",
-"Versions" => "גרסאות",
-"Restore" => "שחזור"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/hr.js b/apps/files_versions/l10n/hr.js
new file mode 100644
index 00000000000..15851fc3b12
--- /dev/null
+++ b/apps/files_versions/l10n/hr.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nije moguće vratiti: %s",
+ "Versions" : "Verzije",
+ "Failed to revert {file} to revision {timestamp}." : "Nije uspelo vraćanje {file} na reviziju {timestamp}.",
+ "More versions..." : "Više verzija...",
+ "No other versions available" : "Nikakve druge verzije nisu dostupne",
+ "Restore" : "Obnovite"
+},
+"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;");
diff --git a/apps/files_versions/l10n/hr.json b/apps/files_versions/l10n/hr.json
new file mode 100644
index 00000000000..8197420150f
--- /dev/null
+++ b/apps/files_versions/l10n/hr.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nije moguće vratiti: %s",
+ "Versions" : "Verzije",
+ "Failed to revert {file} to revision {timestamp}." : "Nije uspelo vraćanje {file} na reviziju {timestamp}.",
+ "More versions..." : "Više verzija...",
+ "No other versions available" : "Nikakve druge verzije nisu dostupne",
+ "Restore" : "Obnovite"
+},"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/hr.php b/apps/files_versions/l10n/hr.php
deleted file mode 100644
index fdd8d89d206..00000000000
--- a/apps/files_versions/l10n/hr.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nije moguće vratiti: %s",
-"Versions" => "Verzije",
-"Failed to revert {file} to revision {timestamp}." => "Nije uspelo vraćanje {file} na reviziju {timestamp}.",
-"More versions..." => "Više verzija...",
-"No other versions available" => "Nikakve druge verzije nisu dostupne",
-"Restore" => "Obnovite"
-);
-$PLURAL_FORMS = "nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;";
diff --git a/apps/files_versions/l10n/hu_HU.js b/apps/files_versions/l10n/hu_HU.js
new file mode 100644
index 00000000000..342e65d5faf
--- /dev/null
+++ b/apps/files_versions/l10n/hu_HU.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nem sikerült átállni a változatra: %s",
+ "Versions" : "Az állományok korábbi változatai",
+ "Failed to revert {file} to revision {timestamp}." : "Nem sikerült a(z) {file} állományt erre visszaállítani: {timestamp}.",
+ "More versions..." : "További változatok...",
+ "No other versions available" : "Az állománynak nincs több változata",
+ "Restore" : "Visszaállítás"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/hu_HU.json b/apps/files_versions/l10n/hu_HU.json
new file mode 100644
index 00000000000..2b2be0f444e
--- /dev/null
+++ b/apps/files_versions/l10n/hu_HU.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nem sikerült átállni a változatra: %s",
+ "Versions" : "Az állományok korábbi változatai",
+ "Failed to revert {file} to revision {timestamp}." : "Nem sikerült a(z) {file} állományt erre visszaállítani: {timestamp}.",
+ "More versions..." : "További változatok...",
+ "No other versions available" : "Az állománynak nincs több változata",
+ "Restore" : "Visszaállítás"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/hu_HU.php b/apps/files_versions/l10n/hu_HU.php
deleted file mode 100644
index 13b3fe7cace..00000000000
--- a/apps/files_versions/l10n/hu_HU.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nem sikerült átállni a változatra: %s",
-"Versions" => "Az állományok korábbi változatai",
-"Failed to revert {file} to revision {timestamp}." => "Nem sikerült a(z) {file} állományt erre visszaállítani: {timestamp}.",
-"More versions..." => "További változatok...",
-"No other versions available" => "Az állománynak nincs több változata",
-"Restore" => "Visszaállítás"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/id.js b/apps/files_versions/l10n/id.js
new file mode 100644
index 00000000000..0e1111cf890
--- /dev/null
+++ b/apps/files_versions/l10n/id.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Tidak dapat mengembalikan: %s",
+ "Versions" : "Versi",
+ "Failed to revert {file} to revision {timestamp}." : "Gagal mengembalikan {file} ke revisi {timestamp}.",
+ "More versions..." : "Versi lebih...",
+ "No other versions available" : "Tidak ada versi lain yang tersedia",
+ "Restore" : "Pulihkan"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/id.json b/apps/files_versions/l10n/id.json
new file mode 100644
index 00000000000..e0b7e17bcc5
--- /dev/null
+++ b/apps/files_versions/l10n/id.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Tidak dapat mengembalikan: %s",
+ "Versions" : "Versi",
+ "Failed to revert {file} to revision {timestamp}." : "Gagal mengembalikan {file} ke revisi {timestamp}.",
+ "More versions..." : "Versi lebih...",
+ "No other versions available" : "Tidak ada versi lain yang tersedia",
+ "Restore" : "Pulihkan"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/id.php b/apps/files_versions/l10n/id.php
deleted file mode 100644
index 14920cc52fd..00000000000
--- a/apps/files_versions/l10n/id.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Tidak dapat mengembalikan: %s",
-"Versions" => "Versi",
-"Failed to revert {file} to revision {timestamp}." => "Gagal mengembalikan {file} ke revisi {timestamp}.",
-"More versions..." => "Versi lebih...",
-"No other versions available" => "Tidak ada versi lain yang tersedia",
-"Restore" => "Pulihkan"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/is.js b/apps/files_versions/l10n/is.js
new file mode 100644
index 00000000000..25bf6aafbfc
--- /dev/null
+++ b/apps/files_versions/l10n/is.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "Útgáfur"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/is.json b/apps/files_versions/l10n/is.json
new file mode 100644
index 00000000000..d21e4480909
--- /dev/null
+++ b/apps/files_versions/l10n/is.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Versions" : "Útgáfur"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/is.php b/apps/files_versions/l10n/is.php
deleted file mode 100644
index 0f643122ad0..00000000000
--- a/apps/files_versions/l10n/is.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "Útgáfur"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/it.js b/apps/files_versions/l10n/it.js
new file mode 100644
index 00000000000..45256577289
--- /dev/null
+++ b/apps/files_versions/l10n/it.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Impossibile ripristinare: %s",
+ "Versions" : "Versioni",
+ "Failed to revert {file} to revision {timestamp}." : "Ripristino di {file} alla revisione {timestamp} non riuscito.",
+ "More versions..." : "Altre versioni...",
+ "No other versions available" : "Non sono disponibili altre versioni",
+ "Restore" : "Ripristina"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/it.json b/apps/files_versions/l10n/it.json
new file mode 100644
index 00000000000..af5d7bbcaba
--- /dev/null
+++ b/apps/files_versions/l10n/it.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Impossibile ripristinare: %s",
+ "Versions" : "Versioni",
+ "Failed to revert {file} to revision {timestamp}." : "Ripristino di {file} alla revisione {timestamp} non riuscito.",
+ "More versions..." : "Altre versioni...",
+ "No other versions available" : "Non sono disponibili altre versioni",
+ "Restore" : "Ripristina"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/it.php b/apps/files_versions/l10n/it.php
deleted file mode 100644
index 6e4aee450a6..00000000000
--- a/apps/files_versions/l10n/it.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Impossibile ripristinare: %s",
-"Versions" => "Versioni",
-"Failed to revert {file} to revision {timestamp}." => "Ripristino di {file} alla revisione {timestamp} non riuscito.",
-"More versions..." => "Altre versioni...",
-"No other versions available" => "Non sono disponibili altre versioni",
-"Restore" => "Ripristina"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/ja.js b/apps/files_versions/l10n/ja.js
new file mode 100644
index 00000000000..1e4f26edc39
--- /dev/null
+++ b/apps/files_versions/l10n/ja.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "元に戻せませんでした: %s",
+ "Versions" : "バージョン",
+ "Failed to revert {file} to revision {timestamp}." : "{file} を {timestamp} のリビジョンに戻すことができません。",
+ "More versions..." : "他のバージョン...",
+ "No other versions available" : "利用可能なバージョンはありません",
+ "Restore" : "復元"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/ja.json b/apps/files_versions/l10n/ja.json
new file mode 100644
index 00000000000..7ee6b4d2c0e
--- /dev/null
+++ b/apps/files_versions/l10n/ja.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "元に戻せませんでした: %s",
+ "Versions" : "バージョン",
+ "Failed to revert {file} to revision {timestamp}." : "{file} を {timestamp} のリビジョンに戻すことができません。",
+ "More versions..." : "他のバージョン...",
+ "No other versions available" : "利用可能なバージョンはありません",
+ "Restore" : "復元"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ja.php b/apps/files_versions/l10n/ja.php
deleted file mode 100644
index f4c04ca76e9..00000000000
--- a/apps/files_versions/l10n/ja.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "元に戻せませんでした: %s",
-"Versions" => "バージョン",
-"Failed to revert {file} to revision {timestamp}." => "{file} を {timestamp} のリビジョンに戻すことができません。",
-"More versions..." => "他のバージョン...",
-"No other versions available" => "利用可能なバージョンはありません",
-"Restore" => "復元"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/ka_GE.js b/apps/files_versions/l10n/ka_GE.js
new file mode 100644
index 00000000000..d958b4f4dee
--- /dev/null
+++ b/apps/files_versions/l10n/ka_GE.js
@@ -0,0 +1,8 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "ვერ მოხერხდა უკან დაბრუნება: %s",
+ "Versions" : "ვერსიები",
+ "Restore" : "აღდგენა"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/ka_GE.json b/apps/files_versions/l10n/ka_GE.json
new file mode 100644
index 00000000000..a3b2d0344de
--- /dev/null
+++ b/apps/files_versions/l10n/ka_GE.json
@@ -0,0 +1,6 @@
+{ "translations": {
+ "Could not revert: %s" : "ვერ მოხერხდა უკან დაბრუნება: %s",
+ "Versions" : "ვერსიები",
+ "Restore" : "აღდგენა"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ka_GE.php b/apps/files_versions/l10n/ka_GE.php
deleted file mode 100644
index 41e65903b65..00000000000
--- a/apps/files_versions/l10n/ka_GE.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "ვერ მოხერხდა უკან დაბრუნება: %s",
-"Versions" => "ვერსიები",
-"Restore" => "აღდგენა"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/km.js b/apps/files_versions/l10n/km.js
new file mode 100644
index 00000000000..b1edbcbb3cc
--- /dev/null
+++ b/apps/files_versions/l10n/km.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "មិន​អាច​ត្រឡប់៖ %s",
+ "Versions" : "កំណែ",
+ "Failed to revert {file} to revision {timestamp}." : "មិន​អាច​ត្រឡប់ {file} ទៅ​កំណែ​សម្រួល {timestamp} បាន​ទេ។",
+ "More versions..." : "កំណែ​ច្រើន​ទៀត...",
+ "No other versions available" : "មិន​មាន​កំណែ​ផ្សេង​ទៀត​ទេ",
+ "Restore" : "ស្ដារ​មក​វិញ"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/km.json b/apps/files_versions/l10n/km.json
new file mode 100644
index 00000000000..830170a2234
--- /dev/null
+++ b/apps/files_versions/l10n/km.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "មិន​អាច​ត្រឡប់៖ %s",
+ "Versions" : "កំណែ",
+ "Failed to revert {file} to revision {timestamp}." : "មិន​អាច​ត្រឡប់ {file} ទៅ​កំណែ​សម្រួល {timestamp} បាន​ទេ។",
+ "More versions..." : "កំណែ​ច្រើន​ទៀត...",
+ "No other versions available" : "មិន​មាន​កំណែ​ផ្សេង​ទៀត​ទេ",
+ "Restore" : "ស្ដារ​មក​វិញ"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/km.php b/apps/files_versions/l10n/km.php
deleted file mode 100644
index 3673d002a7c..00000000000
--- a/apps/files_versions/l10n/km.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "មិន​អាច​ត្រឡប់៖ %s",
-"Versions" => "កំណែ",
-"Failed to revert {file} to revision {timestamp}." => "មិន​អាច​ត្រឡប់ {file} ទៅ​កំណែ​សម្រួល {timestamp} បាន​ទេ។",
-"More versions..." => "កំណែ​ច្រើន​ទៀត...",
-"No other versions available" => "មិន​មាន​កំណែ​ផ្សេង​ទៀត​ទេ",
-"Restore" => "ស្ដារ​មក​វិញ"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/ko.js b/apps/files_versions/l10n/ko.js
new file mode 100644
index 00000000000..9e125ec6bbf
--- /dev/null
+++ b/apps/files_versions/l10n/ko.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "되돌릴 수 없습니다: %s",
+ "Versions" : "버전",
+ "Failed to revert {file} to revision {timestamp}." : "{file}을(를) 리비전 {timestamp}으(로) 되돌리는 데 실패하였습니다.",
+ "More versions..." : "더 많은 버전...",
+ "No other versions available" : "다른 버전을 사용할 수 없습니다",
+ "Restore" : "복원"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/ko.json b/apps/files_versions/l10n/ko.json
new file mode 100644
index 00000000000..80ebb43912a
--- /dev/null
+++ b/apps/files_versions/l10n/ko.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "되돌릴 수 없습니다: %s",
+ "Versions" : "버전",
+ "Failed to revert {file} to revision {timestamp}." : "{file}을(를) 리비전 {timestamp}으(로) 되돌리는 데 실패하였습니다.",
+ "More versions..." : "더 많은 버전...",
+ "No other versions available" : "다른 버전을 사용할 수 없습니다",
+ "Restore" : "복원"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ko.php b/apps/files_versions/l10n/ko.php
deleted file mode 100644
index bd56c0489bf..00000000000
--- a/apps/files_versions/l10n/ko.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "되돌릴 수 없습니다: %s",
-"Versions" => "버전",
-"Failed to revert {file} to revision {timestamp}." => "{file}을(를) 리비전 {timestamp}으(로) 되돌리는 데 실패하였습니다.",
-"More versions..." => "더 많은 버전...",
-"No other versions available" => "다른 버전을 사용할 수 없습니다",
-"Restore" => "복원"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/ku_IQ.js b/apps/files_versions/l10n/ku_IQ.js
new file mode 100644
index 00000000000..46d7e075356
--- /dev/null
+++ b/apps/files_versions/l10n/ku_IQ.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "وه‌شان"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/ku_IQ.json b/apps/files_versions/l10n/ku_IQ.json
new file mode 100644
index 00000000000..0a929bb22df
--- /dev/null
+++ b/apps/files_versions/l10n/ku_IQ.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Versions" : "وه‌شان"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ku_IQ.php b/apps/files_versions/l10n/ku_IQ.php
deleted file mode 100644
index de2696509bb..00000000000
--- a/apps/files_versions/l10n/ku_IQ.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "وه‌شان"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/lt_LT.js b/apps/files_versions/l10n/lt_LT.js
new file mode 100644
index 00000000000..987b914412a
--- /dev/null
+++ b/apps/files_versions/l10n/lt_LT.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nepavyko atstatyti: %s",
+ "Versions" : "Versijos",
+ "Failed to revert {file} to revision {timestamp}." : "Nepavyko atstatyti {file} į būseną {timestamp}.",
+ "More versions..." : "Daugiau versijų...",
+ "No other versions available" : "Nėra daugiau versijų",
+ "Restore" : "Atstatyti"
+},
+"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_versions/l10n/lt_LT.json b/apps/files_versions/l10n/lt_LT.json
new file mode 100644
index 00000000000..5e30612dd33
--- /dev/null
+++ b/apps/files_versions/l10n/lt_LT.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nepavyko atstatyti: %s",
+ "Versions" : "Versijos",
+ "Failed to revert {file} to revision {timestamp}." : "Nepavyko atstatyti {file} į būseną {timestamp}.",
+ "More versions..." : "Daugiau versijų...",
+ "No other versions available" : "Nėra daugiau versijų",
+ "Restore" : "Atstatyti"
+},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/lt_LT.php b/apps/files_versions/l10n/lt_LT.php
deleted file mode 100644
index 3afcfbe3b5f..00000000000
--- a/apps/files_versions/l10n/lt_LT.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nepavyko atstatyti: %s",
-"Versions" => "Versijos",
-"Failed to revert {file} to revision {timestamp}." => "Nepavyko atstatyti {file} į būseną {timestamp}.",
-"More versions..." => "Daugiau versijų...",
-"No other versions available" => "Nėra daugiau versijų",
-"Restore" => "Atstatyti"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);";
diff --git a/apps/files_versions/l10n/lv.js b/apps/files_versions/l10n/lv.js
new file mode 100644
index 00000000000..5a8cbcf0ece
--- /dev/null
+++ b/apps/files_versions/l10n/lv.js
@@ -0,0 +1,8 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nevarēja atgriezt — %s",
+ "Versions" : "Versijas",
+ "Restore" : "Atjaunot"
+},
+"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);");
diff --git a/apps/files_versions/l10n/lv.json b/apps/files_versions/l10n/lv.json
new file mode 100644
index 00000000000..6781de4d471
--- /dev/null
+++ b/apps/files_versions/l10n/lv.json
@@ -0,0 +1,6 @@
+{ "translations": {
+ "Could not revert: %s" : "Nevarēja atgriezt — %s",
+ "Versions" : "Versijas",
+ "Restore" : "Atjaunot"
+},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/lv.php b/apps/files_versions/l10n/lv.php
deleted file mode 100644
index c686370ac31..00000000000
--- a/apps/files_versions/l10n/lv.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nevarēja atgriezt — %s",
-"Versions" => "Versijas",
-"Restore" => "Atjaunot"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);";
diff --git a/apps/files_versions/l10n/mk.js b/apps/files_versions/l10n/mk.js
new file mode 100644
index 00000000000..a730ea89404
--- /dev/null
+++ b/apps/files_versions/l10n/mk.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Не можев да го вратам: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Не успеав да го вратам {file} на ревизијата {timestamp}.",
+ "More versions..." : "Повеќе верзии...",
+ "No other versions available" : "Не постојат други верзии",
+ "Restore" : "Врати"
+},
+"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;");
diff --git a/apps/files_versions/l10n/mk.json b/apps/files_versions/l10n/mk.json
new file mode 100644
index 00000000000..7e57aa91b55
--- /dev/null
+++ b/apps/files_versions/l10n/mk.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Не можев да го вратам: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Не успеав да го вратам {file} на ревизијата {timestamp}.",
+ "More versions..." : "Повеќе верзии...",
+ "No other versions available" : "Не постојат други верзии",
+ "Restore" : "Врати"
+},"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/mk.php b/apps/files_versions/l10n/mk.php
deleted file mode 100644
index d5c883b894f..00000000000
--- a/apps/files_versions/l10n/mk.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Не можев да го вратам: %s",
-"Versions" => "Версии",
-"Failed to revert {file} to revision {timestamp}." => "Не успеав да го вратам {file} на ревизијата {timestamp}.",
-"More versions..." => "Повеќе верзии...",
-"No other versions available" => "Не постојат други верзии",
-"Restore" => "Врати"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;";
diff --git a/apps/files_versions/l10n/ms_MY.js b/apps/files_versions/l10n/ms_MY.js
new file mode 100644
index 00000000000..f645a255caf
--- /dev/null
+++ b/apps/files_versions/l10n/ms_MY.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Tidak dapat kembalikan: %s",
+ "Versions" : "Versi",
+ "Failed to revert {file} to revision {timestamp}." : "Gagal kembalikan {file} ke semakan {timestamp}.",
+ "More versions..." : "Lagi versi...",
+ "No other versions available" : "Tiada lagi versi lain",
+ "Restore" : "Pulihkan"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/ms_MY.json b/apps/files_versions/l10n/ms_MY.json
new file mode 100644
index 00000000000..6ed0cd34131
--- /dev/null
+++ b/apps/files_versions/l10n/ms_MY.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Tidak dapat kembalikan: %s",
+ "Versions" : "Versi",
+ "Failed to revert {file} to revision {timestamp}." : "Gagal kembalikan {file} ke semakan {timestamp}.",
+ "More versions..." : "Lagi versi...",
+ "No other versions available" : "Tiada lagi versi lain",
+ "Restore" : "Pulihkan"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ms_MY.php b/apps/files_versions/l10n/ms_MY.php
deleted file mode 100644
index 513dff49b24..00000000000
--- a/apps/files_versions/l10n/ms_MY.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Tidak dapat kembalikan: %s",
-"Versions" => "Versi",
-"Failed to revert {file} to revision {timestamp}." => "Gagal kembalikan {file} ke semakan {timestamp}.",
-"More versions..." => "Lagi versi...",
-"No other versions available" => "Tiada lagi versi lain",
-"Restore" => "Pulihkan"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/nb_NO.js b/apps/files_versions/l10n/nb_NO.js
new file mode 100644
index 00000000000..e3279e61bf8
--- /dev/null
+++ b/apps/files_versions/l10n/nb_NO.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Klarte ikke å tilbakeføre: %s",
+ "Versions" : "Versjoner",
+ "Failed to revert {file} to revision {timestamp}." : "Klarte ikke å tilbakeføre {file} til revisjon {timestamp}.",
+ "More versions..." : "Flere versjoner",
+ "No other versions available" : "Det finnes ingen andre versjoner",
+ "Restore" : "Gjenopprett"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/nb_NO.json b/apps/files_versions/l10n/nb_NO.json
new file mode 100644
index 00000000000..18c520014d1
--- /dev/null
+++ b/apps/files_versions/l10n/nb_NO.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Klarte ikke å tilbakeføre: %s",
+ "Versions" : "Versjoner",
+ "Failed to revert {file} to revision {timestamp}." : "Klarte ikke å tilbakeføre {file} til revisjon {timestamp}.",
+ "More versions..." : "Flere versjoner",
+ "No other versions available" : "Det finnes ingen andre versjoner",
+ "Restore" : "Gjenopprett"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/nb_NO.php b/apps/files_versions/l10n/nb_NO.php
deleted file mode 100644
index 4c0c8c65bac..00000000000
--- a/apps/files_versions/l10n/nb_NO.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Klarte ikke å tilbakeføre: %s",
-"Versions" => "Versjoner",
-"Failed to revert {file} to revision {timestamp}." => "Klarte ikke å tilbakeføre {file} til revisjon {timestamp}.",
-"More versions..." => "Flere versjoner",
-"No other versions available" => "Det finnes ingen andre versjoner",
-"Restore" => "Gjenopprett"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/nl.js b/apps/files_versions/l10n/nl.js
new file mode 100644
index 00000000000..53de2706f35
--- /dev/null
+++ b/apps/files_versions/l10n/nl.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Kon niet terugdraaien: %s",
+ "Versions" : "Versies",
+ "Failed to revert {file} to revision {timestamp}." : "Kon {file} niet terugdraaien naar revisie {timestamp}.",
+ "More versions..." : "Meer versies...",
+ "No other versions available" : "Geen andere versies beschikbaar",
+ "Restore" : "Herstellen"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/nl.json b/apps/files_versions/l10n/nl.json
new file mode 100644
index 00000000000..b564b5e54b3
--- /dev/null
+++ b/apps/files_versions/l10n/nl.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Kon niet terugdraaien: %s",
+ "Versions" : "Versies",
+ "Failed to revert {file} to revision {timestamp}." : "Kon {file} niet terugdraaien naar revisie {timestamp}.",
+ "More versions..." : "Meer versies...",
+ "No other versions available" : "Geen andere versies beschikbaar",
+ "Restore" : "Herstellen"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/nl.php b/apps/files_versions/l10n/nl.php
deleted file mode 100644
index ec7551d9596..00000000000
--- a/apps/files_versions/l10n/nl.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Kon niet terugdraaien: %s",
-"Versions" => "Versies",
-"Failed to revert {file} to revision {timestamp}." => "Kon {file} niet terugdraaien naar revisie {timestamp}.",
-"More versions..." => "Meer versies...",
-"No other versions available" => "Geen andere versies beschikbaar",
-"Restore" => "Herstellen"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/nn_NO.js b/apps/files_versions/l10n/nn_NO.js
new file mode 100644
index 00000000000..feedf5a9449
--- /dev/null
+++ b/apps/files_versions/l10n/nn_NO.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Klarte ikkje å tilbakestilla: %s",
+ "Versions" : "Utgåver",
+ "Failed to revert {file} to revision {timestamp}." : "Klarte ikkje å tilbakestilla {file} til utgåva {timestamp}.",
+ "More versions..." : "Fleire utgåver …",
+ "No other versions available" : "Ingen andre utgåver tilgjengeleg",
+ "Restore" : "Gjenopprett"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/nn_NO.json b/apps/files_versions/l10n/nn_NO.json
new file mode 100644
index 00000000000..96d410cfa04
--- /dev/null
+++ b/apps/files_versions/l10n/nn_NO.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Klarte ikkje å tilbakestilla: %s",
+ "Versions" : "Utgåver",
+ "Failed to revert {file} to revision {timestamp}." : "Klarte ikkje å tilbakestilla {file} til utgåva {timestamp}.",
+ "More versions..." : "Fleire utgåver …",
+ "No other versions available" : "Ingen andre utgåver tilgjengeleg",
+ "Restore" : "Gjenopprett"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/nn_NO.php b/apps/files_versions/l10n/nn_NO.php
deleted file mode 100644
index 608d72aaaed..00000000000
--- a/apps/files_versions/l10n/nn_NO.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Klarte ikkje å tilbakestilla: %s",
-"Versions" => "Utgåver",
-"Failed to revert {file} to revision {timestamp}." => "Klarte ikkje å tilbakestilla {file} til utgåva {timestamp}.",
-"More versions..." => "Fleire utgåver …",
-"No other versions available" => "Ingen andre utgåver tilgjengeleg",
-"Restore" => "Gjenopprett"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/pl.js b/apps/files_versions/l10n/pl.js
new file mode 100644
index 00000000000..dce5f500ef6
--- /dev/null
+++ b/apps/files_versions/l10n/pl.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nie można było przywrócić: %s",
+ "Versions" : "Wersje",
+ "Failed to revert {file} to revision {timestamp}." : "Nie udało się przywrócić {file} do wersji z {timestamp}.",
+ "More versions..." : "Więcej wersji...",
+ "No other versions available" : "Nie są dostępne żadne inne wersje",
+ "Restore" : "Przywróć"
+},
+"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_versions/l10n/pl.json b/apps/files_versions/l10n/pl.json
new file mode 100644
index 00000000000..68860dd115a
--- /dev/null
+++ b/apps/files_versions/l10n/pl.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nie można było przywrócić: %s",
+ "Versions" : "Wersje",
+ "Failed to revert {file} to revision {timestamp}." : "Nie udało się przywrócić {file} do wersji z {timestamp}.",
+ "More versions..." : "Więcej wersji...",
+ "No other versions available" : "Nie są dostępne żadne inne wersje",
+ "Restore" : "Przywróć"
+},"pluralForm" :"nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/pl.php b/apps/files_versions/l10n/pl.php
deleted file mode 100644
index 89018bf1176..00000000000
--- a/apps/files_versions/l10n/pl.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nie można było przywrócić: %s",
-"Versions" => "Wersje",
-"Failed to revert {file} to revision {timestamp}." => "Nie udało się przywrócić {file} do wersji z {timestamp}.",
-"More versions..." => "Więcej wersji...",
-"No other versions available" => "Nie są dostępne żadne inne wersje",
-"Restore" => "Przywróć"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";
diff --git a/apps/files_versions/l10n/pt_BR.js b/apps/files_versions/l10n/pt_BR.js
new file mode 100644
index 00000000000..229d935be22
--- /dev/null
+++ b/apps/files_versions/l10n/pt_BR.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Impossível reverter: %s",
+ "Versions" : "Versões",
+ "Failed to revert {file} to revision {timestamp}." : "Falha ao reverter {file} para a revisão {timestamp}.",
+ "More versions..." : "Mais versões...",
+ "No other versions available" : "Nenhuma outra versão disponível",
+ "Restore" : "Restaurar"
+},
+"nplurals=2; plural=(n > 1);");
diff --git a/apps/files_versions/l10n/pt_BR.json b/apps/files_versions/l10n/pt_BR.json
new file mode 100644
index 00000000000..11225a32b9f
--- /dev/null
+++ b/apps/files_versions/l10n/pt_BR.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Impossível reverter: %s",
+ "Versions" : "Versões",
+ "Failed to revert {file} to revision {timestamp}." : "Falha ao reverter {file} para a revisão {timestamp}.",
+ "More versions..." : "Mais versões...",
+ "No other versions available" : "Nenhuma outra versão disponível",
+ "Restore" : "Restaurar"
+},"pluralForm" :"nplurals=2; plural=(n > 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/pt_BR.php b/apps/files_versions/l10n/pt_BR.php
deleted file mode 100644
index b1958825b47..00000000000
--- a/apps/files_versions/l10n/pt_BR.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Impossível reverter: %s",
-"Versions" => "Versões",
-"Failed to revert {file} to revision {timestamp}." => "Falha ao reverter {file} para a revisão {timestamp}.",
-"More versions..." => "Mais versões...",
-"No other versions available" => "Nenhuma outra versão disponível",
-"Restore" => "Restaurar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n > 1);";
diff --git a/apps/files_versions/l10n/pt_PT.js b/apps/files_versions/l10n/pt_PT.js
new file mode 100644
index 00000000000..29ae6e3eef9
--- /dev/null
+++ b/apps/files_versions/l10n/pt_PT.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Não foi possível reverter: %s",
+ "Versions" : "Versões",
+ "Failed to revert {file} to revision {timestamp}." : "Falhou a recuperação do ficheiro {file} para a revisão {timestamp}.",
+ "More versions..." : "Mais versões...",
+ "No other versions available" : "Não existem versões mais antigas",
+ "Restore" : "Restaurar"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/pt_PT.json b/apps/files_versions/l10n/pt_PT.json
new file mode 100644
index 00000000000..4ce27f4c748
--- /dev/null
+++ b/apps/files_versions/l10n/pt_PT.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Não foi possível reverter: %s",
+ "Versions" : "Versões",
+ "Failed to revert {file} to revision {timestamp}." : "Falhou a recuperação do ficheiro {file} para a revisão {timestamp}.",
+ "More versions..." : "Mais versões...",
+ "No other versions available" : "Não existem versões mais antigas",
+ "Restore" : "Restaurar"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/pt_PT.php b/apps/files_versions/l10n/pt_PT.php
deleted file mode 100644
index e4371f53409..00000000000
--- a/apps/files_versions/l10n/pt_PT.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Não foi possível reverter: %s",
-"Versions" => "Versões",
-"Failed to revert {file} to revision {timestamp}." => "Falhou a recuperação do ficheiro {file} para a revisão {timestamp}.",
-"More versions..." => "Mais versões...",
-"No other versions available" => "Não existem versões mais antigas",
-"Restore" => "Restaurar"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/ro.js b/apps/files_versions/l10n/ro.js
new file mode 100644
index 00000000000..1c8d6382d9f
--- /dev/null
+++ b/apps/files_versions/l10n/ro.js
@@ -0,0 +1,10 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nu a putut reveni: %s",
+ "Versions" : "Versiuni",
+ "More versions..." : "Mai multe versiuni...",
+ "No other versions available" : "Nu există alte versiuni disponibile",
+ "Restore" : "Restabilire"
+},
+"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));");
diff --git a/apps/files_versions/l10n/ro.json b/apps/files_versions/l10n/ro.json
new file mode 100644
index 00000000000..3b2d0c795ab
--- /dev/null
+++ b/apps/files_versions/l10n/ro.json
@@ -0,0 +1,8 @@
+{ "translations": {
+ "Could not revert: %s" : "Nu a putut reveni: %s",
+ "Versions" : "Versiuni",
+ "More versions..." : "Mai multe versiuni...",
+ "No other versions available" : "Nu există alte versiuni disponibile",
+ "Restore" : "Restabilire"
+},"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ro.php b/apps/files_versions/l10n/ro.php
deleted file mode 100644
index cc8c6e19311..00000000000
--- a/apps/files_versions/l10n/ro.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nu a putut reveni: %s",
-"Versions" => "Versiuni",
-"More versions..." => "Mai multe versiuni...",
-"No other versions available" => "Nu există alte versiuni disponibile",
-"Restore" => "Restabilire"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));";
diff --git a/apps/files_versions/l10n/ru.js b/apps/files_versions/l10n/ru.js
new file mode 100644
index 00000000000..2dc12f9ff2a
--- /dev/null
+++ b/apps/files_versions/l10n/ru.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Не может быть возвращён: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Не удалось возвратить {file} к ревизии {timestamp}.",
+ "More versions..." : "Ещё версии...",
+ "No other versions available" : "Других версий не доступно",
+ "Restore" : "Восстановить"
+},
+"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_versions/l10n/ru.json b/apps/files_versions/l10n/ru.json
new file mode 100644
index 00000000000..fe1906bf467
--- /dev/null
+++ b/apps/files_versions/l10n/ru.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Не может быть возвращён: %s",
+ "Versions" : "Версии",
+ "Failed to revert {file} to revision {timestamp}." : "Не удалось возвратить {file} к ревизии {timestamp}.",
+ "More versions..." : "Ещё версии...",
+ "No other versions available" : "Других версий не доступно",
+ "Restore" : "Восстановить"
+},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ru.php b/apps/files_versions/l10n/ru.php
deleted file mode 100644
index 12f9f77b94d..00000000000
--- a/apps/files_versions/l10n/ru.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Не может быть возвращён: %s",
-"Versions" => "Версии",
-"Failed to revert {file} to revision {timestamp}." => "Не удалось возвратить {file} к ревизии {timestamp}.",
-"More versions..." => "Ещё версии...",
-"No other versions available" => "Других версий не доступно",
-"Restore" => "Восстановить"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";
diff --git a/apps/files_versions/l10n/si_LK.js b/apps/files_versions/l10n/si_LK.js
new file mode 100644
index 00000000000..1d7ab4ef254
--- /dev/null
+++ b/apps/files_versions/l10n/si_LK.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "අනුවාද"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/si_LK.json b/apps/files_versions/l10n/si_LK.json
new file mode 100644
index 00000000000..161b51d25a4
--- /dev/null
+++ b/apps/files_versions/l10n/si_LK.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Versions" : "අනුවාද"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/si_LK.php b/apps/files_versions/l10n/si_LK.php
deleted file mode 100644
index 7ee8da049b7..00000000000
--- a/apps/files_versions/l10n/si_LK.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "අනුවාද"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/sk_SK.js b/apps/files_versions/l10n/sk_SK.js
new file mode 100644
index 00000000000..1433f42f2b5
--- /dev/null
+++ b/apps/files_versions/l10n/sk_SK.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nemožno obnoviť: %s",
+ "Versions" : "Verzie",
+ "Failed to revert {file} to revision {timestamp}." : "Zlyhalo obnovenie súboru {file} na verziu {timestamp}.",
+ "More versions..." : "Viac verzií...",
+ "No other versions available" : "Žiadne ďalšie verzie nie sú dostupné",
+ "Restore" : "Obnoviť"
+},
+"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;");
diff --git a/apps/files_versions/l10n/sk_SK.json b/apps/files_versions/l10n/sk_SK.json
new file mode 100644
index 00000000000..da8a7b02ca9
--- /dev/null
+++ b/apps/files_versions/l10n/sk_SK.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nemožno obnoviť: %s",
+ "Versions" : "Verzie",
+ "Failed to revert {file} to revision {timestamp}." : "Zlyhalo obnovenie súboru {file} na verziu {timestamp}.",
+ "More versions..." : "Viac verzií...",
+ "No other versions available" : "Žiadne ďalšie verzie nie sú dostupné",
+ "Restore" : "Obnoviť"
+},"pluralForm" :"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/sk_SK.php b/apps/files_versions/l10n/sk_SK.php
deleted file mode 100644
index 5edcea3606c..00000000000
--- a/apps/files_versions/l10n/sk_SK.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nemožno obnoviť: %s",
-"Versions" => "Verzie",
-"Failed to revert {file} to revision {timestamp}." => "Zlyhalo obnovenie súboru {file} na verziu {timestamp}.",
-"More versions..." => "Viac verzií...",
-"No other versions available" => "Žiadne ďalšie verzie nie sú dostupné",
-"Restore" => "Obnoviť"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;";
diff --git a/apps/files_versions/l10n/sl.js b/apps/files_versions/l10n/sl.js
new file mode 100644
index 00000000000..abbf4a803d8
--- /dev/null
+++ b/apps/files_versions/l10n/sl.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Ni mogoče povrniti: %s",
+ "Versions" : "Različice",
+ "Failed to revert {file} to revision {timestamp}." : "Povrnitev datoteke {file} na objavo {timestamp} je spodletelo.",
+ "More versions..." : "Več različic",
+ "No other versions available" : "Ni drugih različic",
+ "Restore" : "Obnovi"
+},
+"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);");
diff --git a/apps/files_versions/l10n/sl.json b/apps/files_versions/l10n/sl.json
new file mode 100644
index 00000000000..581c9aab594
--- /dev/null
+++ b/apps/files_versions/l10n/sl.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Ni mogoče povrniti: %s",
+ "Versions" : "Različice",
+ "Failed to revert {file} to revision {timestamp}." : "Povrnitev datoteke {file} na objavo {timestamp} je spodletelo.",
+ "More versions..." : "Več različic",
+ "No other versions available" : "Ni drugih različic",
+ "Restore" : "Obnovi"
+},"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/sl.php b/apps/files_versions/l10n/sl.php
deleted file mode 100644
index 08b2f03e4c1..00000000000
--- a/apps/files_versions/l10n/sl.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Ni mogoče povrniti: %s",
-"Versions" => "Različice",
-"Failed to revert {file} to revision {timestamp}." => "Povrnitev datoteke {file} na objavo {timestamp} je spodletelo.",
-"More versions..." => "Več različic",
-"No other versions available" => "Ni drugih različic",
-"Restore" => "Obnovi"
-);
-$PLURAL_FORMS = "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);";
diff --git a/apps/files_versions/l10n/sq.js b/apps/files_versions/l10n/sq.js
new file mode 100644
index 00000000000..5330b36aad5
--- /dev/null
+++ b/apps/files_versions/l10n/sq.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Nuk mund të ktheje: %s",
+ "Versions" : "Versioni",
+ "Failed to revert {file} to revision {timestamp}." : "Dështoi në ktheje {skedar} të rishikimit {kohëstampe}.",
+ "More versions..." : "Versione m'shumë...",
+ "No other versions available" : "Nuk ka versione të tjera në dispozicion",
+ "Restore" : "Rivendos"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/sq.json b/apps/files_versions/l10n/sq.json
new file mode 100644
index 00000000000..994772c8e3e
--- /dev/null
+++ b/apps/files_versions/l10n/sq.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Nuk mund të ktheje: %s",
+ "Versions" : "Versioni",
+ "Failed to revert {file} to revision {timestamp}." : "Dështoi në ktheje {skedar} të rishikimit {kohëstampe}.",
+ "More versions..." : "Versione m'shumë...",
+ "No other versions available" : "Nuk ka versione të tjera në dispozicion",
+ "Restore" : "Rivendos"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/sq.php b/apps/files_versions/l10n/sq.php
deleted file mode 100644
index e8a0e797485..00000000000
--- a/apps/files_versions/l10n/sq.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Nuk mund të ktheje: %s",
-"Versions" => "Versioni",
-"Failed to revert {file} to revision {timestamp}." => "Dështoi në ktheje {skedar} të rishikimit {kohëstampe}.",
-"More versions..." => "Versione m'shumë...",
-"No other versions available" => "Nuk ka versione të tjera në dispozicion",
-"Restore" => "Rivendos"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/sr.js b/apps/files_versions/l10n/sr.js
new file mode 100644
index 00000000000..be85270b3aa
--- /dev/null
+++ b/apps/files_versions/l10n/sr.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Restore" : "Врати"
+},
+"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_versions/l10n/sr.json b/apps/files_versions/l10n/sr.json
new file mode 100644
index 00000000000..744ab3c4b72
--- /dev/null
+++ b/apps/files_versions/l10n/sr.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Restore" : "Врати"
+},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/sr.php b/apps/files_versions/l10n/sr.php
deleted file mode 100644
index d4eb0be19cb..00000000000
--- a/apps/files_versions/l10n/sr.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Restore" => "Врати"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";
diff --git a/apps/files_versions/l10n/sv.js b/apps/files_versions/l10n/sv.js
new file mode 100644
index 00000000000..6ff23cc5635
--- /dev/null
+++ b/apps/files_versions/l10n/sv.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Kunde inte återställa: %s",
+ "Versions" : "Versioner",
+ "Failed to revert {file} to revision {timestamp}." : "Kunde inte återställa {file} till revision {timestamp}.",
+ "More versions..." : "Fler versioner...",
+ "No other versions available" : "Inga andra versioner tillgängliga",
+ "Restore" : "Återskapa"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/sv.json b/apps/files_versions/l10n/sv.json
new file mode 100644
index 00000000000..ccf056f6f0f
--- /dev/null
+++ b/apps/files_versions/l10n/sv.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Kunde inte återställa: %s",
+ "Versions" : "Versioner",
+ "Failed to revert {file} to revision {timestamp}." : "Kunde inte återställa {file} till revision {timestamp}.",
+ "More versions..." : "Fler versioner...",
+ "No other versions available" : "Inga andra versioner tillgängliga",
+ "Restore" : "Återskapa"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/sv.php b/apps/files_versions/l10n/sv.php
deleted file mode 100644
index 0fd073d5cbe..00000000000
--- a/apps/files_versions/l10n/sv.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Kunde inte återställa: %s",
-"Versions" => "Versioner",
-"Failed to revert {file} to revision {timestamp}." => "Kunde inte återställa {file} till revision {timestamp}.",
-"More versions..." => "Fler versioner...",
-"No other versions available" => "Inga andra versioner tillgängliga",
-"Restore" => "Återskapa"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/ta_LK.js b/apps/files_versions/l10n/ta_LK.js
new file mode 100644
index 00000000000..f03d2e0ff9d
--- /dev/null
+++ b/apps/files_versions/l10n/ta_LK.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "பதிப்புகள்"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/ta_LK.json b/apps/files_versions/l10n/ta_LK.json
new file mode 100644
index 00000000000..4418ed3b7fb
--- /dev/null
+++ b/apps/files_versions/l10n/ta_LK.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Versions" : "பதிப்புகள்"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ta_LK.php b/apps/files_versions/l10n/ta_LK.php
deleted file mode 100644
index 3c21735fa84..00000000000
--- a/apps/files_versions/l10n/ta_LK.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "பதிப்புகள்"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/th_TH.js b/apps/files_versions/l10n/th_TH.js
new file mode 100644
index 00000000000..72a456dc0ce
--- /dev/null
+++ b/apps/files_versions/l10n/th_TH.js
@@ -0,0 +1,7 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "รุ่น",
+ "Restore" : "คืนค่า"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/th_TH.json b/apps/files_versions/l10n/th_TH.json
new file mode 100644
index 00000000000..1d87f34b101
--- /dev/null
+++ b/apps/files_versions/l10n/th_TH.json
@@ -0,0 +1,5 @@
+{ "translations": {
+ "Versions" : "รุ่น",
+ "Restore" : "คืนค่า"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/th_TH.php b/apps/files_versions/l10n/th_TH.php
deleted file mode 100644
index 97c89b2f809..00000000000
--- a/apps/files_versions/l10n/th_TH.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "รุ่น",
-"Restore" => "คืนค่า"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/tr.js b/apps/files_versions/l10n/tr.js
new file mode 100644
index 00000000000..ad248adc1dd
--- /dev/null
+++ b/apps/files_versions/l10n/tr.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Geri alınamayan: %s",
+ "Versions" : "Sürümler",
+ "Failed to revert {file} to revision {timestamp}." : "{file} dosyası {timestamp} gözden geçirmesine geri alınamadı.",
+ "More versions..." : "Daha fazla sürüm...",
+ "No other versions available" : "Başka sürüm mevcut değil",
+ "Restore" : "Geri yükle"
+},
+"nplurals=2; plural=(n > 1);");
diff --git a/apps/files_versions/l10n/tr.json b/apps/files_versions/l10n/tr.json
new file mode 100644
index 00000000000..49731d545c6
--- /dev/null
+++ b/apps/files_versions/l10n/tr.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Geri alınamayan: %s",
+ "Versions" : "Sürümler",
+ "Failed to revert {file} to revision {timestamp}." : "{file} dosyası {timestamp} gözden geçirmesine geri alınamadı.",
+ "More versions..." : "Daha fazla sürüm...",
+ "No other versions available" : "Başka sürüm mevcut değil",
+ "Restore" : "Geri yükle"
+},"pluralForm" :"nplurals=2; plural=(n > 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/tr.php b/apps/files_versions/l10n/tr.php
deleted file mode 100644
index 73b77360a2f..00000000000
--- a/apps/files_versions/l10n/tr.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Geri alınamayan: %s",
-"Versions" => "Sürümler",
-"Failed to revert {file} to revision {timestamp}." => "{file} dosyası {timestamp} gözden geçirmesine geri alınamadı.",
-"More versions..." => "Daha fazla sürüm...",
-"No other versions available" => "Başka sürüm mevcut değil",
-"Restore" => "Geri yükle"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n > 1);";
diff --git a/apps/files_versions/l10n/ug.js b/apps/files_versions/l10n/ug.js
new file mode 100644
index 00000000000..d0fc24b831f
--- /dev/null
+++ b/apps/files_versions/l10n/ug.js
@@ -0,0 +1,7 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "ئەسلىگە قايتۇرالمايدۇ: %s",
+ "Versions" : "نەشرى"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/ug.json b/apps/files_versions/l10n/ug.json
new file mode 100644
index 00000000000..84f12cdc23a
--- /dev/null
+++ b/apps/files_versions/l10n/ug.json
@@ -0,0 +1,5 @@
+{ "translations": {
+ "Could not revert: %s" : "ئەسلىگە قايتۇرالمايدۇ: %s",
+ "Versions" : "نەشرى"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ug.php b/apps/files_versions/l10n/ug.php
deleted file mode 100644
index 984e6c314c7..00000000000
--- a/apps/files_versions/l10n/ug.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "ئەسلىگە قايتۇرالمايدۇ: %s",
-"Versions" => "نەشرى"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/uk.js b/apps/files_versions/l10n/uk.js
new file mode 100644
index 00000000000..02947793545
--- /dev/null
+++ b/apps/files_versions/l10n/uk.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Не вдалося відновити: %s",
+ "Versions" : "Версії",
+ "Failed to revert {file} to revision {timestamp}." : "Не вдалося повернути {file} до ревізії {timestamp}.",
+ "More versions..." : "Більше версій ...",
+ "No other versions available" : "Інші версії недоступні",
+ "Restore" : "Відновити"
+},
+"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);");
diff --git a/apps/files_versions/l10n/uk.json b/apps/files_versions/l10n/uk.json
new file mode 100644
index 00000000000..6571b1fe2b5
--- /dev/null
+++ b/apps/files_versions/l10n/uk.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Не вдалося відновити: %s",
+ "Versions" : "Версії",
+ "Failed to revert {file} to revision {timestamp}." : "Не вдалося повернути {file} до ревізії {timestamp}.",
+ "More versions..." : "Більше версій ...",
+ "No other versions available" : "Інші версії недоступні",
+ "Restore" : "Відновити"
+},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/uk.php b/apps/files_versions/l10n/uk.php
deleted file mode 100644
index 2f87a9e703b..00000000000
--- a/apps/files_versions/l10n/uk.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Не вдалося відновити: %s",
-"Versions" => "Версії",
-"Failed to revert {file} to revision {timestamp}." => "Не вдалося повернути {file} до ревізії {timestamp}.",
-"More versions..." => "Більше версій ...",
-"No other versions available" => "Інші версії недоступні",
-"Restore" => "Відновити"
-);
-$PLURAL_FORMS = "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);";
diff --git a/apps/files_versions/l10n/ur_PK.js b/apps/files_versions/l10n/ur_PK.js
new file mode 100644
index 00000000000..ae55363a2dd
--- /dev/null
+++ b/apps/files_versions/l10n/ur_PK.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Restore" : "بحال"
+},
+"nplurals=2; plural=(n != 1);");
diff --git a/apps/files_versions/l10n/ur_PK.json b/apps/files_versions/l10n/ur_PK.json
new file mode 100644
index 00000000000..bfbcb42de28
--- /dev/null
+++ b/apps/files_versions/l10n/ur_PK.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Restore" : "بحال"
+},"pluralForm" :"nplurals=2; plural=(n != 1);"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/ur_PK.php b/apps/files_versions/l10n/ur_PK.php
deleted file mode 100644
index bbf2391a93e..00000000000
--- a/apps/files_versions/l10n/ur_PK.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Restore" => "بحال"
-);
-$PLURAL_FORMS = "nplurals=2; plural=(n != 1);";
diff --git a/apps/files_versions/l10n/vi.js b/apps/files_versions/l10n/vi.js
new file mode 100644
index 00000000000..08f6c9bb25e
--- /dev/null
+++ b/apps/files_versions/l10n/vi.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "Không thể khôi phục: %s",
+ "Versions" : "Phiên bản",
+ "Failed to revert {file} to revision {timestamp}." : "Thất bại khi trở lại {file} khi sử đổi {timestamp}.",
+ "More versions..." : "Nhiều phiên bản ...",
+ "No other versions available" : "Không có các phiên bản khác có sẵn",
+ "Restore" : "Khôi phục"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/vi.json b/apps/files_versions/l10n/vi.json
new file mode 100644
index 00000000000..21b8a964fe0
--- /dev/null
+++ b/apps/files_versions/l10n/vi.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "Không thể khôi phục: %s",
+ "Versions" : "Phiên bản",
+ "Failed to revert {file} to revision {timestamp}." : "Thất bại khi trở lại {file} khi sử đổi {timestamp}.",
+ "More versions..." : "Nhiều phiên bản ...",
+ "No other versions available" : "Không có các phiên bản khác có sẵn",
+ "Restore" : "Khôi phục"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/vi.php b/apps/files_versions/l10n/vi.php
deleted file mode 100644
index a6f515ed0ad..00000000000
--- a/apps/files_versions/l10n/vi.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "Không thể khôi phục: %s",
-"Versions" => "Phiên bản",
-"Failed to revert {file} to revision {timestamp}." => "Thất bại khi trở lại {file} khi sử đổi {timestamp}.",
-"More versions..." => "Nhiều phiên bản ...",
-"No other versions available" => "Không có các phiên bản khác có sẵn",
-"Restore" => "Khôi phục"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/zh_CN.js b/apps/files_versions/l10n/zh_CN.js
new file mode 100644
index 00000000000..8c1ca7ad3ee
--- /dev/null
+++ b/apps/files_versions/l10n/zh_CN.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "无法恢复: %s",
+ "Versions" : "版本",
+ "Failed to revert {file} to revision {timestamp}." : "无法恢复 {file} 到 {timestamp} 的版本。",
+ "More versions..." : "更多版本...",
+ "No other versions available" : "无其他版本可用",
+ "Restore" : "恢复"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/zh_CN.json b/apps/files_versions/l10n/zh_CN.json
new file mode 100644
index 00000000000..4ffb09503b0
--- /dev/null
+++ b/apps/files_versions/l10n/zh_CN.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "无法恢复: %s",
+ "Versions" : "版本",
+ "Failed to revert {file} to revision {timestamp}." : "无法恢复 {file} 到 {timestamp} 的版本。",
+ "More versions..." : "更多版本...",
+ "No other versions available" : "无其他版本可用",
+ "Restore" : "恢复"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/zh_CN.php b/apps/files_versions/l10n/zh_CN.php
deleted file mode 100644
index 279ec2eff82..00000000000
--- a/apps/files_versions/l10n/zh_CN.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "无法恢复: %s",
-"Versions" => "版本",
-"Failed to revert {file} to revision {timestamp}." => "无法恢复 {file} 到 {timestamp} 的版本。",
-"More versions..." => "更多版本...",
-"No other versions available" => "无其他版本可用",
-"Restore" => "恢复"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/zh_HK.js b/apps/files_versions/l10n/zh_HK.js
new file mode 100644
index 00000000000..bdee63494d7
--- /dev/null
+++ b/apps/files_versions/l10n/zh_HK.js
@@ -0,0 +1,6 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Versions" : "版本"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/zh_HK.json b/apps/files_versions/l10n/zh_HK.json
new file mode 100644
index 00000000000..bbf91817b11
--- /dev/null
+++ b/apps/files_versions/l10n/zh_HK.json
@@ -0,0 +1,4 @@
+{ "translations": {
+ "Versions" : "版本"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/zh_HK.php b/apps/files_versions/l10n/zh_HK.php
deleted file mode 100644
index 6d249af4b16..00000000000
--- a/apps/files_versions/l10n/zh_HK.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Versions" => "版本"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";
diff --git a/apps/files_versions/l10n/zh_TW.js b/apps/files_versions/l10n/zh_TW.js
new file mode 100644
index 00000000000..8094658394e
--- /dev/null
+++ b/apps/files_versions/l10n/zh_TW.js
@@ -0,0 +1,11 @@
+OC.L10N.register(
+ "files_versions",
+ {
+ "Could not revert: %s" : "無法還原:%s",
+ "Versions" : "版本",
+ "Failed to revert {file} to revision {timestamp}." : "無法還原檔案 {file} 至版本 {timestamp}",
+ "More versions..." : "更多版本…",
+ "No other versions available" : "沒有其他版本了",
+ "Restore" : "復原"
+},
+"nplurals=1; plural=0;");
diff --git a/apps/files_versions/l10n/zh_TW.json b/apps/files_versions/l10n/zh_TW.json
new file mode 100644
index 00000000000..0766f66976f
--- /dev/null
+++ b/apps/files_versions/l10n/zh_TW.json
@@ -0,0 +1,9 @@
+{ "translations": {
+ "Could not revert: %s" : "無法還原:%s",
+ "Versions" : "版本",
+ "Failed to revert {file} to revision {timestamp}." : "無法還原檔案 {file} 至版本 {timestamp}",
+ "More versions..." : "更多版本…",
+ "No other versions available" : "沒有其他版本了",
+ "Restore" : "復原"
+},"pluralForm" :"nplurals=1; plural=0;"
+} \ No newline at end of file
diff --git a/apps/files_versions/l10n/zh_TW.php b/apps/files_versions/l10n/zh_TW.php
deleted file mode 100644
index 9b8900fd8e1..00000000000
--- a/apps/files_versions/l10n/zh_TW.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-$TRANSLATIONS = array(
-"Could not revert: %s" => "無法還原:%s",
-"Versions" => "版本",
-"Failed to revert {file} to revision {timestamp}." => "無法還原檔案 {file} 至版本 {timestamp}",
-"More versions..." => "更多版本…",
-"No other versions available" => "沒有其他版本了",
-"Restore" => "復原"
-);
-$PLURAL_FORMS = "nplurals=1; plural=0;";