No translation because a typo

Ideas and plans to talk about
Antworten
harrieklomp
Micro
Micro
Beiträge: 120
Registriert: 06.12.2010, 18:28

On my way to translate the OC.nl site i did see a part that was not translated like in the cache description (Not Found). In the translation file it was translated correctly.
In the file  code/htcdocs/template2/ocstyle/viewcache.tpl is a typo in the line

<img src="resource2/{$opt.template.style}/images/{if $cache.type==6}log{else}viewcache{/if}/16x16-{if $cache.type==6}will_attend{else}dnf{/if}.png" class="icon16" alt="" /> {if $cache.type==6} {$cache.willattend} {t}Will attend{/t}{else} {$cache.notfound} {t}Not Found{/t}{/if}<br />

The red F should be a f and in the cache page it will be translated to the correct language.

Greetings,

Harrie Klomp
Owner and allround admin of the Dutch OC node.

Harrie Klomp

[url=http://www.opencaching.nl/viewprofile.php?userid=3][img]http://www.opencaching.nl/statpics/3.jpg[/img][/url] [url=http://geokrety.org/mypage.php?userid=7861][img]http://geokrety.org/statpics/7861.png[/img][/url]
OlofL

True! We will also change the tpl file.
harrieklomp
Micro
Micro
Beiträge: 120
Registriert: 06.12.2010, 18:28

[quote="harrieklomp"]
On my way to translate the OC.nl site i did see a part that was not translated like in the cache description (Not Found). In the translation file it was translated correctly.
In the file  code/htcdocs/template2/ocstyle/viewcache.tpl is a typo in the line

<img src="resource2/{$opt.template.style}/images/{if $cache.type==6}log{else}viewcache{/if}/16x16-{if $cache.type==6}will_attend{else}dnf{/if}.png" class="icon16" alt="" /> {if $cache.type==6} {$cache.willattend} {t}Will attend{/t}{else} {$cache.notfound} {t}Not Found{/t}{/if}<br />

The red F should be a f and in the cache page it will be translated to the correct language.

Greetings,

Harrie Klomp
[/quote]

It looks like nobody is bothering but i do my best to help the other nodes.
The same issue is also in the viewcache_print.tpl.
So now the printpage is translated the correct way.
Owner and allround admin of the Dutch OC node.

Harrie Klomp

[url=http://www.opencaching.nl/viewprofile.php?userid=3][img]http://www.opencaching.nl/statpics/3.jpg[/img][/url] [url=http://geokrety.org/mypage.php?userid=7861][img]http://geokrety.org/statpics/7861.png[/img][/url]
biboleck30

Hopefully somebody of the team will have a look at this.
oliver

[quote="biboleck30"]
Hopefully somebody of the team will have a look at this.
[/quote]

Jan, it would be very nice when you support Harrie to solve the problems.
You have access to the SVN sources and you have some PHP knowledge.
harrieklomp
Micro
Micro
Beiträge: 120
Registriert: 06.12.2010, 18:28

It looks that the "not found" translation finally has bin translated on oc.de cachepage, still on the printpage the same "not found".
Owner and allround admin of the Dutch OC node.

Harrie Klomp

[url=http://www.opencaching.nl/viewprofile.php?userid=3][img]http://www.opencaching.nl/statpics/3.jpg[/img][/url] [url=http://geokrety.org/mypage.php?userid=7861][img]http://geokrety.org/statpics/7861.png[/img][/url]
following

[quote="harrieklomp"]
It looks that the "not found" translation finally has bin translated on oc.de cachepage, still on the printpage the same "not found".
[/quote]

I have fixed this a few days ago, but I missed the print view. So I will fix that, too, with the next release in a few weeks.
following

[quote="following"]
I have fixed this a few days ago, but I missed the print view. So I will fix that, too, with the next release in a few weeks.
[/quote]

Done.
Antworten