net: Make it possible to translate the connection status descriptions.
Also remove the description for USE_DISCONN as it is in fact a synonym
for USE_SESSLOST.
diff --git a/po/ar.po b/po/ar.po
index 3ddcbc2..a801a18 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -8320,6 +8320,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&جديد\tCtrl+N"
diff --git a/po/bg.po b/po/bg.po
index daaabc8..b8314c6 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -8490,6 +8490,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Преустановено; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Файлът не е намерен"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Появи се грешка при печатането."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN връзка"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Default Settings"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Нов\tCtrl+N"
diff --git a/po/ca.po b/po/ca.po
index b97b900..05d4949 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8236,6 +8236,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/cs.po b/po/cs.po
index 23444a1..2126a19 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -8860,6 +8860,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Pozastaven; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Soubor nebyl nalezen"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Nastala chyba tisku."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Připojit &síťové zařízení"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Standardní nastavení"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nový\tCtrl+N"
diff --git a/po/da.po b/po/da.po
index 48485d2..eb9efb4 100644
--- a/po/da.po
+++ b/po/da.po
@@ -8923,6 +8923,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Åbne resourser: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pause"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Rør forbundet\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Der opstod en printer fejl."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Forbindelsen er aktiv\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Tilslutter til %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Ny\tCtrl+N"
diff --git a/po/de.po b/po/de.po
index 9c8b665..5b9f0e4 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8909,6 +8909,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Offene Ressourcen: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Angehalten"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipe verbunden\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Ein Druckerfehler ist aufgetreten."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Verbindung ist aktiv\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Verbindung mit %s wird hergestellt"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Neu\tStrg+N"
diff --git a/po/el.po b/po/el.po
index 561a1dd..5784cf3 100644
--- a/po/el.po
+++ b/po/el.po
@@ -8369,6 +8369,33 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Σταματημένος; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Το αρχείο δε βρέθηκε"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Προκλήθηκε σφάλμα εκτυπωτή."
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/en.po b/po/en.po
index 96fddc1..e2c5e2b 100644
--- a/po/en.po
+++ b/po/en.po
@@ -8549,6 +8549,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Open resources: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr "Disconnected"
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr "A network error occurred"
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr "Connection is being made"
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr "Reconnecting"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/en_US.po b/po/en_US.po
index a869455..1fd9b10 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -8657,6 +8657,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Open resources: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr "OK"
+
+#: net.rc:46
+msgid "Paused"
+msgstr "Paused"
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr "Disconnected"
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr "A network error occurred"
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr "Connection is being made"
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr "Reconnecting"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&New\tCtrl+N"
diff --git a/po/eo.po b/po/eo.po
index 7943890..66eda37 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -8494,6 +8494,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Paýse; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Dosiero ne estis trovita"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Okazis printila eroro."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN Interkonekto"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Defaýltaj Agordoj"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nova\tCtrl+N"
diff --git a/po/es.po b/po/es.po
index 8c2888b..7adad07 100644
--- a/po/es.po
+++ b/po/es.po
@@ -9088,6 +9088,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Pausada; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Archivo no encontrado"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Ocurrió un error en la impresora."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Conexión LAN"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Conectando to %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nuevo\tCtrl+N"
diff --git a/po/fa.po b/po/fa.po
index 68b84c6..6950488 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -8322,6 +8322,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&ایجادکردن\tCtrl+N"
diff --git a/po/fi.po b/po/fi.po
index a4af820..61da6fa 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -8575,6 +8575,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Pysäytetty; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Tiedostoa ei löydy"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Tulostinvirhe."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Lähiverkkoyhteys"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Default Settings"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Uusi\tCtrl+N"
diff --git a/po/fr.po b/po/fr.po
index 4d8caaf..464f7d6 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8748,6 +8748,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Ressources ouvertes : %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "En pau&se"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Canal de communication connecté\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Une erreur d'impression s'est produite."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Connexion active\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Connexion à %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nouveau\tCtrl+N"
diff --git a/po/he.po b/po/he.po
index 255b3e7..a092141 100644
--- a/po/he.po
+++ b/po/he.po
@@ -8758,6 +8758,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Open resources: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&מושהית"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "הקובץ לא נמצא"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "אירעה שגיאת מדפסת."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "חיבור רשת מקומית"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "בהליכי התחברות אל %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&חדש\tCtrl+N"
diff --git a/po/hi.po b/po/hi.po
index 75d9f7e..43bdfa0 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -8231,6 +8231,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/hu.po b/po/hu.po
index 0f1c4d9..9b67b42 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -8770,6 +8770,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Szünet; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Fájl nem található"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Nyomtatási hiba történt."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN kapcsolat"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Kapcsolódás: %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "Ú&j\tCtrl+N"
diff --git a/po/it.po b/po/it.po
index 8f51100..0a9a229 100644
--- a/po/it.po
+++ b/po/it.po
@@ -9009,6 +9009,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Risorse aperte: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&In pausa"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipe connessa\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Si è verificato un errore della stampante."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Connessione attiva\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Connettendo a %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nuovo\tCtrl+N"
diff --git a/po/ja.po b/po/ja.po
index 0c111d8..a61c863 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8644,6 +8644,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S リソース数: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "一時停止(&P)"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "パイプは接続されています。\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "プリンタ エラーが発生しました。"
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "接続はアクティブです。\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "%s に接続しています"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "新規作成(&N)\tCtrl+N"
diff --git a/po/ko.po b/po/ko.po
index 6c6be76..276ab96 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -8620,6 +8620,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S 열린 리소스: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "정지(&P)"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "파이프 연결됨\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "프린터 오류 발생."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "연결이 활성화됨\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr " %s 연결중"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "새로 만들기(&N)\tCtrl+N"
diff --git a/po/lt.po b/po/lt.po
index 41479f1..b4bdf07 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -8671,6 +8671,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Atverti ištekliai: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pristabdyta"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Kanalas prijungtas\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Įvyko spausdintuvo klaida."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Sujungimas aktyvus\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Jungiamasi prie %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Naujas\tVald+N"
diff --git a/po/ml.po b/po/ml.po
index dc9108d..0aa7fa3 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -8231,6 +8231,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 892811f..836f349 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -8925,6 +8925,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Åpne ressurser: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pause"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Røret er tilkoblet\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "En skriverfeil har oppstått."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Tilkoblingen er aktiv\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Kobler til %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Ny\tCtrl+N"
diff --git a/po/nl.po b/po/nl.po
index 9c4aa14..ff02420 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8811,6 +8811,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Open resources: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pauze"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipe verbonden\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Er heeft zich een fout voorgedaan met de printer."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Verbinding is actief\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Verbinden met %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nieuw"
diff --git a/po/or.po b/po/or.po
index 037e829..54b0ffe 100644
--- a/po/or.po
+++ b/po/or.po
@@ -8231,6 +8231,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/pa.po b/po/pa.po
index 4252953..e9406eb 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -8231,6 +8231,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 313d288..30cbb43 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8675,6 +8675,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Otwarte zasoby: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Wstrzymana"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Symbol potoku podłączony\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Błąd drukowania."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Połączenie jest aktywne\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Łączenie z %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nowy\tCtrl+N"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index e4a2ef9..11978e5 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -8953,6 +8953,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Recursos disponíveis: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pausa"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipe conectado\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Ocorreu um erro de impressão."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "A conexão está ativa\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Conectando a %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Novo\tCtrl+N"
diff --git a/po/pt_PT.po b/po/pt_PT.po
index 386a612..7c62228 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -9006,6 +9006,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Recursos disponíveis: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pausa"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Tubo ligado\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Ocorreu um erro de impressão."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Ligação está activa\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "A ligar a %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Novo..."
diff --git a/po/rm.po b/po/rm.po
index 582cd01..c5475ad 100644
--- a/po/rm.po
+++ b/po/rm.po
@@ -8284,6 +8284,31 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Default"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/ro.po b/po/ro.po
index 6571e3f..68c4cd6 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -9242,6 +9242,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Resurse deschise: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pauzat"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Fișierul nu a fost găsit"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "S-a produs o eroare la tipărire."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Conexiune LAN"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Conectez la %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nou\tCtrl+N"
diff --git a/po/ru.po b/po/ru.po
index 35a55dc..adcd5ca 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8665,6 +8665,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Открытых ресурсов: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Приостановить"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Канал уже подсоединён\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Произошла ошибка принтера"
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Соединение активно\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Подключение к %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "Созд&ать\tCtrl+N"
diff --git a/po/sk.po b/po/sk.po
index d5b942e..6e57928 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8528,6 +8528,34 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Pozastavená; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Súbor nenájdený"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "A printer error occurred"
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Default"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/sl.po b/po/sl.po
index ab56dbd..5af9aea 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -8696,6 +8696,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Odprta sredstva: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "V &premoru"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Cev je povezana\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Prišlo je do napake tiskanja."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Povezava je dejavna\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Povezovanje z %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Nova\tCtrl+N"
diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po
index 3715fb6..56afbea 100644
--- a/po/sr_RS@cyrillic.po
+++ b/po/sr_RS@cyrillic.po
@@ -8638,6 +8638,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Паузирано; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Датотека није пронађена"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Дошло је до грешке у штампачу."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN веза"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Повезивање на %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Ново\tCtrl+N"
diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po
index fea825d..1af884d 100644
--- a/po/sr_RS@latin.po
+++ b/po/sr_RS@latin.po
@@ -8692,6 +8692,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "Pauzirano; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Datoteka nije pronađena"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Došlo je do greške u štampaču."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN veza"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Povezivanje na %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Novo\tCtrl+N"
diff --git a/po/sv.po b/po/sv.po
index 733f860..0d2a6e2 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8675,6 +8675,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Öppna resurser: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Pausad"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipa ansluten\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Ett skrivarfel inträffade."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "Anslutningen är aktiv\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Ansluter till %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Ny\tCtrl+N"
diff --git a/po/te.po b/po/te.po
index 1b60217..e022389 100644
--- a/po/te.po
+++ b/po/te.po
@@ -8231,6 +8231,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/th.po b/po/th.po
index 37547e7..30ce208 100644
--- a/po/th.po
+++ b/po/th.po
@@ -8378,6 +8378,33 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "ชะลอ; "
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "ไม่พบแฟ้ม"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "ความปิดเครื่องพิมพ์"
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "สร้างใหม่\tCtrl+N"
diff --git a/po/tr.po b/po/tr.po
index c8bc724..d8919b8 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -9030,6 +9030,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "D&uraklamış"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Dosya bulunamadı"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Bir yazıcı hatası oluştu."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "LAN Bağlantısı"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Öntanımlı Ayarlar"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Yeni\tCtrl+N"
diff --git a/po/uk.po b/po/uk.po
index 07b86b3..14e9822 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -8653,6 +8653,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr "%s %S %S Відкритих ресурсів: %lu\n"
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "&Призупинити"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "Pipe connected\n"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "Виникла помилка принтера."
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "З'єднання активне\n"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Під'єднуюсь до %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Новий\tCtrl+N"
diff --git a/po/wa.po b/po/wa.po
index c2b0f08..c8b96d5 100644
--- a/po/wa.po
+++ b/po/wa.po
@@ -8344,6 +8344,31 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "Default"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "&Novea\tCtrl+N"
diff --git a/po/wine.pot b/po/wine.pot
index a3006ff..9808e22 100644
--- a/po/wine.pot
+++ b/po/wine.pot
@@ -8207,6 +8207,30 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+msgid "Paused"
+msgstr ""
+
+#: net.rc:47
+msgid "Disconnected"
+msgstr ""
+
+#: net.rc:48
+msgid "A network error occurred"
+msgstr ""
+
+#: net.rc:49
+msgid "Connection is being made"
+msgstr ""
+
+#: net.rc:50
+msgid "Reconnecting"
+msgstr ""
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 22e4737..1e4c1b7 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -8623,6 +8623,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "暂停(&P)"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "找不到文件"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "打印机错误。"
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "局域网连接"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "正在连接到 %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "新建(&N)\tCtrl+N"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index c7f3816..da34bce 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -8681,6 +8681,35 @@
msgid "%s %S %S Open resources: %lu\n"
msgstr ""
+#: net.rc:45
+msgid "OK"
+msgstr ""
+
+#: net.rc:46
+#, fuzzy
+msgid "Paused"
+msgstr "暫停(&P)"
+
+#: net.rc:47
+#, fuzzy
+msgid "Disconnected"
+msgstr "找不到檔案"
+
+#: net.rc:48
+#, fuzzy
+msgid "A network error occurred"
+msgstr "印表機錯誤。"
+
+#: net.rc:49
+#, fuzzy
+msgid "Connection is being made"
+msgstr "區域網路連線"
+
+#: net.rc:50
+#, fuzzy
+msgid "Reconnecting"
+msgstr "正在連接到 %s"
+
#: notepad.rc:27
msgid "&New\tCtrl+N"
msgstr "新建(&N)\tCtrl+N"
diff --git a/programs/net/net.c b/programs/net/net.c
index e5e47c8..815eadf 100644
--- a/programs/net/net.c
+++ b/programs/net/net.c
@@ -55,14 +55,22 @@
{
USE_INFO_2 *buffer, *connection;
DWORD read, total, resume_handle, rc, i;
- const char *status_description[] = { "OK", "Paused", "Disconnected", "An error occurred",
- "A network error occurred", "Connection is being made",
- "Reconnecting" };
+ char *status[STRING_RECONN-STRING_OK+1];
resume_handle = 0;
buffer = NULL;
if(argc<3)
{
+ HMODULE hmod = GetModuleHandleW(NULL);
+
+ /* Load the status strings */
+ for (i = 0; i < sizeof(status)/sizeof(*status); i++)
+ {
+ status[i] = HeapAlloc(GetProcessHeap(), 0, 1024);
+ LoadStringA(hmod, STRING_OK+i, status[i], 1024);
+ printf("i=%d desc=%s\n", i, status[i]);
+ }
+
do {
rc = NetUseEnum(NULL, 2, (BYTE **) &buffer, 2048, &read, &total, &resume_handle);
if (rc != ERROR_MORE_DATA && rc != ERROR_SUCCESS)
@@ -78,12 +86,16 @@
output_string(STRING_USE_HEADER);
for (i = 0, connection = buffer; i < read; ++i, ++connection)
- output_string(STRING_USE_ENTRY, status_description[connection->ui2_status], connection->ui2_local,
+ output_string(STRING_USE_ENTRY, status[connection->ui2_status], connection->ui2_local,
connection->ui2_remote, connection->ui2_refcount);
if (buffer != NULL) NetApiBufferFree(buffer);
} while (rc == ERROR_MORE_DATA);
+ /* Release the status strings */
+ for (i = 0; i < sizeof(status)/sizeof(*status); i++)
+ HeapFree(GetProcessHeap(), 0, status[i]);
+
return TRUE;
}
diff --git a/programs/net/net.rc b/programs/net/net.rc
index e425d6a..b8df6c9 100644
--- a/programs/net/net.rc
+++ b/programs/net/net.rc
@@ -42,4 +42,10 @@
STRING_NO_ENTRIES, "There are no entries in the list.\n"
STRING_USE_HEADER, "\nStatus Local Remote\n---------------------------------------------------------------\n"
STRING_USE_ENTRY, "%s %S %S Open resources: %lu\n"
+ STRING_OK, "OK"
+ STRING_PAUSED, "Paused"
+ STRING_SESSLOST, "Disconnected"
+ STRING_NETERR "A network error occurred"
+ STRING_CONN "Connection is being made"
+ STRING_RECONN, "Reconnecting"
}
diff --git a/programs/net/resources.h b/programs/net/resources.h
index 659e47f..cdb1c44 100644
--- a/programs/net/resources.h
+++ b/programs/net/resources.h
@@ -35,3 +35,9 @@
#define STRING_NO_ENTRIES 115
#define STRING_USE_HEADER 116
#define STRING_USE_ENTRY 117
+#define STRING_OK 118
+#define STRING_PAUSED 119
+#define STRING_SESSLOST 120
+#define STRING_NETERR 121
+#define STRING_CONN 122
+#define STRING_RECONN 123