Incomplete translation? [news]

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!

Comments

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

    More particular this line :
    <h3><?php printNewsTitleLink(); ?><?php echo " <span class='newstype'>[".getNewsType()."]</span>"; ?></h3>

    Allthough I have created and assigned news-categories, they aren't listed correctly in the overview on the gallery.php page.

    Could this be a bug or so? Anyway, how can this be corrected?
  • i have commented the "<?php echo " <span class='newstype'>[".getNewsType()."]</span>"; ?>" code for now so that the [news] can't be seen until we know how to fix this...

    so if you check my site now, you won't see the problem live in action.
  • acrylian Administrator, Developer
    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.
  • 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!
  • 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...
  • 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...
  • acrylian Administrator, Developer
    is it possible to configure combinews so that only the albums uploaded after a certain date will be shown?

    Sorry, no.
Sign In or Register to comment.