]> git.sesse.net Git - ttk-gettext/blobdiff - test.tmpl
Add all the files.
[ttk-gettext] / test.tmpl
diff --git a/test.tmpl b/test.tmpl
new file mode 100644 (file)
index 0000000..2c6f6b3
--- /dev/null
+++ b/test.tmpl
@@ -0,0 +1,18 @@
+<html>
+  <head>
+    <title>A little template test</title>
+  </head>
+  <body>
+    <p>This is a test.</p>
+
+    <p><_>This is a different test pattern. You may notice that
+      since the block doesn't close the last tag, we had to
+      use a special pseudo-tag to show the gettext magic that
+      we want to translate it. In most cases this isn't required,
+      though.</_>
+[% IF foo %]
+      <_>Foo was enabled.</_>
+[% END %]
+      <_>This is the end of the test.</_></p>
+  </body>
+</html>