Author: pschweitzer
Date: Sun Dec 11 09:01:22 2016
New Revision: 73447
URL:
http://svn.reactos.org/svn/reactos?rev=73447&view=rev
Log:
[NET/USE]
Allow some strings to be translated
Modified:
trunk/reactos/base/applications/network/net/cmdUse.c
trunk/reactos/base/applications/network/net/lang/en-US.rc
trunk/reactos/base/applications/network/net/lang/es-ES.rc
trunk/reactos/base/applications/network/net/lang/ro-RO.rc
trunk/reactos/base/applications/network/net/lang/ru-RU.rc
trunk/reactos/base/applications/network/net/lang/tr-TR.rc
trunk/reactos/base/applications/network/net/lang/zh-CN.rc
trunk/reactos/base/applications/network/net/lang/zh-TW.rc
trunk/reactos/base/applications/network/net/resource.h
Modified: trunk/reactos/base/applications/network/net/cmdUse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/cmdUse.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/cmdUse.c [iso-8859-1] Sun Dec 11 09:01:22
2016
@@ -192,12 +192,12 @@
Status = WNetUseConnection(NULL, &lpNet, NULL, NULL, CONNECT_REDIRECT |
(Persist ? CONNECT_UPDATE_PROFILE : 0), Access, &Size, &OutFlags);
if (argv[2][0] == L'*' && Status == NO_ERROR && OutFlags
== CONNECT_LOCALDRIVE)
- ConPrintf(StdOut, L"%s is now connected to %s\n", argv[3],
Access);
+ ConResPrintf(StdOut, IDS_USE_NOW_CONNECTED, argv[3], Access);
else if (Status != NO_ERROR)
{
LPWSTR Buffer;
- ConPrintf(StdErr, L"The system error %d happened.\n", Status);
+ ConResPrintf(StdErr, IDS_ERROR_SYSTEM_ERROR, Status);
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM
| FORMAT_MESSAGE_IGNORE_INSERTS, NULL, Status, 0, (LPWSTR)&Buffer, 0, NULL))
{
Modified: trunk/reactos/base/applications/network/net/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/en-US.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -111,6 +111,8 @@
IDS_USER_ENTER_PASSWORD2 "Enter the password again: "
IDS_USER_NO_PASSWORD_MATCH "The passwords do not match!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "Yes"
IDS_GENERIC_NO "No"
IDS_GENERIC_NEVER "Never"
@@ -120,4 +122,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "The %s option is not supported yet.\n"
IDS_ERROR_INVALID_OPTION_VALUE "You entered an invalid value for the %s
option.\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/es-ES.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -114,6 +114,8 @@
IDS_USER_ENTER_PASSWORD2 "Vuelva a escribir la contraseña: "
IDS_USER_NO_PASSWORD_MATCH "Las contraseñas no coinciden."
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "SÃ"
IDS_GENERIC_NO "No"
IDS_GENERIC_NEVER "Nunca"
@@ -123,4 +125,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "La opción %s todavÃa no está
disponible.\n"
IDS_ERROR_INVALID_OPTION_VALUE "El valor para la opción %s no es
válido.\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/ro-RO.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -117,6 +117,8 @@
IDS_USER_ENTER_PASSWORD2 "IntroduceÈi din nou parola: "
IDS_USER_NO_PASSWORD_MATCH "Parolele diferÄ!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "Da"
IDS_GENERIC_NO "Nu"
IDS_GENERIC_NEVER "NiciodatÄ"
@@ -126,4 +128,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "OpÅ£iunea %s încÄ nu este admisÄ.\n"
IDS_ERROR_INVALID_OPTION_VALUE "AÅ£i introdus o valoare nevalidÄ pentru
opţiunea %s.\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/ru-RU.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -113,6 +113,8 @@
IDS_USER_ENTER_PASSWORD2 "ÐовÑоÑиÑе ввод паÑÐ¾Ð»Ñ Ð´Ð»Ñ
подÑвеÑждениÑ: "
IDS_USER_NO_PASSWORD_MATCH "ÐаÑоли не ÑовпадаÑÑ!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "Ðа"
IDS_GENERIC_NO "ÐеÑ"
IDS_GENERIC_NEVER "Ðикогда"
@@ -122,4 +124,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "ÐпÑÐ¸Ñ %s в даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ Ð½Ðµ
поддеÑживаеÑÑÑ.\n"
IDS_ERROR_INVALID_OPTION_VALUE "ÐÑ Ð²Ð²ÐµÐ»Ð¸ невеÑнÑй даннÑе
Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð¹ опÑии %s.\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/tr-TR.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -113,6 +113,8 @@
IDS_USER_ENTER_PASSWORD2 "Åifreyi yeniden giriniz: "
IDS_USER_NO_PASSWORD_MATCH "Åifreler uyuÅmuyor!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "Evet"
IDS_GENERIC_NO "Hayır"
IDS_GENERIC_NEVER "Hiçbir Zaman"
@@ -122,4 +124,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "%s seçeneÄi daha desteklenmiyor.\n"
IDS_ERROR_INVALID_OPTION_VALUE "%s seçeneÄi için geçersiz bir deÄer
girdiniz.\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/zh-CN.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -113,6 +113,8 @@
IDS_USER_ENTER_PASSWORD2 "å次è¾å
¥å¯ç : "
IDS_USER_NO_PASSWORD_MATCH "å¯ç ä¸å¹é
!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "æ¯"
IDS_GENERIC_NO "å¦"
IDS_GENERIC_NEVER "æ°¸ä¸"
@@ -122,4 +124,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "å°ä¸æ¯æ %s é项ã\n"
IDS_ERROR_INVALID_OPTION_VALUE "Yæ¨è¾å
¥äºæ æçå¼ä¸º %s é项ã\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/lang/zh-TW.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/lang/zh-TW.rc [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -113,6 +113,8 @@
IDS_USER_ENTER_PASSWORD2 "å次輸å
¥å¯ç¢¼: "
IDS_USER_NO_PASSWORD_MATCH "å¯ç¢¼ä¸å¹é
!"
+ IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
+
IDS_GENERIC_YES "æ¯"
IDS_GENERIC_NO "å¦"
IDS_GENERIC_NEVER "æ°¸ä¸"
@@ -122,4 +124,5 @@
IDS_ERROR_OPTION_NOT_SUPPORTED "å°ä¸æ¯æ´ %s é¸é
ã\n"
IDS_ERROR_INVALID_OPTION_VALUE "æ¨è¼¸å
¥äºç¡æçå¼çº %s é¸é
ã\n"
+ IDS_ERROR_SYSTEM_ERROR "The system error %d happened.\n"
END
Modified: trunk/reactos/base/applications/network/net/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/resource.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/resource.h [iso-8859-1] Sun Dec 11
09:01:22 2016
@@ -91,12 +91,15 @@
#define IDS_USER_ENTER_PASSWORD2 491
#define IDS_USER_NO_PASSWORD_MATCH 492
-#define IDS_GENERIC_YES 500
-#define IDS_GENERIC_NO 501
-#define IDS_GENERIC_NEVER 502
-#define IDS_GENERIC_NONE 503
-#define IDS_GENERIC_ALL 504
-#define IDS_GENERIC_LOCKED 505
+#define IDS_USE_NOW_CONNECTED 500
-#define IDS_ERROR_OPTION_NOT_SUPPORTED 600
-#define IDS_ERROR_INVALID_OPTION_VALUE 601
+#define IDS_GENERIC_YES 600
+#define IDS_GENERIC_NO 601
+#define IDS_GENERIC_NEVER 602
+#define IDS_GENERIC_NONE 603
+#define IDS_GENERIC_ALL 604
+#define IDS_GENERIC_LOCKED 605
+
+#define IDS_ERROR_OPTION_NOT_SUPPORTED 700
+#define IDS_ERROR_INVALID_OPTION_VALUE 701
+#define IDS_ERROR_SYSTEM_ERROR 702