CVS log for loncom/localize/lonlocal.pm

[BACK] Up to [LON-CAPA] / loncom / localize

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_7_X


Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 20 01:57:50 2008 UTC (15 years, 7 months ago) by raeburn
Branches: version_2_7_X
CVS tags: version_2_7_1
Diff to previous 1.48: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48: +13 -1 lines
Backport 1.50.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Sep 13 02:37:29 2008 UTC (15 years, 7 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_7_X
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +23 -2 lines
- Bug 5786. Language used for text wrapped around body of message in notification e-mail should correspond to language preference of recipient determined in order: user pref, domain default), unless message is sent in course content, and a language is defined for course (use course langage in this case).
lonmsg.pm - &user_lang() used to get a language hadler for recipient.
          - Translation of text uses &mt_user() instead of &mt().

lonlocal.pm - &mt_user() added (exported). Calls maketext, but takes language handler as firrst arg.

loncommon.pm - &get_genlanguages() added - functionality to turn en-ca into en-ca,en and also to remove duplicates from @preferred_languages - moved from &preferred_languages() to a separate subroutine so it is more widely available.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>