summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-02-09 08:42:13 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-02-09 08:42:13 +0000
commitdce6548431c4d61ab6c532375a0f030d8de72fd1 (patch)
tree2f39eda105cc270f80580452ab36fac72b6a1375 /core/models
parentfa1f49d99a30a029d1a4e09b820c639d639f6283 (diff)
Add local localization functionality. Local = no means to upload / download translations to a translation server yet.
- Added an outgoing_translations table to store translations from the local translation UI. - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority. - Not handling plural strings in the translations UI yet.
Diffstat (limited to 'core/models')
-rw-r--r--core/models/outgoing_translation.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/models/outgoing_translation.php b/core/models/outgoing_translation.php
new file mode 100644
index 00000000..cd5d3267
--- /dev/null
+++ b/core/models/outgoing_translation.php
@@ -0,0 +1,21 @@
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2008 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+class Outgoing_Translation_Model extends ORM {
+}