diff --git a/bazaar/SysInfo/SysInfo.cpp b/bazaar/SysInfo/SysInfo.cpp index 8ead430de..cc4a5ceed 100644 --- a/bazaar/SysInfo/SysInfo.cpp +++ b/bazaar/SysInfo/SysInfo.cpp @@ -14,7 +14,7 @@ NAMESPACE_UPP #define TFILE -#include ; +#include ///////////////////////////////////////////////////////////////////// @@ -884,11 +884,11 @@ void GetWindowsList(Array &hWnd, Array &processId, Array &na if (GetModuleFileNameExW(hProcess, hInstance, str, sizeof(str)/sizeof(WCHAR))) fileName.Add(WString(str).ToString()); else - fileName.Add(t_("UNKNOWN")); + fileName.Add(t_("Unknown process")); if (GetModuleBaseNameW(hProcess, hInstance, str, sizeof(str)/sizeof(WCHAR))) name.Add(WString(str).ToString()); else - name.Add(t_("UNKNOWN")); + name.Add(t_("Unknown process")); CloseHandle(hProcess); if (IsWindowVisible((HWND)hWnd[i])) { int count = int(SendMessageW((HWND)hWnd[i], WM_GETTEXT, sizeof(str)/sizeof(WCHAR), (LPARAM)str)); @@ -1713,7 +1713,7 @@ void SetDesktopWallPaper(const char *path) mode = 6; Sys("dcop kdesktop KBackgroundIface setWallpaper \"" + String(path) + "\" " + AsString(mode)); } else - throw Exc(t_("Not possible to change Desktop bitmap")); + throw Exc(t_("Impossible to change Desktop bitmap")); } #endif @@ -1723,7 +1723,7 @@ void SetDesktopWallPaper(const char *path) void SetDesktopWallPaper(const char *path) { if (0 == SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (LPVOID)path, SPIF_UPDATEINIFILE || SPIF_SENDWININICHANGE)) - throw Exc(Format(t_("Error %s changing Desktop bitmap"), AsString(GetLastError()))); + throw Exc(String(t_("Impossible to change Desktop bitmap")) + ": " + AsString(GetLastError())); } #endif diff --git a/bazaar/SysInfo/SysInfo.t b/bazaar/SysInfo/SysInfo.t index cdaac6dc7..e8469cfe1 100644 --- a/bazaar/SysInfo/SysInfo.t +++ b/bazaar/SysInfo/SysInfo.t @@ -3,29 +3,23 @@ #endif // SysInfo.cpp -T_("UNKNOWN") -caES("") -esES("DESCONOCIDO") -euES("") -frFR("") +T_("Unknown process") +caES("Procés desconegut") +esES("Proceso desconocido") +euES("Ezezaguna prozesua") +frFR("Processus inconnu") -T_("Not possible to change Desktop bitmap") -caES("") -esES("No es posible cambiar la imagen del Escritorio") -euES("") -frFR("") - -T_("Error %s changing Desktop bitmap") -caES("") -esES("Error %s cambiando la imagen del Escritorio") -euES("") -frFR("") +T_("Impossible to change Desktop bitmap") +caES("Impossible canviar la imatge de l'escriptori") +esES("Imposible cambiar la imagen del escritorio") +euES("Desktop image ezin da aldatu") +frFR("Impossible de changer bitmap de bureau") -// scrrengrab.cpp +// screengrab.cpp T_("Unknown grab mode") -caES("") -esES("Modo de grabaci\303\263n desconocida") -euES("") -frFR("") +caES("Mode de gravació desconegut") +esES("Modo de grabaci\303\263n desconocido") +euES("Grabaketa mode ezezaguna") +frFR("Mode déplacement inconnu") diff --git a/bazaar/SysInfo/SysInfo.upp b/bazaar/SysInfo/SysInfo.upp index 92355dfe1..df900c942 100644 --- a/bazaar/SysInfo/SysInfo.upp +++ b/bazaar/SysInfo/SysInfo.upp @@ -15,7 +15,7 @@ file SysInfo.h, SysInfo_in.h, os.cpp, - scrrengrab.cpp, + screengrab.cpp, mousekey.cpp, cpuspeed.cpp, battery.cpp, diff --git a/bazaar/SysInfo/scrrengrab.cpp b/bazaar/SysInfo/screengrab.cpp similarity index 100% rename from bazaar/SysInfo/scrrengrab.cpp rename to bazaar/SysInfo/screengrab.cpp