Unified
Split
Showing
with
27 additions
and 10 deletions.
- +16 −1 src/ThemesApp.cpp
- +3 −3 src/locales/de.catkeys
- +2 −1 src/locales/en.catkeys
- +5 −4 src/locales/fr.catkeys
- +1 −1 src/makefile
| @@ -7,6 +7,21 @@ | ||
| #include <Screen.h> | ||
| #include <Window.h> | ||
|
|
||
| #ifdef __HAIKU__ | ||
| #include <locale/Catalog.h> | ||
| #endif | ||
| #ifdef B_ZETA_VERSION | ||
| #include <locale/Locale.h> | ||
| #define B_TRANSLATE _T | ||
| #endif | ||
|
|
||
| #ifndef B_TRANSLATE | ||
| #define B_TRANSLATE(v) v | ||
| #endif | ||
|
|
||
| #undef B_TRANSLATION_CONTEXT | ||
| #define B_TRANSLATION_CONTEXT "ThemesApp" | ||
|
|
||
| #include <stdio.h> | ||
| #include <unistd.h> | ||
|
|
||
| @@ -34,7 +49,7 @@ ThemesApp::ReadyToRun() | ||
| BRect frame(0, 0, 680, 400); | ||
| frame.OffsetBySelf(s.Frame().Width()/2 - frame.Width()/2, | ||
| s.Frame().Height()/2 - frame.Height()/2); | ||
| BWindow *w = new BWindow(frame, "ThemeManager", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_QUIT_ON_WINDOW_CLOSE); | ||
| BWindow *w = new BWindow(frame, B_TRANSLATE("Theme Manager"), B_TITLED_WINDOW, B_NOT_RESIZABLE | B_QUIT_ON_WINDOW_CLOSE); | ||
| ThemeInterfaceView *v = new ThemeInterfaceView(w->Bounds()); | ||
| w->AddChild(v); | ||
| w->Show(); | ||
| @@ -2,16 +2,16 @@ | ||
| Ok ThemeInterfaceView OK | ||
| Save ThemeInterfaceView Speichern | ||
| Screenshot ThemeInterfaceView Screenshot | ||
| No Theme selected ThemeInterfaceView Kein Theme ausgewählt | ||
| No theme selected ThemeInterfaceView Kein Theme ausgewählt | ||
| Apply ThemeInterfaceView Anwenden | ||
| Options ThemeInterfaceView Optionen | ||
| Defaults ThemeInterfaceView Standardwerte | ||
| More themes ThemeInterfaceView Weitere Themes | ||
| Details ThemeInterfaceView Details | ||
| New ThemeInterfaceView Neu | ||
| Add Screenshot ThemeInterfaceView Screenshot hinzufügen | ||
| Add screenshot ThemeInterfaceView Screenshot hinzufügen | ||
| Delete ThemeInterfaceView Löschen | ||
| No Screenshot ThemeInterfaceView Kein Screenshot | ||
| No screenshot ThemeInterfaceView Kein Screenshot | ||
| Apply ThemeAddonItem Anwenden | ||
| Preferences ThemeAddonItem Einstellungen | ||
| Save ThemeAddonItem Speichern | ||
| @@ -1,11 +1,12 @@ | ||
| 1 English application/x-vnd.mmu_man-ThemeManager 1465829422 | ||
| 1 English application/x-vnd.mmu_man-ThemeManager 3433625334 | ||
| Ok ThemeInterfaceView Ok | ||
| Apply ThemeAddonItem Apply | ||
| Preferences ThemeAddonItem Preferences | ||
| Save ThemeInterfaceView Save | ||
| Save ThemeAddonItem Save | ||
| Save these settings to themes ThemeAddonItem Save these settings to themes | ||
| Screenshot ThemeInterfaceView Screenshot | ||
| Theme Manager ThemesApp Theme Manager | ||
| Global ThemeAddonItem Global | ||
| No theme selected ThemeInterfaceView No theme selected | ||
| Open the preference panel for this item ThemeAddonItem Open the preference panel for this item | ||
| @@ -1,17 +1,17 @@ | ||
| 1 French application/x-vnd.mmu_man-ThemeManager 1465829422 | ||
| 1 French application/x-vnd.mmu_man-ThemeManager 3433625334 | ||
| Ok ThemeInterfaceView Ok | ||
| Save ThemeInterfaceView Enregistrer | ||
| Screenshot ThemeInterfaceView Capture | ||
| No Theme selected ThemeInterfaceView Aucun thème sélectionné | ||
| Apply ThemeInterfaceView Appliquer | ||
| Options ThemeInterfaceView Options | ||
| Defaults ThemeInterfaceView Défauts | ||
| More themes ThemeInterfaceView Plus de thèmes | ||
| Details ThemeInterfaceView Détails | ||
| New ThemeInterfaceView Nouveau | ||
| Add Screenshot ThemeInterfaceView Ajout capture d'écran | ||
| Delete ThemeInterfaceView Effacer | ||
| No Screenshot ThemeInterfaceView Pas de capture | ||
| No theme selected ThemeInterfaceView Aucun thème sélectionné | ||
| Add screenshot ThemeInterfaceView Ajout capture d'écran | ||
| No screenshot ThemeInterfaceView Pas de capture | ||
| Apply ThemeAddonItem Appliquer | ||
| Preferences ThemeAddonItem Préférences | ||
| Save ThemeAddonItem Sauver | ||
| @@ -21,3 +21,4 @@ Save these settings to themes ThemeAddonItem Sauver ces paramètres dans les th | ||
| Open the preference panel for this item ThemeAddonItem Ouvrir le panneau de préférences pour ce sujet | ||
| Set apply/save actions for all items ThemeAddonItem Définir l'action appliquer/sauver pour tous les sujets | ||
| Apply these settings from themes ThemeAddonItem Appliquer ces paramètres depuis les thèmes | ||
| Theme Manager ThemesApp Gestionnaire de thèmes | ||
| @@ -227,7 +227,7 @@ APP_MIME_SIG = application/x-vnd.mmu_man-ThemeManager | ||
| # will recreate only the "locales/en.catkeys" file. Use it as a template | ||
| # for creating catkeys for other languages. All localization files must be | ||
| # placed in the "locales" subdirectory. | ||
| LOCALES = en fr | ||
| LOCALES = en de fr | ||
|
|
||
|
|
||
|
|
||