Skip to content

Commit

Permalink
Use ICU collation with SQLite if available
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/awy/mirror/slim/7.6/trunk/server@31618 62299810-d8cb-41fd-93b7-d32162e5a4a4
  • Loading branch information
Andy Grundman committed Dec 12, 2010
1 parent 05e0a11 commit 3cfeb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Slim/Utils/SQLiteHelper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ sub collate {
: $lang eq 'IT' ? 'it_IT'
: $lang eq 'JA' ? 'ja_JP'
: $lang eq 'NL' ? 'nl_NL'
: $lang eq 'NO' ? 'no_NO'
: $lang eq 'NO' ? 'nb_NO' # Norwegian Bokmål
: $lang eq 'PL' ? 'pl_PL'
: $lang eq 'PT' ? 'pt_PT'
: $lang eq 'RU' ? 'ru_RU'
: $lang eq 'SV' ? 'sv_SE'
: $lang eq 'ZH_CN' ? 'zh_CN'
: $lang eq 'ZH_CN' ? 'zh'
: 'en_US';

if ( $currentICU ne $collation ) {
Expand Down

0 comments on commit 3cfeb4a

Please sign in to comment.