Using $Id: announcements.module,v 1.1.2.4 2008/05/25

Hi as there was no german lang file i took the announcement.pot and made a de.po. To catch all related strings from the Frontpage and Backend i had to patch a few little things in announcements.module that are already included in the patch.

The Changes included there are:

#Line 88 change to
'name' => t('Announcements'),

#Line 258-266 change to
$intervals = array(
'+1 day' => t('1day'),
'+1 week' => t('1week'),
'+2 week' => t('2weeks'),
'+1 month' => t('1month'),
'+2 month' => t('2months'),
'+3 month' => t('3months'),
'+6 month' => t('6months'),
'+1 year' => t('1year'),
);

The de.po has some additional strings that the announcements.pot doesn´t have, so if you use the file to create your own language file make sure to start from the de.po in this patch-package.

Simply unpack the .zip file to displace the exisiting one and import the de.po as always.

As i don´t know how to report such things maybe someone could point me to the informartion where i can find a HowTo?

Best Regards
Torsten Zenk

Comments

nancydru’s picture

Not sure why this was marked fixed, but it is now. The string fixes we committed to both branches; de.po only to 5.x.

pimok3000’s picture

Thank you very much ;)

nancydru’s picture

Status: Fixed » Closed (fixed)
nhck’s picture

Title: German lang file and related translation fixes within announcements.module » German lang file
Version: 5.x-1.1 » 6.x-1.2
Component: Code » Miscellaneous
Category: bug » feature
Priority: Critical » Minor
Status: Closed (fixed) » Needs review
StatusFileSize
new7.66 KB

Maybe we could include this lang-file into the translations folder? Drupal imports new languages automatically upon activating the module, so it would be very convenient.

I added some new strings also.

nancydru’s picture

Status: Needs review » Closed (fixed)

Done. Danke schoen.