Skip to content

Commit

Permalink
hostname: Use GetComputerNameW to get hostname.
Browse files Browse the repository at this point in the history
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
  • Loading branch information
cjacek authored and julliard committed Oct 5, 2018
1 parent d0798a7 commit 751f8e3
Show file tree
Hide file tree
Showing 50 changed files with 256 additions and 20 deletions.
6 changes: 6 additions & 0 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -11434,6 +11434,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "خطأ: خيار عير سليم '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "خطأ : لم يتم العثور على العملية \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -10923,6 +10923,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -11182,6 +11182,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Error: L'opció '%c' no és vàlida.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Error: No s'ha pogut trobar el procés \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -10959,6 +10959,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Chyba: neplatná volba „%c“.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Chyba: Nelze nalézt proces „%1“.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -11347,6 +11347,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Fejl: Ugyldig valgmulighed '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Fejl: Kunne ikke finde processen «%1».\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -11135,6 +11135,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Fehler: Ungültige Option '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Fehler: Prozess \"%1\" konnte nicht gefunden werden.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -10726,6 +10726,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -11054,6 +11054,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Error: Invalid option '%c'.\n"

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr "Error: Could not get hostname: %u.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -11054,6 +11054,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Error: Invalid option '%c'.\n"

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr "Error: Could not get hostname: %u.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/eo.po
Original file line number Diff line number Diff line change
Expand Up @@ -10677,6 +10677,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -11419,6 +11419,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Error: Opción '%c' inválida.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Error: No se pudo encontrar el proceso \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/fa.po
Original file line number Diff line number Diff line change
Expand Up @@ -10711,6 +10711,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -11032,6 +11032,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Virhe: Virheellinen valinta '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Virhe: Prosessia \"%1\" ei löytynyt.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -11320,6 +11320,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Erreur : option « %c » invalide.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Erreur : processus « %1 » introuvable.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/he.po
Original file line number Diff line number Diff line change
Expand Up @@ -11114,6 +11114,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Error: Invalid option '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Error: Could not find process \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/hi.po
Original file line number Diff line number Diff line change
Expand Up @@ -10537,6 +10537,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -10905,6 +10905,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Greška: Neispravna opcija '%c'.\n"

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -11338,6 +11338,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Hiba: Érvénytelen opció '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Hiba: A \"%1\" folyamat nem található.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -11420,6 +11420,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Errore: opzione non valida '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Errore: processo non trovato \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -11041,6 +11041,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "エラー: 無効なオプション '%c'。\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "エラー: プロセス(%1)が見つかりません。\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -11232,6 +11232,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "오류: 올바르지 않은 옵션 '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "오류: 프로세스 \"%1\"를 찾을 수 없습니다.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/lt.po
Original file line number Diff line number Diff line change
Expand Up @@ -11060,6 +11060,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Klaida: netinkamas parametras „%c“.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Klaida: nepavyko rasti proceso „%1“.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/ml.po
Original file line number Diff line number Diff line change
Expand Up @@ -10537,6 +10537,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/nb_NO.po
Original file line number Diff line number Diff line change
Expand Up @@ -11054,6 +11054,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Feil: \"%c\" er et ugyldig valg.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Feil: Klarte ikke finne prosessen \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -11383,6 +11383,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Fout: Ongeldige optie '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Fout: Kon proces \"%1\" niet vinden.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/or.po
Original file line number Diff line number Diff line change
Expand Up @@ -10537,6 +10537,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/pa.po
Original file line number Diff line number Diff line change
Expand Up @@ -10537,6 +10537,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -11126,6 +11126,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Błąd: Nieprawidłowa opcja '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Błąd: Nie można znaleźć procesu \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -11251,6 +11251,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Erro: Opção inválida '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Erro: Não foi possível encontrar o processo \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/pt_PT.po
Original file line number Diff line number Diff line change
Expand Up @@ -11097,6 +11097,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Erro: opção inválida '%c'.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Erro: Incapaz de encontrar o processo \"%1\".\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
4 changes: 4 additions & 0 deletions po/rm.po
Original file line number Diff line number Diff line change
Expand Up @@ -10618,6 +10618,10 @@ msgid "Error: Invalid option '%c'.\n"
msgstr ""

#: hostname.rc:32
msgid "Error: Could not get hostname: %u.\n"
msgstr ""

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
6 changes: 6 additions & 0 deletions po/ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -11204,6 +11204,12 @@ msgid "Error: Invalid option '%c'.\n"
msgstr "Eroare: Opțiune nevalidă „%c”.\n"

#: hostname.rc:32
#, fuzzy
#| msgid "Error: Could not find process \"%1\".\n"
msgid "Error: Could not get hostname: %u.\n"
msgstr "Eroare: Procesul „%1” nu a putut fi găsit.\n"

#: hostname.rc:33
msgid ""
"Error: Setting the system hostname is not possible with the hostname "
"utility.\n"
Expand Down
Loading

0 comments on commit 751f8e3

Please sign in to comment.