diff options
Diffstat (limited to 'tests/UnitTests/framework/I18N/messages')
28 files changed, 347 insertions, 0 deletions
diff --git a/tests/UnitTests/framework/I18N/messages/en/tests.mo b/tests/UnitTests/framework/I18N/messages/en/tests.mo Binary files differnew file mode 100644 index 00000000..ee243202 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en/tests.mo diff --git a/tests/UnitTests/framework/I18N/messages/en/tests.po b/tests/UnitTests/framework/I18N/messages/en/tests.po new file mode 100644 index 00000000..07860851 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en/tests.po @@ -0,0 +1,18 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2005-01-09 14:11+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Hello"
+msgstr "hello"
+
+msgid "Goodbye"
+msgstr "Sayonara"
+
diff --git a/tests/UnitTests/framework/I18N/messages/en/tests.xml b/tests/UnitTests/framework/I18N/messages/en/tests.xml new file mode 100644 index 00000000..dbcd6831 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en/tests.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: tests.xml,v 1.1 2005/01/09 22:15:32 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Hello</source>
+ <target>hello</target>
+ </trans-unit>
+ <trans-unit id="2">
+ <source>Goodbye</source>
+ <target>Sayonara</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo b/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo Binary files differnew file mode 100644 index 00000000..a9a26db2 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo.bak b/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo.bak Binary files differnew file mode 100644 index 00000000..a9a26db2 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.mo.bak diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.po b/tests/UnitTests/framework/I18N/messages/en_AU/tests.po new file mode 100644 index 00000000..9f81f650 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.po @@ -0,0 +1,15 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2004-12-25 12:25+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Hello"
+msgstr "Howdy!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.po.bak b/tests/UnitTests/framework/I18N/messages/en_AU/tests.po.bak new file mode 100644 index 00000000..9f81f650 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.po.bak @@ -0,0 +1,15 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2004-12-25 12:25+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Hello"
+msgstr "Howdy!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml b/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml new file mode 100644 index 00000000..7ed84220 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: tests.xml.bak,v 1.1 2005/01/09 22:15:33 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Hello</source>
+ <target>Howdy!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
diff --git a/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml.bak b/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml.bak new file mode 100644 index 00000000..7ed84220 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/en_AU/tests.xml.bak @@ -0,0 +1,13 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: tests.xml.bak,v 1.1 2005/01/09 22:15:33 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Hello</source>
+ <target>Howdy!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
diff --git a/tests/UnitTests/framework/I18N/messages/messages.db b/tests/UnitTests/framework/I18N/messages/messages.db Binary files differnew file mode 100644 index 00000000..73b518c5 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.db diff --git a/tests/UnitTests/framework/I18N/messages/messages.db.bak b/tests/UnitTests/framework/I18N/messages/messages.db.bak Binary files differnew file mode 100644 index 00000000..73b518c5 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.db.bak diff --git a/tests/UnitTests/framework/I18N/messages/messages.en.mo b/tests/UnitTests/framework/I18N/messages/messages.en.mo Binary files differnew file mode 100644 index 00000000..db8838e3 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en.mo diff --git a/tests/UnitTests/framework/I18N/messages/messages.en.po b/tests/UnitTests/framework/I18N/messages/messages.en.po new file mode 100644 index 00000000..9299045c --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en.po @@ -0,0 +1,15 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2004-12-25 12:26+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Hello"
+msgstr "Hello :)"
+
diff --git a/tests/UnitTests/framework/I18N/messages/messages.en.xml b/tests/UnitTests/framework/I18N/messages/messages.en.xml new file mode 100644 index 00000000..c3eb465b --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: messages.en.xml,v 1.1 2004/12/28 09:28:07 weizhuo Exp $ -->
+ <file
+ source-language="EN"
+ target-language="EN"
+ datatype="plaintext"
+ original="articles.php"
+ date="2002-01-25T21:06:00Z"
+ product-name="Articles">
+ <body>
+ <trans-unit id='1'>
+ <source>Hello</source>
+ <target>Hello :)</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
\ No newline at end of file diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo b/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo Binary files differnew file mode 100644 index 00000000..f4822800 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo.bak b/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo.bak Binary files differnew file mode 100644 index 00000000..f4822800 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.mo.bak diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.po b/tests/UnitTests/framework/I18N/messages/messages.en_AU.po new file mode 100644 index 00000000..d795be2b --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.po @@ -0,0 +1,18 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2005-01-09 14:02:25\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\ ests\n"
+
+msgid "Hello"
+msgstr "G'day Mate!"
+
+msgid "Welcome"
+msgstr "Welcome Mate!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.po.bak b/tests/UnitTests/framework/I18N/messages/messages.en_AU.po.bak new file mode 100644 index 00000000..d795be2b --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.po.bak @@ -0,0 +1,18 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2005-01-09 14:02:25\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\ ests\n"
+
+msgid "Hello"
+msgstr "G'day Mate!"
+
+msgid "Welcome"
+msgstr "Welcome Mate!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml b/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml new file mode 100644 index 00000000..cb4c4255 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: messages.en_AU.xml.bak,v 1.1 2005/01/09 22:15:32 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Hello</source>
+ <target>G'day Mate!</target>
+ </trans-unit>
+ <trans-unit id="2">
+ <source>Welcome</source>
+ <target>Welcome Mate!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
diff --git a/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml.bak b/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml.bak new file mode 100644 index 00000000..cb4c4255 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.en_AU.xml.bak @@ -0,0 +1,17 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: messages.en_AU.xml.bak,v 1.1 2005/01/09 22:15:32 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Hello</source>
+ <target>G'day Mate!</target>
+ </trans-unit>
+ <trans-unit id="2">
+ <source>Welcome</source>
+ <target>Welcome Mate!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
diff --git a/tests/UnitTests/framework/I18N/messages/messages.mo b/tests/UnitTests/framework/I18N/messages/messages.mo Binary files differnew file mode 100644 index 00000000..12cf1ff8 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.mo diff --git a/tests/UnitTests/framework/I18N/messages/messages.po b/tests/UnitTests/framework/I18N/messages/messages.po new file mode 100644 index 00000000..ade60e01 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.po @@ -0,0 +1,18 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2004-12-25 12:25+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Hello"
+msgstr "Hello World"
+
+msgid "Welcome"
+msgstr "Welcome!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/messages.xml b/tests/UnitTests/framework/I18N/messages/messages.xml new file mode 100644 index 00000000..5fe588b6 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: messages.xml,v 1.1 2004/12/28 09:28:07 weizhuo Exp $ -->
+ <file
+ source-language="EN"
+ target-language="EN"
+ datatype="plaintext"
+ original="articles.php"
+ date="2002-01-25T21:06:00Z"
+ product-name="Articles">
+ <body>
+ <trans-unit id='1'>
+ <source>Hello</source>
+ <target>Hello World</target>
+ </trans-unit>
+ <trans-unit id='2'>
+ <source>Welcome</source>
+ <target>Welcome!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
\ No newline at end of file diff --git a/tests/UnitTests/framework/I18N/messages/messages_mysql.sql b/tests/UnitTests/framework/I18N/messages/messages_mysql.sql new file mode 100644 index 00000000..811010c4 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/messages_mysql.sql @@ -0,0 +1,69 @@ +# phpMyAdmin SQL Dump
+# version 2.5.5-rc2
+# http://www.phpmyadmin.net
+#
+# Host: localhost
+# Generation Time: Jan 09, 2005 at 09:24 PM
+# Server version: 4.0.17
+# PHP Version: 5.0.2
+#
+# Database : `messages`
+#
+
+# --------------------------------------------------------
+
+#
+# Table structure for table `catalogue`
+#
+
+DROP TABLE IF EXISTS catalogue;
+CREATE TABLE catalogue (
+ cat_id int(11) NOT NULL auto_increment,
+ name varchar(100) NOT NULL default '',
+ source_lang varchar(100) NOT NULL default '',
+ target_lang varchar(100) NOT NULL default '',
+ date_created int(11) NOT NULL default '0',
+ date_modified int(11) NOT NULL default '0',
+ author varchar(255) NOT NULL default '',
+ PRIMARY KEY (cat_id)
+) TYPE=MyISAM AUTO_INCREMENT=7 ;
+
+
+INSERT INTO catalogue VALUES ('1', 'messages', '', '', '', '1103936017', '');
+INSERT INTO catalogue VALUES ('2', 'messages.en', '', '', '', '1103936017', '');
+INSERT INTO catalogue VALUES ('3', 'messages.en_AU', '', '', '', '1105250301', '');
+INSERT INTO catalogue VALUES ('4', 'tests', '', '', '', '1103936017', '');
+INSERT INTO catalogue VALUES ('5', 'tests.en', '', '', '', '1103936017', '');
+INSERT INTO catalogue VALUES ('6', 'tests.en_AU', '', '', '', '1103936017', '');
+
+# --------------------------------------------------------
+
+#
+# Table structure for table `trans_unit`
+#
+
+DROP TABLE IF EXISTS trans_unit;
+CREATE TABLE trans_unit (
+ msg_id int(11) NOT NULL auto_increment,
+ cat_id int(11) NOT NULL default '1',
+ id varchar(255) NOT NULL default '',
+ source text NOT NULL,
+ target text NOT NULL,
+ comments text NOT NULL,
+ date_added int(11) NOT NULL default '0',
+ date_modified int(11) NOT NULL default '0',
+ author varchar(255) NOT NULL default '',
+ translated tinyint(1) NOT NULL default '0',
+ PRIMARY KEY (msg_id)
+) TYPE=MyISAM AUTO_INCREMENT=19 ;
+
+INSERT INTO trans_unit VALUES ('1', '1', '1', 'Hello', 'Hello World', '', '', '', '', '1');
+INSERT INTO trans_unit VALUES ('2', '2', '1', 'Hello', 'Hello :)', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('3', '1', '1', 'Welcome', 'Welcome!', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('4', '3', '1', 'Hello', 'G''day Mate!', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('5', '3', '2', 'Welcome', 'Welcome Mate!', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('13', '4', '1', 'Goodbye', 'Aloha!', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('14', '4', '2', 'Welcome', 'Ho Ho!', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('15', '5', '1', 'Hello', 'hello', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('16', '5', '2', 'Goodbye', 'Sayonara', '', '', '', '', '0');
+INSERT INTO trans_unit VALUES ('17', '6', '1', 'Hello', 'Howdy!', '', '', '', '', '0');
\ No newline at end of file diff --git a/tests/UnitTests/framework/I18N/messages/tests.en_AU.po b/tests/UnitTests/framework/I18N/messages/tests.en_AU.po new file mode 100644 index 00000000..fda7021d --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/tests.en_AU.po @@ -0,0 +1,7 @@ +msgid ""
+msgstr ""
+"PO-Revision-Date: 2005-01-09 14:17:13\n"
+
+msgid "Testing123"
+msgstr ""
+
diff --git a/tests/UnitTests/framework/I18N/messages/tests.mo b/tests/UnitTests/framework/I18N/messages/tests.mo Binary files differnew file mode 100644 index 00000000..394b6196 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/tests.mo diff --git a/tests/UnitTests/framework/I18N/messages/tests.po b/tests/UnitTests/framework/I18N/messages/tests.po new file mode 100644 index 00000000..4f5f3fbc --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/tests.po @@ -0,0 +1,18 @@ +msgid ""
+msgstr ""
+"Project-Id-Version: I18N Tests\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2005-01-09 14:07+1000\n"
+"Last-Translator: \n"
+"Language-Team: Wei Zhuo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Basepath: F:\\www\\prado\\framework\\I18N\\tests\n"
+
+msgid "Goodbye"
+msgstr "Aloha!"
+
+msgid "Welcome"
+msgstr "Ho Ho!"
+
diff --git a/tests/UnitTests/framework/I18N/messages/tests.xml b/tests/UnitTests/framework/I18N/messages/tests.xml new file mode 100644 index 00000000..73f404b1 --- /dev/null +++ b/tests/UnitTests/framework/I18N/messages/tests.xml @@ -0,0 +1,17 @@ +<?xml version="1.0"?>
+<xliff version="1.0">
+<!-- @author $Author: weizhuo $ -->
+<!-- @version $Id: tests.xml,v 1.1 2005/01/09 22:15:32 weizhuo Exp $ -->
+ <file source-language="EN" target-language="EN-AU" datatype="plaintext" original="articles.php" date="2002-01-25T21:06:01Z" product-name="Articles">
+ <body>
+ <trans-unit id="1">
+ <source>Goodbye</source>
+ <target>Aloha!</target>
+ </trans-unit>
+ <trans-unit id="2">
+ <source>Welcome</source>
+ <target>Ho Ho!</target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>
|