ZenphotoCMS Forum
Incomplete translation? [news] - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Translating (https://forum.zenphoto.org/forum-8.html)
+--- Thread: Incomplete translation? [news] (/thread-6621.html)



Incomplete translation? [news] - breaker - 18-02-2010

hi all,

i have recently started using ZenPhoto for my photoblog and I like it a lot.
I still have to customize the look a bit but time isn't my best friend lately ;)

I have a question though... I'm using the dutch translation but I have 1 item that isn't translated on my pages and I can't seem to find it in the NL_NL locale files (there everything is properly translated).

It concerns the item [news] that's placed after the title of news topics on my homepage.

For example :
Black goedgekeurd, Regi in the mix afgezegd [news]
this should be :
Black goedgekeurd, Regi in the mix afgezegd [nieuws]

I have looked in the translation files and in the theme but can't anyplace where to change this.

Any ideas?

Cheers for the help already!




Incomplete translation? [news] - breaker - 18-02-2010

update : I have found that this tag is generated via the gallery.php file.

More particular this line :




Incomplete translation? [news] - breaker - 18-02-2010

i have commented the "




Incomplete translation? [news] - acrylian - 18-02-2010

The display of "news" is actually not really needed. It is just used to show what type of news you have if you are in CombiNews mode where images or albums are mixed between the actual news articles.

You actually can remove that completely. Or code something like if(getNewsType() == "news") { echo "[nieuws]"; } instead.




Incomplete translation? [news] - breaker - 18-02-2010

oh I see :) In that case I can keep the part of code on comment so that it won't show since the category the news is in, is listed just below the title.

Perhaps I'll check out that CombiNews mode as it is interesting to put images there also... Thanks for the answer acrylian!




Incomplete translation? [news] - breaker - 18-02-2010

is it possible to configure combinews so that only the albums uploaded after a certain date will be shown?

I have a bunch of albums in my archive that are shown also in the combinews but I don't really want that...




Incomplete translation? [news] - breaker - 18-02-2010

You actually can remove that completely. Or code something like if(getNewsType() == "news") { echo "[nieuws]"; } instead.

above worked like a charm... I have added an extra item now as I have switched to CombiNews...




Incomplete translation? [news] - acrylian - 18-02-2010

[quote]is it possible to configure combinews so that only the albums uploaded after a certain date will be shown?

[/quote]
Sorry, no.