Changeset 71fc0c72c7b716de080e109d8aa5d83bb46bc1c0
- Timestamp:
- 04/15/06 16:18:13
(2 years ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1145110693 +0000
- git-parent:
[e67aa8aaf61864b4266dd63ea8e4e83b03c88dbb]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1145110693 +0000
- Message:
Do not provide a broken language option on Linux and similar OSes
where the user normally use LANG, LANGUAGE, etc to define his/her
language(s). It didn't work anyway (refs #638).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4ba34e1 |
r71fc0c7 |
|
| 459 | 459 | #if defined( ENABLE_NLS ) \ |
|---|
| 460 | 460 | && ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) ) |
|---|
| 461 | | |
|---|
| | 461 | # if defined (WIN32) || defined (__APPLE__) |
|---|
| 462 | 462 | /* This ain't really nice to have to reload the config here but it seems |
|---|
| 463 | 463 | * the only way to do it. */ |
|---|
| … | … | |
| 473 | 473 | /* Reset the default domain */ |
|---|
| 474 | 474 | SetLanguage( psz_language ); |
|---|
| 475 | | |
|---|
| 476 | | /* Should not be needed (otherwise, fixes should rather be |
|---|
| 477 | | * attempted on vlc_current_charset(). |
|---|
| 478 | | * Also, if the locale charset is overriden, anything that has been |
|---|
| 479 | | * translated until now would have to be retranslated. */ |
|---|
| 480 | | /*LocaleDeinit(); |
|---|
| 481 | | LocaleInit( (vlc_object_t *)p_vlc );*/ |
|---|
| 482 | 475 | |
|---|
| 483 | 476 | /* Translate "C" to the language code: "fr", "en_GB", "nl", "ru"... */ |
|---|
| … | … | |
| 491 | 484 | } |
|---|
| 492 | 485 | if( psz_language ) free( psz_language ); |
|---|
| | 486 | # endif |
|---|
| 493 | 487 | #endif |
|---|
| 494 | 488 | |
|---|
| r79f9f30 |
r71fc0c7 |
|
| 1533 | 1533 | #endif |
|---|
| 1534 | 1534 | |
|---|
| | 1535 | #if defined (WIN32) || defined (__APPLE__) |
|---|
| 1535 | 1536 | add_string( "language", "auto", NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT, |
|---|
| 1536 | 1537 | VLC_FALSE ); |
|---|
| 1537 | 1538 | change_string_list( ppsz_language, ppsz_language_text, 0 ); |
|---|
| | 1539 | #endif |
|---|
| | 1540 | |
|---|
| 1538 | 1541 | add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE ); |
|---|
| 1539 | 1542 | add_bool( "advanced", 0, NULL, ADVANCED_TEXT, ADVANCED_LONGTEXT, |
|---|