Task #34191

Cleanup labels

Added by Marcus Schwemer about 1 year ago. Updated about 1 year ago.

Status:Needs Feedback Start date:2012-02-22
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Form Wizard
Target version:-
TYPO3 Version:4.6 Complexity:
PHP Version:
Votes: 0

Description

While translating the sysext "form" into german, I came across several labels with weired values like

  • tx_form_system_validate_date.strftime.m => mm
  • tx_form_system_validate_date.strftime.b => mmm

Just to name two examples.

I grep'ed the source and did not find a usage. IMO they should be cleaned up in order to make the translators life easier. ;-)

If they are not used otherwise and just can be removed, I would provide a patch.

Cheers
Marcus

History

Updated by Stefan Galinski about 1 year ago

  • Status changed from New to Needs Feedback

I added Patrick as watcher. Maybe he knows the meaning of this labels.

Updated by Jigal van Hemert about 1 year ago

They are used in tx_form_System_Validate_Date::humanReadableDateFormat() to turn a strftime configuration in a more readable form.
Look in the PHP defintion of strftime ( http://php.net/strftime ) for the meaning of the labels.
%m is a two digit representation of the month - the label: 'mm'
%b is an abbreviated name of the month - the label: 'mmm'
tx_form_system_validate_date.strftime.Y - four digit year - English label: 'yyyy', German label: 'jjjj'

Is this enough information to translate the labels?

Also available in: Atom PDF