Project:Weekly Archive by Node Type
Version:6.x-2.4
Component:User interface
Category:bug report
Priority:normal
Assigned:Prometheus6
Status:closed (fixed)

Issue Summary

I'm about to translate the module and found out that the month names (January, February) are not translatable. Probably it's the same with the day names (monday, tuesday,...).

By the way: I suggest to add a component 'User interface' for week issues (currently only code is available).

Comments

#1

Component:Code» User interface
Assigned to:Anonymous» Prometheus6
Status:active» postponed (maintainer needs more info)

There is now a "User interface" component.

The month and day names are created using the PHP date() function.

<?php
  $link_data
['month'] = date('F', $start_week_ts);
 
$link_data['mon'] = date('M', $start_week_ts);
 
$link_data['monthno'] = date('m', $start_week_ts);
 
$link_data['day'] = date('d', $start_week_ts);
 
$link_data['dayname'] = date('l', $start_week_ts);
 
$link_data['sdayname'] = date('D', $start_week_ts);
?>

That should actually handle it on a properly configured system.

#2

Status:postponed (maintainer needs more info)» fixed

New version has a new dependency on date_api, but that means translations of month and day names are handled. Still needs translations for the form strings etc, of course, so there's a .pot file in there too.

#3

Status:fixed» active

Thank you, things look fine so far but I have some new issues (should be finished then):

The title of page /archive/story seems to be the string 'Weekly %type archives'. The title of the page seems to be untranslatable (a block has the same title, for the block the string can be translated).

On page '/admin/settings/week' there is a string 'Create block containing a list of weekly archives, collectively or by node type. ' which seems to be untranslatable, too.

#4

Version:6.x-2.0» 6.x-2.4

Okay, get the latest version and use the .pot file in there.

#5

Status:active» fixed

#6

Status:fixed» closed (fixed)

Five + days with no problem

nobody click here