[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenTAL-checkins] opental/PlacelessTranslationService www/catalog...
From: |
Fernando Lalo Martins |
Subject: |
[OpenTAL-checkins] opental/PlacelessTranslationService www/catalog... |
Date: |
Sat, 04 Oct 2003 12:00:29 -0400 |
CVSROOT: /cvsroot/opental
Module name: opental
Branch:
Changes by: Fernando Lalo Martins <address@hidden> 03/10/04 12:00:29
Modified files:
PlacelessTranslationService/www: catalog_info.pt catalog_test.pt
Added files:
PlacelessTranslationService/i18n:
PlacelessTranslationService.pot
pts-pt-br.po
Log message:
adding i18n
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/PlacelessTranslationService/i18n/PlacelessTranslationService.pot?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/PlacelessTranslationService/i18n/pts-pt-br.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/PlacelessTranslationService/www/catalog_info.pt.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/PlacelessTranslationService/www/catalog_test.pt.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: opental/PlacelessTranslationService/www/catalog_info.pt
diff -u opental/PlacelessTranslationService/www/catalog_info.pt:1.2
opental/PlacelessTranslationService/www/catalog_info.pt:1.3
--- opental/PlacelessTranslationService/www/catalog_info.pt:1.2 Fri Feb 28
06:08:06 2003
+++ opental/PlacelessTranslationService/www/catalog_info.pt Sat Oct 4
12:00:29 2003
@@ -1,8 +1,9 @@
<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
tal:replace="structure here/manage_tabs">Tabs</h2>
+<tal:block i18n:domain="PlacelessTranslationService">
-<h1 tal:content="here/Title">Gettext message catalog</h1>
+<h1 tal:content="here/Title" i18n:translate="">Gettext message catalog</h1>
<table cellspacing="2">
<tr tal:repeat="info here/displayInfo">
@@ -13,12 +14,13 @@
<tal:block define="can_reload here/file_exists">
<form action="reload" tal:condition="can_reload">
-<input type="submit" value="Reload this catalog" />
+<input type="submit" value="Reload this catalog" i18n:attributes="value" />
</form>
-<h3 tal:condition="not:can_reload">
+<h3 tal:condition="not:can_reload" i18n:translate="">
This catalog cannot be reloaded because the corresponding file does not exist
</h3>
</tal:block>
+</tal:block>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
Index: opental/PlacelessTranslationService/www/catalog_test.pt
diff -u opental/PlacelessTranslationService/www/catalog_test.pt:1.2
opental/PlacelessTranslationService/www/catalog_test.pt:1.3
--- opental/PlacelessTranslationService/www/catalog_test.pt:1.2 Fri Feb 28
06:08:06 2003
+++ opental/PlacelessTranslationService/www/catalog_test.pt Sat Oct 4
12:00:29 2003
@@ -1,12 +1,13 @@
<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
tal:replace="structure here/manage_tabs">Tabs</h2>
+<tal:block i18n:domain="PlacelessTranslationService">
-<h1>Test <tal:block content="here/Title">this message catalog</tal:block></h1>
+<h1 i18n:translate="">Test <tal:block content="here/Title"
i18n:name="title">this message catalog</tal:block></h1>
<div tal:condition="request/msgid | nothing">
-<h3>Test results:</h3>
+<h3 i18n:translate="">Test results:</h3>
<table cellspacing="2" border="1"
tal:define="msgid request/msgid;
marker python: ();
@@ -21,13 +22,13 @@
<td bgcolor="#ffd493" tal:content="msgstr">msgid</td>
</tr>
<tr tal:condition="not:found">
- <td colspan="2" bgcolor="#fe5e5e">Translation not found</td>
+ <td colspan="2" bgcolor="#fe5e5e" i18n:translate="">Translation not
found</td>
</tr>
</table>
<hr align="center" with="75%" />
-<h3>New test:</h3>
+<h3 i18n:translate="">New test:</h3>
</div>
<form action="zmi_test">
@@ -36,7 +37,8 @@
rows request/form/dtpref_rows | request/dtpref_rows |
default"
tal:content = "request/msgid | nothing">Text</textarea>
<br />
-<input type="submit" value="Translate this phrase" />
+<input type="submit" value="Translate this phrase" i18n:attributes="value" />
</form>
+</tal:block>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [OpenTAL-checkins] opental/PlacelessTranslationService www/catalog...,
Fernando Lalo Martins <=