Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user interface text
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2006 at 05:23 UTC
Updated:
14 Apr 2015 at 21:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drummYou should put all adjacent t() calls into one. See the documentation for t() at http://drupaldocs.org/api/head/function/t.
Comment #2
Wesley Tanaka commentedI've been doing work offline, without access to the formatted API docs.
edited the patch directly to combine adjacent t() calls. I also combined the topic into the t() call. haven't tested.
Comment #3
Robrecht Jacques commentedReview:
Rerolled the patch, including book.module, but without the "next" and "previous" words, just the arrows. But I do think that the title should be inside the
t('%title >>', array('%title' => $next->title))and not appended ($next->title . t(' >>')).Comment #4
Kjartan commentedPatch works as expected so I'll mark it as RTBC, however the final version is just a minor readjustment of the current links. Also these are all theme_* functions so if you really want different links just override them in your theme. I'll leave it to the higher ups if they want to commit this or mark it as won't fix.
Comment #5
dries commentedI have no opinion about this patch -- I guess it is an improvement, but I don't really understand how/why. Code looks good so feel free to commit.
Comment #6
dwwwhy are we translating punctuation characters like
t(' >>'))? this makes no sense to me. in fact, all of this:t('%title >>', array('%title' => $next->title))seems like bloat that provides no useful localization functionality. i must be missing something... can someone enlighten me? are we worried about right-to-left languages or something?thanks,
-derek
p.s. if you want to improve the usability of these links, far more useful (IMHO) is http://drupal.org/node/72467, which i'd love to see committed to 4.7.x, even. ;)
Comment #7
killes@www.drop.org commentedTranslating » makes sense in case you got a language that actually points « to mean ». :)
Comment #8
drummThis puts a literal
<em>.Comment #9
liam mcdermott commentedComment #10
lilou commentedIt's not a bug.
Comment #11
sivaji_ganesh_jojodae commentedI think we are not going to change any UI text at the moment. Moving this to 8.x.
Comment #12
jhedstromThe issue referenced in #6 was committed #72467: Fix long links in forum/book navigation. Marking as a duplicate.