diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket567')
6 files changed, 81 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home.page b/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home.page new file mode 100644 index 00000000..28cb3157 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home.page @@ -0,0 +1,13 @@ +<%@ Application.Globalization.TranslationCatalogue="default" %>
+<com:TContent ID="Content">
+<h2 class="defect">TTranslate Control ignores property Catalogue</h2>
+
+<span id="text1">
+<com:TTranslate>Hello World!</com:TTranslate>
+</span>
+
+<span id="text2">
+<com:TTranslate Catalogue="menu">Hello World!</com:TTranslate>
+</span>
+
+</com:TContent>
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home2.page b/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home2.page new file mode 100644 index 00000000..ce872c57 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/Home2.page @@ -0,0 +1,12 @@ +<com:TContent ID="Content">
+<h2 class="defect">TTranslate Control ignores property Catalogue</h2>
+
+<span id="text1">
+<com:TTranslate>Hello World!</com:TTranslate>
+</span>
+
+<span id="text2">
+<com:TTranslate Catalogue="menu">Hello World!</com:TTranslate>
+</span>
+
+</com:TContent>
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/config.xml b/tests/FunctionalTests/tickets/protected/pages/Ticket567/config.xml new file mode 100644 index 00000000..8d6535f3 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/config.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <paths>
+ <using namespace="System.I18N.*" />
+ </paths>
+ <modules>
+ <module id="globalization" class="TGlobalization">
+ <translation type="XLIFF"
+ source="Application.pages.Ticket567"
+ catalogue="messages"
+ />
+ </module>
+ </modules>
+
+ <pages MasterClass="Application.pages.Layout" />
+</configuration>
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/default.xml b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/default.xml new file mode 100644 index 00000000..b0b30559 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/default.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<xliff version="1.0"> + <file source-language="EN" target-language="en" datatype="plaintext" original="messages" date="2007-03-30T10:10:48Z" product-name="messages"> + <body> + +<trans-unit id="1"> +<source>Hello World!</source> +<target>Cool Earth?</target> +</trans-unit> + +</body> + </file> +</xliff> diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/menu.xml b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/menu.xml new file mode 100644 index 00000000..a1005adf --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/menu.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<xliff version="1.0"> + <file source-language="EN" target-language="en" datatype="plaintext" original="messages" date="2007-03-30T10:10:48Z" product-name="messages"> + <body> + +<trans-unit id="1"> +<source>Hello World!</source> +<target>Hot Menu.</target> +</trans-unit> + +</body> + </file> +</xliff> diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/messages.xml b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/messages.xml new file mode 100644 index 00000000..738fdbbd --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket567/en/messages.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<xliff version="1.0"> + <file source-language="EN" target-language="en" datatype="plaintext" original="messages" date="2007-03-30T10:10:48Z" product-name="messages"> + <body> + +<trans-unit id="1"> +<source>Hello World!</source> +<target>WOWOW</target> +</trans-unit> + +</body> + </file> +</xliff> |