Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002978Piwigootherpublic2013.10.19 11:192013.10.24 20:48
Reportermistic100 
Assigned Tomistic100 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.6.0beta1 
Target Version2.6.0beta2Fixed in Version2.6.0beta2 
Summary0002978: l10n() and {translate} with additional arguments
DescriptionGoal: simplify usage of sprintf + l10n

sprintf(l10n('%d comments'), $nb)
can be replaced by
l10n('%d comments', $nb)

{'%d comments'|translate|sprintf:$nb}
can be replaced by
{'%d comments'|translate:$nb}

needs to work with infinite number of arguments
Additional Informationhttp://piwigo.org/doc/doku.php?id=dev:changes_in_2.6#l10n_translate_sprintf [^]
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0007154)
svn (reporter)
2013.10.19 11:21

[Subversion] r24988 by mistic100 on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2978: l10n() and {translate} with additional arguments
TODO: apply in core
(0007155)
svn (reporter)
2013.10.19 13:04

[Subversion] r25005 by mistic100 on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2978: remove useless sprintf in the core
(0007156)
svn (reporter)
2013.10.19 19:43

[Subversion] r25018 by mistic100 on trunk

-----[Subversion commit log]----------------------------------------------------
remove all array_push (50% slower than []) + some changes missing for feature:2978
(0007188)
svn (reporter)
2013.10.24 10:42

[Subversion] r25113 by mistic100 on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2978: error func_get_args(): Can't be used as a function parameter on PHP <= 5.2

- Issue History
Date Modified Username Field Change
2013.10.19 11:19 mistic100 New Issue
2013.10.19 11:19 mistic100 Status new => assigned
2013.10.19 11:19 mistic100 Assigned To => mistic100
2013.10.19 11:19 mistic100 browser => any
2013.10.19 11:19 mistic100 Web server => Apache 1.3.x
2013.10.19 11:21 svn Checkin
2013.10.19 11:21 svn Note Added: 0007154
2013.10.19 11:35 mistic100 Additional Information Updated
2013.10.19 13:04 svn Checkin
2013.10.19 13:04 svn Note Added: 0007155
2013.10.19 19:43 svn Checkin
2013.10.19 19:43 svn Note Added: 0007156
2013.10.24 10:42 svn Checkin
2013.10.24 10:42 svn Note Added: 0007188
2013.10.24 20:48 mistic100 Status assigned => closed
2013.10.24 20:48 mistic100 Resolution open => fixed
2013.10.24 20:48 mistic100 Fixed in Version => 2.6.0beta2


Copyright © 2000 - 2019 MantisBT Team
Contact
Powered by Mantis Bugtracker