From 9d3160e354918d84b84e6979cbd5215435ef3f5c Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Tue, 14 Apr 2015 19:31:39 +0200 Subject: [PATCH] lib/lang: move translations to json based files This should ease translation efforts #9 Signed-off-by: Jerome Jutteau --- install.php | 2 +- lib/lang.php | 33 ++++--- lib/lang/lang_fr.php | 178 -------------------------------------- lib/lang/template.php | 158 --------------------------------- lib/locales/fr.json | 141 ++++++++++++++++++++++++++++++ lib/locales/template.json | 141 ++++++++++++++++++++++++++++++ 6 files changed, 304 insertions(+), 349 deletions(-) delete mode 100644 lib/lang/lang_fr.php delete mode 100644 lib/lang/template.php create mode 100644 lib/locales/fr.json create mode 100644 lib/locales/template.json diff --git a/install.php b/install.php index 5226f1b..451ebe3 100644 --- a/install.php +++ b/install.php @@ -249,7 +249,7 @@ case 2: "2">