Reactos

[NET][MC] Replace the last string resource by a message from netmsg.dll.

- Move translations to netmsg.dll.
- Keep italian translation as a comment because netmsg.dll does not have an italian translation yet.
- Remove obsolete resource files.

+10 -113
+1 -1
base/applications/network/net/cmdUse.c
··· 232 232 233 233 Status = WNetUseConnection(NULL, &lpNet, NULL, NULL, CONNECT_REDIRECT | (Persist ? CONNECT_UPDATE_PROFILE : 0), Access, &Size, &OutFlags); 234 234 if (argv[2][0] == L'*' && Status == NO_ERROR && OutFlags == CONNECT_LOCALDRIVE) 235 - ConResPrintf(StdOut, IDS_USE_NOW_CONNECTED, argv[3], Access); 235 + PrintMessageStringV(3919, argv[3], Access); 236 236 else if (Status != NO_ERROR) 237 237 PrintError(Status); 238 238
-6
base/applications/network/net/lang/en-US.rc
··· 1 - LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 2 - 3 - STRINGTABLE 4 - BEGIN 5 - IDS_USE_NOW_CONNECTED "%s is now connected to %s\n" 6 - END
-9
base/applications/network/net/lang/es-ES.rc
··· 1 - /* Spanish Language resource file. 2 - * Translated by: Ismael Ferreras Morezuelas <2014-11-07> */ 3 - 4 - LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL 5 - 6 - STRINGTABLE 7 - BEGIN 8 - IDS_USE_NOW_CONNECTED "%s is now connected to %s\n" 9 - END
-6
base/applications/network/net/lang/it-IT.rc
··· 1 - LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL 2 - 3 - STRINGTABLE 4 - BEGIN 5 - IDS_USE_NOW_CONNECTED "%s è ora connesso con %s\n" 6 - END
-5
base/applications/network/net/lang/pl-PL.rc
··· 1 - LANGUAGE LANG_POLISH, SUBLANG_DEFAULT 2 - STRINGTABLE 3 - BEGIN 4 - IDS_USE_NOW_CONNECTED "%s jest obecnie podłączony do %s\n" 5 - END
-12
base/applications/network/net/lang/ro-RO.rc
··· 1 - /* 2 - * FILE: base/applications/network/net/lang/ro-RO.rc 3 - * ReactOS Project (http://www.reactos.org) 4 - * TRANSLATOR: Ștefan Fulea (stefan dot fulea at mail dot com) 5 - */ 6 - 7 - LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL 8 - 9 - STRINGTABLE 10 - BEGIN 11 - IDS_USE_NOW_CONNECTED "Conectarea %s la %s a fost realizată.\n" 12 - END
-8
base/applications/network/net/lang/ru-RU.rc
··· 1 - /* Russian language resource file by Kudratov Olimjon (olim98@bk.ru) */ 2 - 3 - LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT 4 - 5 - STRINGTABLE 6 - BEGIN 7 - IDS_USE_NOW_CONNECTED "%s сейчас подключен к %s\n" 8 - END
-8
base/applications/network/net/lang/tr-TR.rc
··· 1 - /* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy [at] erdemersoy [dot] net) */ 2 - 3 - LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT 4 - 5 - STRINGTABLE 6 - BEGIN 7 - IDS_USE_NOW_CONNECTED "%s şuna bağlandı: %s\n" 8 - END
-8
base/applications/network/net/lang/zh-CN.rc
··· 1 - /* Simplified Chinese translation by Henry Tang Ih 2016 (henrytang2@hotmail.com) */ 2 - 3 - LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 4 - 5 - STRINGTABLE 6 - BEGIN 7 - IDS_USE_NOW_CONNECTED "%s 现在连接到 %s\n" 8 - END
-8
base/applications/network/net/lang/zh-TW.rc
··· 1 - /* Traditional Chinese translation by Henry Tang Ih 2016 (henrytang2@hotmail.com) */ 2 - 3 - LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL 4 - 5 - STRINGTABLE 6 - BEGIN 7 - IDS_USE_NOW_CONNECTED "%s is now connected to %s\n" 8 - END
-1
base/applications/network/net/net.h
··· 25 25 #include <conutils.h> 26 26 27 27 #include <net_msg.h> 28 - #include "resource.h" 29 28 30 29 extern HMODULE hModuleNetMsg; 31 30
-33
base/applications/network/net/net.rc
··· 1 1 #include <windef.h> 2 2 3 - #include "resource.h" 4 - 5 3 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 6 4 7 5 #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Net Command" ··· 10 8 #include <reactos/version.rc> 11 9 12 10 #include <net_msg.rc> 13 - 14 - /* UTF-8 */ 15 - #pragma code_page(65001) 16 - 17 - #ifdef LANGUAGE_EN_US 18 - #include "lang/en-US.rc" 19 - #endif 20 - #ifdef LANGUAGE_ES_ES 21 - #include "lang/es-ES.rc" 22 - #endif 23 - #ifdef LANGUAGE_IT_IT 24 - #include "lang/it-IT.rc" 25 - #endif 26 - #ifdef LANGUAGE_PL_PL 27 - #include "lang/pl-PL.rc" 28 - #endif 29 - #ifdef LANGUAGE_RO_RO 30 - #include "lang/ro-RO.rc" 31 - #endif 32 - #ifdef LANGUAGE_RU_RU 33 - #include "lang/ru-RU.rc" 34 - #endif 35 - #ifdef LANGUAGE_TR_TR 36 - #include "lang/tr-TR.rc" 37 - #endif 38 - #ifdef LANGUAGE_ZH_CN 39 - #include "lang/zh-CN.rc" 40 - #endif 41 - #ifdef LANGUAGE_ZH_TW 42 - #include "lang/zh-TW.rc" 43 - #endif
-3
base/applications/network/net/resource.h
··· 1 - #pragma once 2 - 3 - #define IDS_USE_NOW_CONNECTED 500
+9 -5
sdk/include/reactos/mc/netmsgmsg.mc
··· 20272 20272 Drive %1 is now connected to %2. 20273 20273 . 20274 20274 Language=Polish 20275 - Drive %1 is now connected to %2. 20275 + %1 jest obecnie podłączony do %2. 20276 20276 . 20277 20277 Language=Romanian 20278 - Drive %1 is now connected to %2. 20278 + Conectarea %1 la %2 a fost realizată. 20279 20279 . 20280 20280 Language=Russian 20281 - Drive %1 is now connected to %2. 20281 + %1 сейчас подключен к %2. 20282 20282 . 20283 20283 Language=Spanish 20284 20284 Drive %1 is now connected to %2. 20285 20285 . 20286 20286 Language=Turkish 20287 - Drive %1 is now connected to %2. 20287 + %1 şuna bağlandı: %2 20288 20288 . 20289 20289 Language=Chinese 20290 - Drive %1 is now connected to %2. 20290 + %1 现在连接到 %2. 20291 20291 . 20292 20292 Language=Taiwanese 20293 20293 Drive %1 is now connected to %2. 20294 20294 . 20295 + 20296 + ; Language=Italian 20297 + ; %1 è ora connesso con %2. 20298 + ; . 20295 20299 20296 20300 MessageId=3920 20297 20301 Severity=Success