Project

General

Profile

Actions

Task #34191

closed

Cleanup labels

Added by Marcus Schwemer over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2012-02-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #1

Updated by Stefan Galinski over 12 years ago

  • Status changed from New to Needs Feedback

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

Actions #2

Updated by Jigal van Hemert over 12 years 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?

Actions #3

Updated by Alexander Opitz over 11 years ago

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.7 or 6.1)?

Actions #4

Updated by Marcus Schwemer over 11 years ago

Hi Alexander,

this can be closed IMHO since Jigal answered the question and it has nothing to do with the core but translations ...

Cheers and thanks for taking care !

Marcus

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF