From 9c3fca1343f359c2969a701629bacde99a27cc4f Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 6 Jan 2014 11:17:35 +0000 Subject: [PATCH] Basic system translations. Copy translations for the Details and Log on tabs from native Windows tools. --- messages.mc | 24 ++++++++--------- nssm.rc | 74 ++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 79 insertions(+), 19 deletions(-) diff --git a/messages.mc b/messages.mc index e510a5d..28d2137 100644 --- a/messages.mc +++ b/messages.mc @@ -1084,10 +1084,10 @@ Details%0 . Language = French -Details%0 +Détails%0 . Language = Italian -Details%0 +Dettagli%0 . MessageId = +1 @@ -1097,10 +1097,10 @@ Log on%0 . Language = French -Log on%0 +Connexion%0 . Language = Italian -Log on%0 +Connessione%0 . MessageId = +1 @@ -1175,10 +1175,10 @@ Automatic%0 . Language = French -Automatic%0 +Automatique%0 . Language = Italian -Automatic%0 +Automatico%0 . MessageId = +1 @@ -1188,10 +1188,10 @@ Automatic (Delayed Start)%0 . Language = French -Automatic (Delayed Start)%0 +Automatique (début différé)%0 . Language = Italian -Automatic (Delayed Start)%0 +Automatico (avvio ritardato)%0 . MessageId = +1 @@ -1201,10 +1201,10 @@ Manual%0 . Language = French -Manual%0 +Manuel%0 . Language = Italian -Manual%0 +Manuale%0 . MessageId = +1 @@ -1214,10 +1214,10 @@ Disabled%0 . Language = French -Disabled%0 +Désactivé%0 . Language = Italian -Disabled%0 +Disabilitato%0 . MessageId = +1 diff --git a/nssm.rc b/nssm.rc index 41bea9a..6befb69 100644 --- a/nssm.rc +++ b/nssm.rc @@ -127,9 +127,7 @@ EDITTEXT IDC_PATH, 70, 16, 184, 12, ES_AUTOHSCROLL, WS_EX_ACCEPTFILES } - - -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US IDD_DETAILS DIALOG 9, 20, 261, 75 STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL FONT 8, "MS Sans Serif" @@ -143,7 +141,7 @@ COMBOBOX IDC_STARTUP, 70, 58, 100, 120, CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_TABSTOP } -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US IDD_LOGON DIALOG 9, 20, 261, 75 STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL FONT 8, "MS Sans Serif" @@ -159,6 +157,8 @@ EDITTEXT IDC_PASSWORD2, 75, 58, 178, 12, ES_AUTOHSCROLL | ES_PASSWORD } + + LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_SHUTDOWN DIALOG 9, 20, 261, 75 STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL @@ -259,7 +259,7 @@ LTEXT "Nom du service:", IDC_STATIC, 7, 106, 52, 8, SS_LEFT EDITTEXT IDC_NAME, 64, 104, 98, 12, ES_AUTOHSCROLL DEFPUSHBUTTON "Installer le service", IDOK, 172, 104, 65, 14 - PUSHBUTTON "Anuller", IDCANCEL, 242, 104, 35, 14 + PUSHBUTTON "Annuler", IDCANCEL, 242, 104, 35, 14 } IDD_REMOVE DIALOG 0, 0, 223, 28 @@ -282,7 +282,7 @@ LTEXT "Nom du service:", IDC_STATIC, 7, 106, 52, 8, SS_LEFT EDITTEXT IDC_NAME, 64, 104, 98, 12, ES_AUTOHSCROLL DEFPUSHBUTTON "Editer le service", IDOK, 172, 106, 65, 14 - PUSHBUTTON "Anuller", IDCANCEL, 242, 106, 35, 14 + PUSHBUTTON "Annuler", IDCANCEL, 242, 106, 35, 14 } LANGUAGE LANG_FRENCH, SUBLANG_FRENCH @@ -302,6 +302,36 @@ } LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +IDD_DETAILS DIALOG 9, 20, 261, 75 +STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL +FONT 8, "MS Sans Serif" +{ + GROUPBOX "Détails", IDC_STATIC, 7, 7, 251, 68 + LTEXT "Nom complet:", IDC_STATIC, 13, 18, 45, 8, SS_LEFT + EDITTEXT IDC_DISPLAYNAME, 81, 16, 173, 12, ES_AUTOHSCROLL + LTEXT "Description:", IDC_STATIC, 13, 34, 38, 8, SS_LEFT + EDITTEXT IDC_DESCRIPTION, 81, 32, 173, 22, ES_AUTOHSCROLL, WS_EX_ACCEPTFILES + LTEXT "Type de démarrage:", IDC_STATIC, 13, 60, 70, 8, SS_LEFT + COMBOBOX IDC_STARTUP, 81, 58, 105, 120, CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_TABSTOP +} + +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +IDD_LOGON DIALOG 9, 20, 261, 75 +STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL +FONT 8, "MS Sans Serif" +{ + GROUPBOX "Ouvrir une session en tant que", IDC_STATIC, 7, 7, 251, 68 + AUTORADIOBUTTON "Compte système local", IDC_LOCALSYSTEM, 13, 18, 86, 8 + AUTOCHECKBOX "Autoriser à interagir avec le Bureau", IDC_INTERACT, 101, 18, 133, 8 + AUTORADIOBUTTON "Ce Compte:", IDC_ACCOUNT, 13, 32, 59, 8 + EDITTEXT IDC_USERNAME, 75, 30, 178, 12, ES_AUTOHSCROLL + EDITTEXT IDC_PASSWORD1, 75, 44, 178, 12, ES_AUTOHSCROLL | ES_PASSWORD + LTEXT "Mot de passe:", IDC_STATIC, 25, 46, 48, 8, SS_LEFT + LTEXT "Confirmer:", IDC_STATIC, 25, 60, 32, 8, SS_LEFT + EDITTEXT IDC_PASSWORD2, 75, 58, 178, 12, ES_AUTOHSCROLL | ES_PASSWORD +} + +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH IDD_NATIVE DIALOG 9, 20, 261, 75 STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL FONT 8, "MS Sans Serif" @@ -376,12 +406,42 @@ } LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN +IDD_DETAILS DIALOG 9, 20, 261, 75 +STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL +FONT 8, "MS Sans Serif" +{ + GROUPBOX "Dettagli", IDC_STATIC, 7, 7, 251, 68 + LTEXT "Nome visualizzato:", IDC_STATIC, 13, 18, 59, 8, SS_LEFT + EDITTEXT IDC_DISPLAYNAME, 75, 16, 179, 12, ES_AUTOHSCROLL + LTEXT "Descrizione:", IDC_STATIC, 13, 34, 38, 8, SS_LEFT + EDITTEXT IDC_DESCRIPTION, 75, 32, 179, 22, ES_AUTOHSCROLL, WS_EX_ACCEPTFILES + LTEXT "Tipo di avvio:", IDC_STATIC, 13, 60, 46, 8, SS_LEFT + COMBOBOX IDC_STARTUP, 75, 58, 105, 120, CBS_DROPDOWNLIST | CBS_HASSTRINGS | WS_TABSTOP +} + +LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN +IDD_LOGON DIALOG 9, 20, 261, 75 +STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL +FONT 8, "MS Sans Serif" +{ + GROUPBOX "Connessione", IDC_STATIC, 7, 7, 251, 68 + AUTORADIOBUTTON "Account di sisteme locale", IDC_LOCALSYSTEM, 13, 18, 96, 8 + AUTOCHECKBOX "Consenti di interagire col desktop", IDC_INTERACT, 112, 18, 133, 8 + AUTORADIOBUTTON "Account:", IDC_ACCOUNT, 13, 32, 59, 8 + EDITTEXT IDC_USERNAME, 75, 30, 178, 12, ES_AUTOHSCROLL + LTEXT "Password:", IDC_STATIC, 25, 46, 32, 8, SS_LEFT + EDITTEXT IDC_PASSWORD1, 75, 44, 178, 12, ES_AUTOHSCROLL | ES_PASSWORD + LTEXT "Conferma:", IDC_STATIC, 25, 60, 32, 8, SS_LEFT + EDITTEXT IDC_PASSWORD2, 75, 58, 178, 12, ES_AUTOHSCROLL | ES_PASSWORD +} + +LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN IDD_NATIVE DIALOG 9, 20, 261, 75 STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL FONT 8, "MS Sans Serif" { GROUPBOX "Servizio", IDC_STATIC, 7, 7, 251, 68 - LTEXT "Path:", IDC_STATIC, 13, 18, 53, 8, SS_LEFT + LTEXT "File eseguibile:", IDC_STATIC, 13, 18, 53, 8, SS_LEFT EDITTEXT IDC_PATH, 70, 16, 184, 12, ES_AUTOHSCROLL, WS_EX_ACCEPTFILES }