Changeset 76774f676dbb8cebd0dc65bfc35eac4986fee104
- Timestamp:
- 05/21/08 17:55:26
(4 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1211385326 +0300
- git-parent:
[2123e7c23fe7879ed1ddc4efcedcf6da5d16a7f8]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1211385316 +0300
- Message:
vlc_config_set: use dgettext() explicitly
This is a cosmetic change at this point as _() invokes dgettext(). This
is just a small step toward supporting out-of-tree plugins. These will
need to use their own text domain.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0669643 |
r76774f6 |
|
| 222 | 222 | const char *longtext = va_arg (ap, const char *); |
|---|
| 223 | 223 | |
|---|
| 224 | | item->psz_text = text ? strdup ( _(text)) : NULL; |
|---|
| 225 | | item->psz_longtext = longtext ? strdup ( _(longtext)) : NULL; |
|---|
| | 224 | item->psz_text = text ? strdup (dgettext (PACKAGE, text)) : NULL; |
|---|
| | 225 | item->psz_longtext = |
|---|
| | 226 | longtext ? strdup (dgettext (PACKAGE, longtext)) : NULL; |
|---|
| 226 | 227 | ret = 0; |
|---|
| 227 | 228 | break; |
|---|
| … | … | |
| 374 | 375 | { |
|---|
| 375 | 376 | for (size_t i = 0; i < len; i++) |
|---|
| 376 | | dtext[i] = text[i] ? strdup ( _(text[i])) : NULL; |
|---|
| | 377 | dtext[i] = |
|---|
| | 378 | text[i] ? strdup (dgettext (PACKAGE, text[i])) : NULL; |
|---|
| 377 | 379 | |
|---|
| 378 | 380 | dtext[len] = NULL; |
|---|
| … | … | |
| 412 | 414 | |
|---|
| 413 | 415 | if (name) |
|---|
| 414 | | tabtext[item->i_action] = strdup ( _(name)); |
|---|
| | 416 | tabtext[item->i_action] = strdup (dgettext (PACKAGE, name)); |
|---|
| 415 | 417 | else |
|---|
| 416 | 418 | tabtext[item->i_action] = NULL; |
|---|