svn: /phpdoc/ doc-base/trunk/scripts/gen-phpdoc-tz-list.php en/trunk/language-snippets.ent en/trunk/reference/datetime/timezones.xml
| From: | Nilgün Belma Bugüner | Date: | Thu, 30 Jul 2009 13:51:03 +0000 |
| Subject: | svn: /phpdoc/ doc-base/trunk/scripts/gen-phpdoc-tz-list.php en/trunk/language-snippets.ent en/trunk/reference/datetime/timezones.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4568@lists.php.net to get a copy of this message | ||
nilgun Thu, 30 Jul 2009 13:51:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286558
Log:
Move translatable English texts from non-translated timezones.xml to language-snippets.ent entity.
Changed paths:
U phpdoc/doc-base/trunk/scripts/gen-phpdoc-tz-list.php
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/datetime/timezones.xml
Modified: phpdoc/doc-base/trunk/scripts/gen-phpdoc-tz-list.php
===================================================================
--- phpdoc/doc-base/trunk/scripts/gen-phpdoc-tz-list.php 2009-07-30 12:43:59 UTC (rev 286557)
+++ phpdoc/doc-base/trunk/scripts/gen-phpdoc-tz-list.php 2009-07-30 13:51:03 UTC (rev 286558)
@@ -49,9 +49,9 @@
$m = count($zones) > 4 ? 5 : count($zones); ?>
<sect1 xml:id="timezones.<?php echo strtolower($group); ?>">
- <title><?php echo $group; ?></title>
+ <title><?php echo '&date.timezone.' . strtolower($group) . ';';
?></title>
<table>
- <title><?php echo $group; ?></title>
+ <title><?php echo '&date.timezone.' . strtolower($group) . ';';
?></title>
<tgroup cols="<?php echo $m; ?>">
<tbody>
<?php
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2009-07-30 12:43:59 UTC (rev 286557)
+++ phpdoc/en/trunk/language-snippets.ent 2009-07-30 13:51:03 UTC (rev 286558)
@@ -7,7 +7,7 @@
<!-- Notes -->
-<!ENTITY note.regex.deprecated '<note><para>As of PHP 5.3.0 the
+<!ENTITY note.regex.deprecated '<note><para>As of PHP 5.3.0 the
regex extension is deprecated, calling this function
will issue an <constant>E_DEPRECATED</constant>
notice.</para></note>'>
@@ -431,6 +431,18 @@
<!ENTITY date.timezone.dbversion 'This list is based upon the timezone database
version'>
+<!ENTITY date.timezone.africa 'Africa'>
+<!ENTITY date.timezone.america 'America'>
+<!ENTITY date.timezone.antarctica 'Antarctica'>
+<!ENTITY date.timezone.arctic 'Arctic'>
+<!ENTITY date.timezone.asia 'Asia'>
+<!ENTITY date.timezone.atlantic 'Atlantic'>
+<!ENTITY date.timezone.australia 'Australia'>
+<!ENTITY date.timezone.europe 'Europe'>
+<!ENTITY date.timezone.indian 'Indian'>
+<!ENTITY date.timezone.pacific 'Pacific'>
+<!ENTITY date.timezone.others 'Others'>
+
<!-- DomXml Notes -->
<!ENTITY node.inserted 'This node will not show up in the document unless it
is inserted with (e.g.) <function>domnode_append_child</function>.'>
Modified: phpdoc/en/trunk/reference/datetime/timezones.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/timezones.xml 2009-07-30 12:43:59 UTC (rev 286557)
+++ phpdoc/en/trunk/reference/datetime/timezones.xml 2009-07-30 13:51:03 UTC (rev 286558)
@@ -13,9 +13,9 @@
</note>
<sect1 xml:id="timezones.africa">
- <title>Africa</title>
+ <title>&date.timezone.africa;</title>
<table>
- <title>Africa</title>
+ <title>&date.timezone.africa;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -101,9 +101,9 @@
</sect1>
<sect1 xml:id="timezones.america">
- <title>America</title>
+ <title>&date.timezone.america;</title>
<table>
- <title>America</title>
+ <title>&date.timezone.america;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -329,9 +329,9 @@
</sect1>
<sect1 xml:id="timezones.antarctica">
- <title>Antarctica</title>
+ <title>&date.timezone.antarctica;</title>
<table>
- <title>Antarctica</title>
+ <title>&date.timezone.antarctica;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -354,9 +354,9 @@
</sect1>
<sect1 xml:id="timezones.arctic">
- <title>Arctic</title>
+ <title>&date.timezone.arctic;</title>
<table>
- <title>Arctic</title>
+ <title>&date.timezone.arctic;</title>
<tgroup cols="1">
<tbody>
<row>
@@ -368,9 +368,9 @@
</sect1>
<sect1 xml:id="timezones.asia">
- <title>Asia</title>
+ <title>&date.timezone.asia;</title>
<table>
- <title>Asia</title>
+ <title>&date.timezone.asia;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -505,9 +505,9 @@
</sect1>
<sect1 xml:id="timezones.atlantic">
- <title>Atlantic</title>
+ <title>&date.timezone.atlantic;</title>
<table>
- <title>Atlantic</title>
+ <title>&date.timezone.atlantic;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -537,9 +537,9 @@
</sect1>
<sect1 xml:id="timezones.australia">
- <title>Australia</title>
+ <title>&date.timezone.australia;</title>
<table>
- <title>Australia</title>
+ <title>&date.timezone.australia;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -583,9 +583,9 @@
</sect1>
<sect1 xml:id="timezones.europe">
- <title>Europe</title>
+ <title>&date.timezone.europe;</title>
<table>
- <title>Europe</title>
+ <title>&date.timezone.europe;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -678,9 +678,9 @@
</sect1>
<sect1 xml:id="timezones.indian">
- <title>Indian</title>
+ <title>&date.timezone.indian;</title>
<table>
- <title>Indian</title>
+ <title>&date.timezone.indian;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -710,9 +710,9 @@
</sect1>
<sect1 xml:id="timezones.pacific">
- <title>Pacific</title>
+ <title>&date.timezone.pacific;</title>
<table>
- <title>Pacific</title>
+ <title>&date.timezone.pacific;</title>
<tgroup cols="5">
<tbody>
<row>
@@ -777,9 +777,9 @@
</sect1>
<sect1 xml:id="timezones.others">
- <title>Others</title>
+ <title>&date.timezone.others;</title>
<table>
- <title>Others</title>
+ <title>&date.timezone.others;</title>
<tgroup cols="5">
<tbody>
<row>