I'm trying to update translation for portuguese language. All is working fine, but new tags in monthlyrecord page don't work.
When you open the page for the first time or do a refresh, data for January are correct. But when you click a thumbnail, "at" and "on" reappear.
I introduced "format" in tags in the body portion of the page, like:
<tr class="td_temperature_data">
<td class="main_table_text_labels">Temperatura mais alta</td>
<td class="right_align_indented"><span id=TempH><#ByMonthTempH mon=1></span> <#tempunit></td>
<td class="right_align_indented"><span id=TempHT><#ByMonthTempHT mon=1 format="hh:mm 'de' dd 'de' mmmm 'de' yyyy"></span></td>
</tr>
My cumulus home page: http://ct1akv.sapoadsl.pt/tempo/index.htm
Thank you
(Francisco Guerra)
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Translation - format in new monthlyrecord tags
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Translation - format in new monthlyrecord tags
You also need to change the format in the javascript variables near the top of the page.
Steve
-
ct1akv
- Posts: 5
- Joined: Mon 28 Dec 2009 9:26 pm
- Weather Station: One concept beaufort
- Operating System: Windows10
- Location: Vale de Santarém, Portugal
- Contact:
Re: Translation - format in new monthlyrecord tags
Ok. Thank you. Translation completed.
The only tag not accepting "format" is <#recordsbegandate>.
I intend to upload the translation, as is, till the weekend.
(Francisco Guerra)
The only tag not accepting "format" is <#recordsbegandate>.
I intend to upload the translation, as is, till the weekend.
(Francisco Guerra)