containers: Add gettext support for magic containers.

Run the magic contain names through gettext, so they can get localized.
This commit is contained in:
Justin Maggard 2015-12-21 11:49:07 -08:00
parent 520de165fb
commit 1c5e9ae61c
14 changed files with 54 additions and 1 deletions

View File

@ -68,6 +68,10 @@ msgstr "Mapper"
msgid "Playlists"
msgstr "Afspilningslister"
#: scanner.c:598
msgid "Recently Added"
msgstr "Nylig tilføjet"
#: scanner.c:536
msgid "Video"
msgstr "Film"

View File

@ -83,6 +83,10 @@ msgstr "Ordner"
msgid "Playlists"
msgstr "Wiedergabelisten"
#: scanner.c:598
msgid "Recently Added"
msgstr "Kürzlich hinzugefügt"
#: scanner.c:536
msgid "Video"
msgstr "Video"

View File

@ -68,6 +68,10 @@ msgstr "Carpetas"
msgid "Playlists"
msgstr "Listas"
#: scanner.c:598
msgid "Recently Added"
msgstr "Recientemente añadido"
#: scanner.c:536
msgid "Video"
msgstr "Vídeo"

View File

@ -68,6 +68,10 @@ msgstr "Dossiers"
msgid "Playlists"
msgstr "Liste de lecture"
#: scanner.c:598
msgid "Recently Added"
msgstr "Ajouts récents"
#: scanner.c:536
msgid "Video"
msgstr "Vidéo"

View File

@ -70,6 +70,10 @@ msgstr "Cartelle"
msgid "Playlists"
msgstr "Scalette"
#: scanner.c:598
msgid "Recently Added"
msgstr "Aggiunto recentemente"
#: scanner.c:536
msgid "Video"
msgstr "Video"

View File

@ -68,6 +68,10 @@ msgstr "フォルダ"
msgid "Playlists"
msgstr "プレイリスト"
#: scanner.c:598
msgid "Recently Added"
msgstr "最近追加された"
#: scanner.c:536
msgid "Video"
msgstr "ビデオ"

View File

@ -68,6 +68,10 @@ msgstr "폴더"
msgid "Playlists"
msgstr "재생 목록"
#: scanner.c:598
msgid "Recently Added"
msgstr "최근에 추가"
#: scanner.c:536
msgid "Video"
msgstr "비디오"

View File

@ -84,6 +84,10 @@ msgstr ""
msgid "Playlists"
msgstr ""
#: scanner.c:598
msgid "Recently Added"
msgstr ""
#: scanner.c:536
msgid "Video"
msgstr ""

View File

@ -68,6 +68,10 @@ msgstr "Mapper"
msgid "Playlists"
msgstr "Spillelister"
#: scanner.c:598
msgid "Recently Added"
msgstr "Nylig lagt til"
#: scanner.c:536
msgid "Video"
msgstr "Video"

View File

@ -68,6 +68,10 @@ msgstr "Mappen"
msgid "Playlists"
msgstr "Afspeellijst"
#: scanner.c:598
msgid "Recently Added"
msgstr "Nyligen tillagd"
#: scanner.c:536
msgid "Video"
msgstr "Video"

View File

@ -83,6 +83,10 @@ msgstr "Folder"
msgid "Playlists"
msgstr "Lista Utworow"
#: scanner.c:598
msgid "Recently Added"
msgstr "Niedawno dodane"
#: scanner.c:536
msgid "Video"
msgstr "Filmy"

View File

@ -83,6 +83,10 @@ msgstr "Mape"
msgid "Playlists"
msgstr "Seznami predvajanj"
#: scanner.c:598
msgid "Recently Added"
msgstr "nedavno dodano"
#: scanner.c:536
msgid "Video"
msgstr "Video"

View File

@ -68,6 +68,10 @@ msgstr "Mappar"
msgid "Playlists"
msgstr "Spelningslistor"
#: scanner.c:598
msgid "Recently Added"
msgstr "nyligen tillagda"
#: scanner.c:536
msgid "Video"
msgstr "Film"

View File

@ -594,7 +594,8 @@ CreateDatabase(void)
ret = sql_exec(db, "INSERT into OBJECTS (OBJECT_ID, PARENT_ID, DETAIL_ID, CLASS, NAME)"
" values "
"('%s', '%s', %lld, 'container.storageFolder', '%q')",
magic->objectid_match, parent, GetFolderMetadata(magic->name, NULL, NULL, NULL, 0), magic->name);
magic->objectid_match, parent,
GetFolderMetadata(_(magic->name), NULL, NULL, NULL, 0), _(magic->name));
free(parent);
if( ret != SQLITE_OK )
goto sql_failed;