[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.
This commit is contained in:
Eric Kohl 2020-05-01 09:40:37 +02:00
parent 77b8505393
commit 16d136a63e
14 changed files with 10 additions and 113 deletions

View file

@ -232,7 +232,7 @@ cmdUse(
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)
ConResPrintf(StdOut, IDS_USE_NOW_CONNECTED, argv[3], Access);
PrintMessageStringV(3919, argv[3], Access);
else if (Status != NO_ERROR)
PrintError(Status);

View file

@ -1,6 +0,0 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
END

View file

@ -1,9 +0,0 @@
/* Spanish Language resource file.
* Translated by: Ismael Ferreras Morezuelas <2014-11-07> */
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
END

View file

@ -1,6 +0,0 @@
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s è ora connesso con %s\n"
END

View file

@ -1,5 +0,0 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s jest obecnie podłączony do %s\n"
END

View file

@ -1,12 +0,0 @@
/*
* FILE: base/applications/network/net/lang/ro-RO.rc
* ReactOS Project (http://www.reactos.org)
* TRANSLATOR: Ștefan Fulea (stefan dot fulea at mail dot com)
*/
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "Conectarea %s la %s a fost realizată.\n"
END

View file

@ -1,8 +0,0 @@
/* Russian language resource file by Kudratov Olimjon (olim98@bk.ru) */
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s сейчас подключен к %s\n"
END

View file

@ -1,8 +0,0 @@
/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy [at] erdemersoy [dot] net) */
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s şuna bağlandı: %s\n"
END

View file

@ -1,8 +0,0 @@
/* Simplified Chinese translation by Henry Tang Ih 2016 (henrytang2@hotmail.com) */
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s 现在连接到 %s\n"
END

View file

@ -1,8 +0,0 @@
/* Traditional Chinese translation by Henry Tang Ih 2016 (henrytang2@hotmail.com) */
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
BEGIN
IDS_USE_NOW_CONNECTED "%s is now connected to %s\n"
END

View file

@ -25,7 +25,6 @@
#include <conutils.h>
#include <net_msg.h>
#include "resource.h"
extern HMODULE hModuleNetMsg;

View file

@ -1,7 +1,5 @@
#include <windef.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Net Command"
@ -10,34 +8,3 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include <reactos/version.rc>
#include <net_msg.rc>
/* UTF-8 */
#pragma code_page(65001)
#ifdef LANGUAGE_EN_US
#include "lang/en-US.rc"
#endif
#ifdef LANGUAGE_ES_ES
#include "lang/es-ES.rc"
#endif
#ifdef LANGUAGE_IT_IT
#include "lang/it-IT.rc"
#endif
#ifdef LANGUAGE_PL_PL
#include "lang/pl-PL.rc"
#endif
#ifdef LANGUAGE_RO_RO
#include "lang/ro-RO.rc"
#endif
#ifdef LANGUAGE_RU_RU
#include "lang/ru-RU.rc"
#endif
#ifdef LANGUAGE_TR_TR
#include "lang/tr-TR.rc"
#endif
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif

View file

@ -1,3 +0,0 @@
#pragma once
#define IDS_USE_NOW_CONNECTED 500

View file

@ -20272,27 +20272,31 @@ Language=English
Drive %1 is now connected to %2.
.
Language=Polish
Drive %1 is now connected to %2.
%1 jest obecnie podłączony do %2.
.
Language=Romanian
Drive %1 is now connected to %2.
Conectarea %1 la %2 a fost realizată.
.
Language=Russian
Drive %1 is now connected to %2.
%1 сейчас подключен к %2.
.
Language=Spanish
Drive %1 is now connected to %2.
.
Language=Turkish
Drive %1 is now connected to %2.
%1 şuna bağlandı: %2
.
Language=Chinese
Drive %1 is now connected to %2.
%1 %2.
.
Language=Taiwanese
Drive %1 is now connected to %2.
.
; Language=Italian
; %1 è ora connesso con %2.
; .
MessageId=3920
Severity=Success
Facility=System