[Akelos PHP Framework] #281: [PATCH] paginator link texts (next, previous) are not translated

1 view
Skip to first unread message

Akelos PHP Framework

unread,
Aug 5, 2010, 12:39:35 PM8/5/10
to
#281: [PATCH] paginator link texts (next, previous) are not translated
------------------------------------+---------------------------------------
Reporter: pauld | Type: defect
Status: new | Priority: minor
Milestone: 1.3.0 | Component: Localize
Keywords: translation pagination |
------------------------------------+---------------------------------------
The translation of pagination links such as "first", "next" etc. does not
work. The texts are loaded if not existing into the global dictionary at
config\locales\de.php but are never used for translation. The reason seems
to be that $dictionary is loaded into $framework_dictionary[1] and not
$framework_dictionary, thus $string is never translated.

{{{
211. $string = !empty($framework_dictionary[$string]) ?
$framework_dictionary[$string] : $string;
}}}

--
Ticket URL: <http://trac.akelos.org/ticket/281>
Akelos PHP Framework <http://www.akelos.org/>
Akelos PHP Framework

Akelos PHP Framework

unread,
Aug 5, 2010, 12:51:22 PM8/5/10
to
#281: [PATCH] paginator link texts (next, previous) are not translated
------------------------------------+---------------------------------------
Reporter: pauld | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 1.3.0
Component: Localize | Resolution:
Keywords: translation pagination |
------------------------------------+---------------------------------------
Comment (by pauld):

Forgot to mention that the patch is in lib/Ak.php in function t()!

--
Ticket URL: <http://trac.akelos.org/ticket/281#comment:1>
Reply all
Reply to author
Forward
0 new messages