summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-08 06:52:18 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-08 06:52:18 +0000
commit2917740ba6d210ef43d4de228f8386e3b28adf62 (patch)
tree596abbb05c57dd0f017727741dc38a1545125be7 /core/models
parente9d61d5f9df80e4304abf60f5dde99b54eefad71 (diff)
First step of i18n refactoring:
- Using DB table translations_incomings as translations storage (file cache to be added) - Removed overly complex i18n code which will be unnecessary with the future compiled cache files - Added t() as a translation function (global refactoring from _() to t() to follow)
Diffstat (limited to 'core/models')
-rw-r--r--core/models/translations_incoming.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/models/translations_incoming.php b/core/models/translations_incoming.php
new file mode 100644
index 00000000..4dc8d2dd
--- /dev/null
+++ b/core/models/translations_incoming.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 Translations_Incoming_Model extends ORM {
+}