.SysInfo: Translation

git-svn-id: svn://ultimatepp.org/upp/trunk@5720 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2013-01-19 13:27:24 +00:00
parent 999d5af623
commit b286733dd1
4 changed files with 21 additions and 27 deletions

View file

@ -14,7 +14,7 @@
NAMESPACE_UPP
#define TFILE <SysInfo/SysInfo.t>
#include <Core/t.h>;
#include <Core/t.h>
/////////////////////////////////////////////////////////////////////
@ -884,11 +884,11 @@ void GetWindowsList(Array<long> &hWnd, Array<long> &processId, Array<String> &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

View file

@ -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")

View file

@ -15,7 +15,7 @@ file
SysInfo.h,
SysInfo_in.h,
os.cpp,
scrrengrab.cpp,
screengrab.cpp,
mousekey.cpp,
cpuspeed.cpp,
battery.cpp,