Issue Details (XML | Word | Printable)

Key: MDL-13481
Type: Bug Bug
Status: Reopened Reopened
Priority: Minor Minor
Assignee: David Mudrak
Reporter: David Mudrak
Votes: 1
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Distinguish between course "fullname" and user "fullname"

Created: 15/Feb/08 07:13 PM   Updated: 21/Jul/08 10:37 AM
Return to search
Component/s: Languages
Affects Version/s: 1.9
Fix Version/s: 2.0

Issue Links:
Relates
 

Participants: David Mudrak, Dongsheng Cai, Koen Roggemans and Martin Dougiamas
Security Level: None
QA Assignee: Nicolas Martignoni
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
At the moment, the get_string('fullname', 'moodle') is used for both course fullname (e.g. in course/edit_form.php) and for user fullname (e.g. admin/user/usert_bulk.php). This causes problems in languages where different words should be used for names of persons and for names of things.

There is a proposal to introduce new strings "coursefullname", "courseshortname" instead of current "fullname" and "shortname" and keep "fullname" (or even better new "userfullname") for user full name only.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Koen Roggemans added a comment - 15/Feb/08 07:32 PM
m.i. It should be two new strings for backward compatability

Martin Dougiamas added a comment - 19/Mar/08 02:38 PM
Dongsheng, we need to add two strings coursefullname and userfullname in lang/en_utf8/moodle.php and carefully fix all the places where get_string('fullname') was used so that it's either get_string('coursefullname') or get_string('userfullname') as appropriate. Just in HEAD, thanks.

Martin Dougiamas added a comment - 19/Mar/08 02:40 PM
Actually fullnameuser and fullnamecourse would be better names (puts them next to each other for translators).

David Mudrak added a comment - 19/Mar/08 07:19 PM
Please, is there any chance to backport this into MOODLE_19_STABLE? It is very difficult to find an translation of "fullname" in both user and course context. If this fix is intended for 2.0 only, I will have to live with messy language pack for the whole long 1.9 live cycle Moreover, I would have to change the Moodle terminology now and then again in 2.0

David Mudrak added a comment - 21/Jul/08 04:49 AM
See my last comment for the reopening reason. Feel free to assign this to myself if you agree with backporting this. TIA

Dongsheng Cai added a comment - 21/Jul/08 10:37 AM
Hi, David, it is yours, thanks