Autor Thema: No translation because a typo  (Gelesen 577 mal)

Offline harrieklomp

  • Team Opencaching Deutschland
  • Micro
  • *
  • Beiträge: 119
  • oc.nl team
No translation because a typo
« am: 05. Mai 2011, 06:03:12 »
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


Offline OlofL

  • Nano
  • **
  • Beiträge: 70
  • OC SE Team
Re: No translation because a typo
« Antwort #1 am: 05. Mai 2011, 22:18:41 »
True! We will also change the tpl file.

Offline harrieklomp

  • Team Opencaching Deutschland
  • Micro
  • *
  • Beiträge: 119
  • oc.nl team
Re: No translation because a typo
« Antwort #2 am: 15. November 2011, 00:28:05 »
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

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


Offline biboleck30

  • Normal
  • *****
  • Beiträge: 1125
Re: No translation because a typo
« Antwort #3 am: 11. Dezember 2011, 00:59:09 »
Hopefully somebody of the team will have a look at this.

oliver

  • Gast
Re: No translation because a typo
« Antwort #4 am: 11. Dezember 2011, 11:41:40 »
Hopefully somebody of the team will have a look at this.

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.

Offline harrieklomp

  • Team Opencaching Deutschland
  • Micro
  • *
  • Beiträge: 119
  • oc.nl team
Re: No translation because a typo
« Antwort #5 am: 09. August 2012, 22:39:12 »
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


following

  • Gast
Re: No translation because a typo
« Antwort #6 am: 09. August 2012, 22:49:36 »
It looks that the "not found" translation finally has bin translated on oc.de cachepage, still on the printpage the same "not found".

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

  • Gast
Re: No translation because a typo
« Antwort #7 am: 26. August 2012, 19:02:20 »
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.

Done.