aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2007-06-27 17:51:41 +0000
committerJason Woodward2007-06-27 17:51:41 +0000
commit590aa88eedec9047e4498c09923f7c64f3097f63 (patch)
tree0c74b62c813b1be2b2f2e0938bd10d3f0819f5c4
parentc25be2bcc65773166b797252321d555e75c78de4 (diff)
downloadgslapt-590aa88eedec9047e4498c09923f7c64f3097f63.tar.gz
updated translations, adding some missing, removing old cruft, etc
-rw-r--r--ChangeLog2
-rw-r--r--po/bg.po22
-rw-r--r--po/de.po25
-rw-r--r--po/en.po22
-rw-r--r--po/es.po22
-rw-r--r--po/fr.po19
-rw-r--r--po/gl_ES.po19
-rw-r--r--po/gslapt.pot15
-rw-r--r--po/id.po22
-rw-r--r--po/it.po83
-rw-r--r--po/ja.po22
-rw-r--r--po/nl.po22
-rw-r--r--po/pl.po60
-rw-r--r--po/pt.po22
-rw-r--r--po/pt_BR.po22
-rw-r--r--po/ru.po64
-rw-r--r--po/sk.po22
-rw-r--r--po/sv.po22
-rw-r--r--po/tr.po26
-rw-r--r--po/uk.po62
-rw-r--r--po/vi.po22
-rw-r--r--po/zh_CN.po22
-rw-r--r--src/callbacks.c170
-rw-r--r--src/interface.c204
24 files changed, 569 insertions, 444 deletions
diff --git a/ChangeLog b/ChangeLog
index 138feb1..658b0d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,5 @@
-0.3.18 Jun 24, 2007
+0.3.18 Jun 27, 2007
* russian an ukrainian updates from sin
* rewind checksum file after verifying it
* polish updates from Piotr
diff --git a/po/bg.po b/po/bg.po
index 119cabd..5d888aa 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -58,9 +58,6 @@ msgstr "Couldn't find pixmap file: %s"
msgid "Description"
msgstr "Описание"
-msgid "Dismiss"
-msgstr "Освобождаване"
-
msgid "Download packages only"
msgstr "Само изтегляне на пакетите"
@@ -193,9 +190,6 @@ msgstr "Обновяване на локалния кеш на пакетите"
msgid "Update"
msgstr "Актуализация"
-msgid "Upgrade to newer release"
-msgstr "Обновяване до по-нова версия"
-
msgid "Upgrade"
msgstr "Обновяване"
@@ -208,9 +202,6 @@ msgstr "Обновяване..."
msgid "Version"
msgstr "Версия"
-msgid "WARNING"
-msgstr "ВНИМАНИЕ"
-
msgid "Working Directory"
msgstr "Работна директория"
@@ -316,6 +307,9 @@ msgstr "<b>Версия:</b>"
msgid "<b>Version</b>"
msgstr "<b>Версия</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Общи"
@@ -481,8 +475,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -499,3 +493,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/de.po b/po/de.po
index f00e2d6..15b2580 100644
--- a/po/de.po
+++ b/po/de.po
@@ -59,9 +59,6 @@ msgstr "Kann Pixmap-Datei %s nicht finden"
msgid "Description"
msgstr "Beschreibung"
-msgid "Dismiss"
-msgstr "Abwaehlen"
-
msgid "Download packages only"
msgstr "Pakete nur laden"
@@ -161,9 +158,6 @@ msgstr "Entferne Pakete"
msgid "Required"
msgstr "Erforderlich"
-msgid "Search for expression"
-msgstr "Suche Ausdruck"
-
msgid "Search"
msgstr "Suche"
@@ -209,9 +203,6 @@ msgstr "Aktualisiere..."
msgid "Version"
msgstr "Version"
-msgid "WARNING"
-msgstr "WARNUNG"
-
msgid "Working Directory"
msgstr "Arbeitsverzeichnis"
@@ -318,6 +309,9 @@ msgstr "<b>Version:</b>"
msgid "<b>Version</b>"
msgstr "<b>Version</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Allgemein"
@@ -426,6 +420,9 @@ msgstr "Lese Paket-Liste ein..."
msgid "_Delete Cached Package Files"
msgstr "Paket-Cache loeschen"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Aktiviert"
@@ -480,8 +477,8 @@ msgstr "Download von %s: %s gescheitert"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "Kein Schluessel gefunden"
+msgid "No key found."
+msgstr "Kein Schluessel gefunden."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Schluessel</b>"
@@ -498,3 +495,9 @@ msgstr "Ueberpruefe Pruefsummen-Signatur..."
msgid "GPG Key verification failed"
msgstr "GPG-Schluessel Ueberpruefung fehlgeschlagen"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/en.po b/po/en.po
index 42b817b..b75a9c3 100644
--- a/po/en.po
+++ b/po/en.po
@@ -58,9 +58,6 @@ msgstr "Couldn't find pixmap file: %s"
msgid "Description"
msgstr "Description"
-msgid "Dismiss"
-msgstr "Dismiss"
-
msgid "Download packages only"
msgstr "Download packages only"
@@ -205,9 +202,6 @@ msgstr "Upgrading..."
msgid "Version"
msgstr "Version"
-msgid "WARNING"
-msgstr "WARNING"
-
msgid "Working Directory"
msgstr "Working Directory"
@@ -314,6 +308,9 @@ msgstr "<b>Version:</b>"
msgid "<b>Version</b>"
msgstr "<b>Version</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Common"
@@ -422,6 +419,9 @@ msgstr "Reading Package Lists..."
msgid "_Delete Cached Package Files"
msgstr "_Delete Cached Package Files"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Enabled"
@@ -476,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -494,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/es.po b/po/es.po
index 7c225e5..e4d5b42 100644
--- a/po/es.po
+++ b/po/es.po
@@ -58,9 +58,6 @@ msgstr "No Consiguio encontrar el archivo de pixmap: %s"
msgid "Description"
msgstr "Descripcion"
-msgid "Dismiss"
-msgstr "Anular"
-
msgid "Download packages only"
msgstr "Descargar paquetes solamente"
@@ -205,9 +202,6 @@ msgstr "Actualizando..."
msgid "Version"
msgstr "Version"
-msgid "WARNING"
-msgstr "PELIGRO"
-
msgid "Working Directory"
msgstr "Directorio de Trabajo"
@@ -310,6 +304,9 @@ msgstr "<b>Version:</b>"
msgid "<b>Version</b>"
msgstr "<b>Version</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Comun"
@@ -418,6 +415,9 @@ msgstr "Listas Del Paquete De Lectura..."
msgid "_Delete Cached Package Files"
msgstr "Archivos _Depositados Cancelacion Del Paquete"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Permitido"
@@ -472,8 +472,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -490,3 +490,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/fr.po b/po/fr.po
index e0e3afa..6011a5a 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -58,9 +58,6 @@ msgstr "Impossible de trouver l'icone : %s"
msgid "Description"
msgstr "Description"
-msgid "Dismiss"
-msgstr "Abandonner"
-
msgid "Download packages only"
msgstr "Tlcharger les paquets sans les installer"
@@ -193,9 +190,6 @@ msgstr "Mise jour du cache local des paquets"
msgid "Update"
msgstr "Actualiser"
-msgid "Upgrade to newer release"
-msgstr "Mise niveau de la nouvelle version"
-
msgid "Upgrade"
msgstr "Mise niveau"
@@ -208,9 +202,6 @@ msgstr "Mise niveau ..."
msgid "Version"
msgstr "Version"
-msgid "WARNING"
-msgstr "ATTENTION"
-
msgid "Working Directory"
msgstr "Rpertoire de travail"
@@ -484,8 +475,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -502,3 +493,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/gl_ES.po b/po/gl_ES.po
index b0e1b3d..5d62018 100644
--- a/po/gl_ES.po
+++ b/po/gl_ES.po
@@ -58,9 +58,6 @@ msgstr "Non se pode encontrar o ficheiro de pixmap: %s"
msgid "Description"
msgstr "Descripcion"
-msgid "Dismiss"
-msgstr "Anular"
-
msgid "Download packages only"
msgstr "Descargar paquetes nada mais"
@@ -193,9 +190,6 @@ msgstr "Actualizar a cache local de paquetes"
msgid "Update"
msgstr "Actualizar"
-msgid "Upgrade to newer release"
-msgstr "Actualizar a unha version mais nova"
-
msgid "Upgrade"
msgstr "Actualizar"
@@ -208,9 +202,6 @@ msgstr "Actualizando..."
msgid "Version"
msgstr "Vesion"
-msgid "WARNING"
-msgstr "PERIGO"
-
msgid "Working Directory"
msgstr "Directorio de Traballo"
@@ -481,8 +472,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -499,3 +490,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/gslapt.pot b/po/gslapt.pot
index e82c737..644c32a 100644
--- a/po/gslapt.pot
+++ b/po/gslapt.pot
@@ -58,9 +58,6 @@ msgstr ""
msgid "Description"
msgstr ""
-msgid "Dismiss"
-msgstr ""
-
msgid "Download packages only"
msgstr ""
@@ -193,9 +190,6 @@ msgstr ""
msgid "Update"
msgstr ""
-msgid "Upgrade to newer release"
-msgstr ""
-
msgid "Upgrade"
msgstr ""
@@ -208,9 +202,6 @@ msgstr ""
msgid "Version"
msgstr ""
-msgid "WARNING"
-msgstr ""
-
msgid "Working Directory"
msgstr ""
@@ -501,3 +492,9 @@ msgstr ""
msgid "GPG Key verification failed"
msgstr ""
+msgid "Error"
+msgstr ""
+
+msgid "Visible"
+msgstr ""
+
diff --git a/po/id.po b/po/id.po
index 2829aef..6df73bb 100644
--- a/po/id.po
+++ b/po/id.po
@@ -58,9 +58,6 @@ msgstr "Tidak dapat menemukan berkas pixmap: %s"
msgid "Description"
msgstr "Deskripsi"
-msgid "Dismiss"
-msgstr "Batal"
-
msgid "Download packages only"
msgstr "Hanya mendownload paket-paket saja"
@@ -193,9 +190,6 @@ msgstr "Memutakhirkan data sementara dari paket lokal"
msgid "Update"
msgstr "Mutakhir"
-msgid "Upgrade to newer release"
-msgstr "Memperbaharui ke rilis terbaru"
-
msgid "Upgrade"
msgstr "Perbaharui"
@@ -208,9 +202,6 @@ msgstr "Memperbaharui..."
msgid "Version"
msgstr "Versi"
-msgid "WARNING"
-msgstr "PERINGATAN"
-
msgid "Working Directory"
msgstr "Direktori kerja"
@@ -316,6 +307,9 @@ msgstr "<b>Versi:</b>"
msgid "<b>Version</b>"
msgstr "<b>Versi:</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Umum"
@@ -481,8 +475,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -499,3 +493,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/it.po b/po/it.po
index 37ddfa0..43261e9 100644
--- a/po/it.po
+++ b/po/it.po
@@ -26,7 +26,7 @@ msgstr "<b>Fonte Pacchetti</b>"
msgid "<b>Package and data storage</b>"
msgstr "<b>Pacchetti e salvataggio dati</b>"
-msgid "<span weight=\"bold\" size=\"large\">Apply the folowing changes?</span>"
+msgid "<span weight=\"bold\" size=\"large\">Apply the following changes?</span>"
msgstr "<span weight=\"bold\" size=\"large\">Applicare le modifiche seguenti?</span>"
msgid "<span weight=\"bold\">Exclude Expression:</span>"
@@ -60,9 +60,6 @@ msgstr "Impossibile trovare file pixmap: %s"
msgid "Description"
msgstr "Descrizione"
-msgid "Dismiss"
-msgstr "Annulla"
-
msgid "Download packages only"
msgstr "Scarica solamente i pacchetti"
@@ -99,8 +96,8 @@ msgstr "Installa"
msgid "Install/Upgrade package"
msgstr "Installazione/Aggiornamento pacchetto"
-msgid "Installed Size"
-msgstr "Dimensione Installato"
+msgid "Installed Size:"
+msgstr "Dimensione Installato:"
msgid "Installed"
msgstr "Installato"
@@ -114,12 +111,6 @@ msgstr "Installazione..."
msgid "Location"
msgstr "Percorso"
-msgid "Mirror"
-msgstr "Mirror"
-
-msgid "NO"
-msgstr "NO"
-
msgid "Name"
msgstr "Nome"
@@ -171,12 +162,15 @@ msgstr "Richiesto"
msgid "Search"
msgstr "Cerca"
-msgid "Size"
-msgstr "Dimensione"
+msgid "Size:"
+msgstr "Dimensione:"
msgid "Source"
msgstr "Origine"
+msgid "Source:"
+msgstr "Origine:"
+
msgid "Sources"
msgstr "Origini"
@@ -201,9 +195,6 @@ msgstr "Aggiorna cache locale pacchetto"
msgid "Update"
msgstr "Aggiorna"
-msgid "Upgrade All"
-msgstr "Aggiorna tutto"
-
msgid "Upgrade"
msgstr "Aggiorna"
@@ -216,8 +207,8 @@ msgstr "Aggiornamento..."
msgid "Version"
msgstr "Versione"
-msgid "WARNING"
-msgstr "ATTENZIONE"
+msgid "Version:"
+msgstr "Versione:"
msgid "Working Directory"
msgstr "Directory di Lavoro"
@@ -290,32 +281,26 @@ msgstr ", che è richiesto da "
msgid ", is excluded"
msgstr ", è escluso"
-msgid "<b>Conflicts</b>"
-msgstr "<b>Conflitti</b>"
-
-msgid "<b>Description</b>"
-msgstr "<b>Descrizione</b>"
+msgid "<b>Conflicts:</b>"
+msgstr "<b>Conflitti:</b>"
-msgid "<b>Installed Size</b>"
-msgstr "<b>Dimensione Installato</b>"
+msgid "<b>Description:</b>"
+msgstr "<b>Descrizione:</b>"
-msgid "<b>Location</b>"
-msgstr "<b>Percorso</b>"
+msgid "<b>Location:</b>"
+msgstr "<b>Percorso:</b>"
-msgid "<b>Mirror</b>"
-msgstr "<b>Mirror</b> "
+msgid "<b>Name:</b>"
+msgstr "<b>Nome:</b>"
-msgid "<b>Name</b>"
-msgstr "<b>Nome</b>"
+msgid "<b>Required:</b>"
+msgstr "<b>Richiesto:</b>"
-msgid "<b>Required</b>"
-msgstr "<b>Richiesto</b>"
+msgid "<b>Size:</b>"
+msgstr "<b>Dimensione:</b>"
-msgid "<b>Size</b>"
-msgstr "<b>Dimensione</b>"
-
-msgid "<b>Suggests</b>"
-msgstr "<b>Suggerito</b>"
+msgid "<b>Suggests:</b>"
+msgstr "<b>Suggerito:</b>"
msgid "<b>Version:</b>"
msgstr "<b>Versione:</b>"
@@ -323,14 +308,17 @@ msgstr "<b>Versione:</b>"
msgid "<b>Version</b>"
msgstr "<b>Versione</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Comune"
msgid "Dependencies"
msgstr "Dipendenze"
-msgid "No package is selected.\n"
-msgstr "Nessun pacchetto è selezionato.\n"
+msgid "No package is selected."
+msgstr "Nessun pacchetto è selezionato."
msgid "Status"
msgstr "Stato"
@@ -431,6 +419,9 @@ msgstr "Lettura Liste Pacchetti..."
msgid "_Delete Cached Package Files"
msgstr "Lime _Del Pacchetto Nascoste Cancellazione"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Permesso"
@@ -485,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -503,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/ja.po b/po/ja.po
index 261bdd5..bb284dc 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -60,9 +60,6 @@ msgstr "pixmap が見つかりません : %s"
msgid "Description"
msgstr "説明"
-msgid "Dismiss"
-msgstr "破棄(Dismiss)"
-
msgid "Download packages only"
msgstr "パッケージのダウンロードのみ"
@@ -207,9 +204,6 @@ msgstr "アップグレード中..."
msgid "Version"
msgstr "バージョン"
-msgid "WARNING"
-msgstr "注意"
-
msgid "Working Directory"
msgstr "作業ディレクトリ"
@@ -316,6 +310,9 @@ msgstr "<b>バージョン:</b>"
msgid "<b>Version</b>"
msgstr "<b>バージョン</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "一般情報"
@@ -426,6 +423,9 @@ msgstr "パッケージリストを読み込み中..."
msgid "_Delete Cached Package Files"
msgstr "キャッシュされたパッケージを削除(_D)"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "有効"
@@ -484,8 +484,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -502,3 +502,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/nl.po b/po/nl.po
index ef6bd49..34fd811 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -59,9 +59,6 @@ msgstr "Kon pixmapbestand %s niet vinden"
msgid "Description"
msgstr "Beschrijving"
-msgid "Dismiss"
-msgstr "Sluit venster"
-
msgid "Download packages only"
msgstr "De pakketten alleen binnenhalen"
@@ -194,9 +191,6 @@ msgstr "Werk lokale pakkettencache bij"
msgid "Update"
msgstr "Werk bij"
-msgid "Upgrade to newer release"
-msgstr "Waardeer op naar nieuwere uitgave"
-
msgid "Upgrade"
msgstr "Waardeer op"
@@ -209,9 +203,6 @@ msgstr "Opwaarderen..."
msgid "Version"
msgstr "Versie"
-msgid "WARNING"
-msgstr "WAARSCHUWING"
-
msgid "Working Directory"
msgstr "Werkmap"
@@ -318,6 +309,9 @@ msgstr "<b>Versie:</b>"
msgid "<b>Version</b>"
msgstr "<b>Versie</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Gemeenschappelijk"
@@ -483,8 +477,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -501,3 +495,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/pl.po b/po/pl.po
index 66650b5..6ee517b 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -15,13 +15,6 @@ msgstr ""
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
-msgid "Failed to calloc url\n"
-msgstr "Failed to calloc url\n"
-
-#, c-format
-msgid "Failed to download: %s\n"
-msgstr "Pobranie nie powiodo si: %s\n"
-
msgid "Packages excluded"
msgstr "Wykluczone pakiety"
@@ -43,9 +36,15 @@ msgstr "Usuwanie pakietu..."
msgid "Installing packages..."
msgstr "Instalacja packages..."
+msgid "Installing..."
+msgstr "Installing..."
+
msgid "Upgrading packages..."
msgstr "Aktualizacja pakietu..."
+msgid "Upgrading..."
+msgstr "Upgrading..."
+
msgid "Preferences"
msgstr "Preferencje"
@@ -82,6 +81,13 @@ msgstr "Up_grade"
msgid "_Help"
msgstr "_Pomoc"
+msgid ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+msgstr ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+
msgid "About"
msgstr "o programie"
@@ -94,24 +100,21 @@ msgstr "Aktualizuj lokalne cache"
msgid "Execute"
msgstr "Wykonaj"
+msgid "Expression"
+msgstr "Expression"
+
msgid "Execute all scheduled actions in current transaction"
msgstr "Wykonaj wszystkie zaplanowane akcje w biecej transakcji"
msgid "Quit"
msgstr "Opu"
-msgid "Search for expression"
-msgstr "Szukaj wyraenia"
-
msgid "Clear"
msgstr "Wyczy"
msgid "Clear search expression"
msgstr "Wyczy wyraenia"
-msgid "Packages"
-msgstr "Pakiety"
-
msgid "Name"
msgstr "Nazwa"
@@ -121,9 +124,15 @@ msgstr "Lokacja"
msgid "Version"
msgstr "Wersja"
+msgid "Search"
+msgstr "Search"
+
msgid "Size:"
msgstr "Rozmiar:"
+msgid "Source"
+msgstr "Source"
+
msgid "Installed Size:"
msgstr "Rozmiar po instalacji:"
@@ -145,6 +154,9 @@ msgstr "Opis"
msgid "Package Information"
msgstr "Informacje pakietu"
+msgid "Package"
+msgstr "Package"
+
msgid "Install/Upgrade package"
msgstr "Instaluj/Re-instaluj/Aktualizuj pakiet"
@@ -157,6 +169,9 @@ msgstr "Usu pakiet"
msgid "Remove"
msgstr "Usu"
+msgid "Downloading..."
+msgstr "Downloading..."
+
msgid "Exclude package"
msgstr "Wyklucz pakiet"
@@ -175,6 +190,9 @@ msgstr "<span weight=\"bold\" size=\"large\">Uy nastpujcych zmian?</span>"
msgid "This is a summary of the changes about to be performed."
msgstr "To jest podsumowanie zmian, ktre maj zosta przeprowadzone."
+msgid "Uninstalling..."
+msgstr "Uninstalling..."
+
msgid "Download packages only"
msgstr "Tylko pobierz"
@@ -290,6 +308,9 @@ msgstr "<b>Wersja:</b>"
msgid "<b>Version</b>"
msgstr "<b>Wersja</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Oglne"
@@ -392,6 +413,9 @@ msgstr "<b>Ostatnio dostpna wersja</b>"
msgid "_Delete Cached Package Files"
msgstr "_Usu pakiety w cache"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Umoliwiony"
@@ -452,8 +476,8 @@ msgstr "Pobieranie nie powiodo si %s: %s"
msgid "Import"
msgstr "Importuj"
-msgid "No key found"
-msgstr "Klucz nie znaleziony"
+msgid "No key found."
+msgstr "Klucz nie znaleziony."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Klucze</b>"
@@ -470,3 +494,9 @@ msgstr "Sprawdzam sume kontroln podpisu..."
msgid "GPG Key verification failed"
msgstr "Nie powiodo si sprawdzanie klucza GPG"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/pt.po b/po/pt.po
index b105b87..7e9a7cc 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -58,9 +58,6 @@ msgstr "Não consegui encontrar o ficheiro de pixmap: %s"
msgid "Description"
msgstr "Descrição"
-msgid "Dismiss"
-msgstr "Anular"
-
msgid "Download packages only"
msgstr "Transferir apenas os pacotes"
@@ -205,9 +202,6 @@ msgstr "A fazer o Upgrade..."
msgid "Version"
msgstr "Versão"
-msgid "WARNING"
-msgstr "AVISO"
-
msgid "Working Directory"
msgstr "Directoria de trabalho"
@@ -310,6 +304,9 @@ msgstr "<b>Versão:</b>"
msgid "<b>Version</b>"
msgstr "<b>Versão</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Comum"
@@ -418,6 +415,9 @@ msgstr "Listas Do Pacote De Leitura..."
msgid "_Delete Cached Package Files"
msgstr "Limas Cached Supressao _Do Pacote"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Permitido"
@@ -472,8 +472,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -490,3 +490,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 3e44517..14ff079 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -58,9 +58,6 @@ msgstr "Arquivo pixmap no localizado: %s"
msgid "Description"
msgstr "Descrio"
-msgid "Dismiss"
-msgstr "Desfazer"
-
msgid "Download packages only"
msgstr "Somente descarregar pacotes"
@@ -193,9 +190,6 @@ msgstr "Renovar cache dos pacotes locais"
msgid "Update"
msgstr "Renovar"
-msgid "Upgrade to newer release"
-msgstr "Atualizar para a verso mais recente"
-
msgid "Upgrade"
msgstr "Atualizar"
@@ -208,9 +202,6 @@ msgstr "Atualizando..."
msgid "Version"
msgstr "Verso"
-msgid "WARNING"
-msgstr "ATENO"
-
msgid "Working Directory"
msgstr "Diretrio atual"
@@ -317,6 +308,9 @@ msgstr "<b>Verso:</b>"
msgid "<b>Version</b>"
msgstr "<b>Verso</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Geral"
@@ -482,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -500,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/ru.po b/po/ru.po
index dc3ca98..87938a2 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -16,13 +16,6 @@ msgstr ""
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
-msgid "Failed to calloc url\n"
-msgstr " calloc url\n"
-
-#, c-format
-msgid "Failed to download: %s\n"
-msgstr " : %s\n"
-
msgid "Packages excluded"
msgstr " "
@@ -38,12 +31,18 @@ msgstr " "
msgid "Downloading packages..."
msgstr " ..."
+msgid "Downloading..."
+msgstr "Downloading..."
+
msgid "Removing packages..."
msgstr " ..."
msgid "Installing packages..."
msgstr " ..."
+msgid "Installing..."
+msgstr "Installing..."
+
msgid "Upgrading packages..."
msgstr " ..."
@@ -83,6 +82,13 @@ msgstr ""
msgid "_Help"
msgstr ""
+msgid ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+msgstr ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+
msgid "About"
msgstr " "
@@ -95,14 +101,17 @@ msgstr " "
msgid "Execute"
msgstr ""
+msgid "Expression"
+msgstr "Expression"
+
msgid "Execute all scheduled actions in current transaction"
msgstr " "
msgid "Quit"
msgstr ""
-msgid "Search for expression"
-msgstr " "
+msgid "Search"
+msgstr "Search"
msgid "Clear"
msgstr ""
@@ -110,9 +119,6 @@ msgstr ""
msgid "Clear search expression"
msgstr " "
-msgid "Packages"
-msgstr ""
-
msgid "Name"
msgstr ""
@@ -146,6 +152,9 @@ msgstr ""
msgid "Package Information"
msgstr " "
+msgid "Package"
+msgstr "Package"
+
msgid "Install/Upgrade package"
msgstr "/ "
@@ -176,6 +185,9 @@ msgstr "<span weight=\"bold\" size=\"large\"> ?</span>"
msgid "This is a summary of the changes about to be performed."
msgstr " "
+msgid "Uninstalling..."
+msgstr "Uninstalling..."
+
msgid "Download packages only"
msgstr " "
@@ -270,6 +282,9 @@ msgstr "<b>:</b>"
msgid "Source:"
msgstr ":"
+msgid "Source"
+msgstr ""
+
msgid "<b>Name:</b>"
msgstr "<b>:</b>"
@@ -282,6 +297,9 @@ msgstr "<b>:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>:</b>"
+msgid "Upgrading..."
+msgstr "Upgrading..."
+
msgid "Version:"
msgstr ":"
@@ -291,6 +309,9 @@ msgstr "<b>:</b>"
msgid "<b>Version</b>"
msgstr "<b></b>"
+msgid "<b>Source:</b>"
+msgstr "<b>:</b>"
+
msgid "Common"
msgstr ""
@@ -348,6 +369,12 @@ msgstr " "
msgid "Icon Legend"
msgstr " "
+msgid "Completed actions"
+msgstr "Completed actions"
+
+msgid "Successfully executed all actions."
+msgstr "Successfully executed all actions."
+
msgid "Failed to commit preferences"
msgstr " "
@@ -393,6 +420,9 @@ msgstr "<b> </b>"
msgid "_Delete Cached Package Files"
msgstr " "
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr ""
@@ -447,8 +477,8 @@ msgstr " %s: %s"
msgid "Import"
msgstr ""
-msgid "No key found"
-msgstr " "
+msgid "No key found."
+msgstr " ."
msgid "<b>GPG Keys</b>"
msgstr "<b> GPG</b>"
@@ -465,3 +495,9 @@ msgstr " ..."
msgid "GPG Key verification failed"
msgstr " GPG"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/sk.po b/po/sk.po
index 1b99f3e..f1d4487 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -58,9 +58,6 @@ msgstr "Nemem njs pixmap sbor: %s"
msgid "Description"
msgstr "Popis"
-msgid "Dismiss"
-msgstr "Vyradi"
-
msgid "Download packages only"
msgstr "Len stiahnu balk"
@@ -205,9 +202,6 @@ msgstr "Upgradujem..."
msgid "Version"
msgstr "Verzia"
-msgid "WARNING"
-msgstr "UPOZORNENIE"
-
msgid "Working Directory"
msgstr "Pracovn Adresr"
@@ -314,6 +308,9 @@ msgstr "<b>Verzia:</b>"
msgid "<b>Version</b>"
msgstr "<b>Verzia</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Spolon"
@@ -422,6 +419,9 @@ msgstr "Reading Package Lists..."
msgid "_Delete Cached Package Files"
msgstr "_Delete Cached Package Files"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Enabled"
@@ -476,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -494,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/sv.po b/po/sv.po
index 2155a90..b4f6c46 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -58,9 +58,6 @@ msgstr "KUnde inte hitta en pixmapfilen: %s"
msgid "Description"
msgstr "Beskrivning"
-msgid "Dismiss"
-msgstr "Avfrda"
-
msgid "Download packages only"
msgstr "Ladda endast ner paket"
@@ -205,9 +202,6 @@ msgstr "Uppgraderar..."
msgid "Version"
msgstr "Version"
-msgid "WARNING"
-msgstr "VARNING"
-
msgid "Working Directory"
msgstr "Arbetskatalog"
@@ -314,6 +308,9 @@ msgstr "<b>Version:</b>"
msgid "<b>Version</b>"
msgstr "<b>Version</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Vanlig"
@@ -422,6 +419,9 @@ msgstr "Reading Package Lists..."
msgid "_Delete Cached Package Files"
msgstr "_Delete Cached Package Files"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Enabled"
@@ -476,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -494,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/tr.po b/po/tr.po
index d53b4fe..cd84125 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -58,9 +58,6 @@ msgstr "Bulunamayan pixmap dosyası: %s"
msgid "Description"
msgstr "Açıklama"
-msgid "Dismiss"
-msgstr "Reddet"
-
msgid "Download packages only"
msgstr "Paketleri sadece indir"
@@ -172,7 +169,6 @@ msgstr "Kaynak"
msgid "Sources"
msgstr "Kaynaklar"
-#, fuzzy
msgid "Suggests"
msgstr "Önerilir"
@@ -194,9 +190,6 @@ msgstr "Yerel paket zulasını güncelle"
msgid "Update"
msgstr "Güncelle"
-msgid "Upgrade to newer release"
-msgstr "Yeni sürümlerine yükselt"
-
msgid "Upgrade"
msgstr "Yükselt"
@@ -209,9 +202,6 @@ msgstr "Yükseltiyor..."
msgid "Version"
msgstr "Sürüm"
-msgid "WARNING"
-msgstr "UYARI"
-
msgid "Working Directory"
msgstr "Çalışma Dizini"
@@ -249,11 +239,9 @@ msgstr "Arşivlerden %.1d%s/%.1d%s alınacak.\n"
msgid "Need to get %.1d%s of archives."
msgstr "Arşivlerden %.1d%s alınacak."
-#, fuzzy
msgid "After unpacking %.1d%s disk space will be freed."
msgstr "Paketlerin açılmasından sonra %.1d%s disk boşluğu kazanılacak."
-#, fuzzy
msgid "After unpacking %.1d%s of additional disk space will be used."
msgstr "Paketlerin açılmasından sonra %.1d%s ilave disk boşluğu kullanılacak."
@@ -281,7 +269,6 @@ msgstr ":Bağımlılık:"
msgid "Package conflicts"
msgstr "Paket çakışmaları"
-#, fuzzy
msgid ", which is required by "
msgstr ", gereksinim duyan"
@@ -303,7 +290,6 @@ msgstr "Kaynak:"
msgid "<b>Name:</b>"
msgstr "<b>Adı:</b>"
-#, fuzzy
msgid "<b>Required:</b>"
msgstr "<b>Gereksinim:</b>"
@@ -325,7 +311,6 @@ msgstr "<b>Sürüm</b>"
msgid "<b>Source:</b>"
msgstr "<b>Kaynak:</b>"
-#, fuzzy
msgid "Common"
msgstr "Ortak"
@@ -395,7 +380,6 @@ msgstr "<b>Kurulu Sürüm</b>"
msgid "<b>Latest Available Version</b>"
msgstr "<b>Uygun enson Sürüm</b>"
-#, fuzzy
msgid "Failed to commit preferences"
msgstr "Ayarları uygulamada başarısızlık"
@@ -492,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -510,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/uk.po b/po/uk.po
index c81a1c9..b31174b 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -16,12 +16,8 @@ msgstr ""
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
-msgid "Failed to calloc url\n"
-msgstr " calloc url\n"
-
-#, c-format
-msgid "Failed to download: %s\n"
-msgstr " : %s\n"
+msgid "Package"
+msgstr "Package"
msgid "Packages excluded"
msgstr " "
@@ -38,12 +34,18 @@ msgstr " "
msgid "Downloading packages..."
msgstr " ˦..."
+msgid "Downloading..."
+msgstr "Downloading..."
+
msgid "Removing packages..."
msgstr " ˦..."
msgid "Installing packages..."
msgstr " ˦..."
+msgid "Installing..."
+msgstr "Installing..."
+
msgid "Upgrading packages..."
msgstr " ˦..."
@@ -83,6 +85,13 @@ msgstr ""
msgid "_Help"
msgstr ""
+msgid ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+msgstr ""
+"gslapt is a GTK+ frontend to slapt-get, an APT like package system for "
+"Slackware"
+
msgid "About"
msgstr " Gslapt"
@@ -95,14 +104,26 @@ msgstr "צ ˦"
msgid "Execute"
msgstr ""
+msgid "Expression"
+msgstr "Expression"
+
msgid "Execute all scheduled actions in current transaction"
msgstr " Ӧ Φ Φ æ"
msgid "Quit"
msgstr "Ȧ"
-msgid "Search for expression"
-msgstr " "
+msgid "Search"
+msgstr "Search"
+
+msgid "Source"
+msgstr "Source"
+
+msgid "Uninstalling..."
+msgstr "Uninstalling..."
+
+msgid "Upgrading..."
+msgstr "Upgrading..."
msgid "Clear"
msgstr ""
@@ -110,9 +131,6 @@ msgstr ""
msgid "Clear search expression"
msgstr " "
-msgid "Packages"
-msgstr ""
-
msgid "Name"
msgstr "'"
@@ -291,6 +309,9 @@ msgstr "<b>Ӧ:</b>"
msgid "<b>Version</b>"
msgstr "<b>Ӧ</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr ""
@@ -384,6 +405,12 @@ msgstr " ̦ ..."
msgid "Reading Package Lists..."
msgstr " ̦ ˦..."
+msgid "Completed actions"
+msgstr "Completed actions"
+
+msgid "Successfully executed all actions."
+msgstr "Successfully executed all actions."
+
msgid "<b>Installed Version</b>"
msgstr "<b> Ӧ</b>"
@@ -393,6 +420,9 @@ msgstr "<b> Ӧ</b>"
msgid "_Delete Cached Package Files"
msgstr " ˦"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "צ"
@@ -447,8 +477,8 @@ msgstr " %s: %s"
msgid "Import"
msgstr ""
-msgid "No key found"
-msgstr " "
+msgid "No key found."
+msgstr " ."
msgid "<b>GPG Keys</b>"
msgstr "<b>ަ GPG</b>"
@@ -465,3 +495,9 @@ msgstr "צ ϧ ..."
msgid "GPG Key verification failed"
msgstr " צ GPG"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/vi.po b/po/vi.po
index 00999a7..5430dd6 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -58,9 +58,6 @@ msgstr "Không tìm thấy tập tin hình ảnh: %s"
msgid "Description"
msgstr "Mô tả"
-msgid "Dismiss"
-msgstr "Hủy bỏ"
-
msgid "Download packages only"
msgstr "Chỉ lấy dữ liệu gói phần mềm"
@@ -205,9 +202,6 @@ msgstr "Đang nâng cấp..."
msgid "Version"
msgstr "Phiên bản"
-msgid "WARNING"
-msgstr "CẢNH BÁO"
-
msgid "Working Directory"
msgstr "Thư mục làm việc"
@@ -314,6 +308,9 @@ msgstr "<b>Phiên bản:</b>"
msgid "<b>Version</b>"
msgstr "<b>Phiên bản</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "Tổng quát"
@@ -422,6 +419,9 @@ msgstr "Reading Package Lists..."
msgid "_Delete Cached Package Files"
msgstr "_Delete Cached Package Files"
+msgid "Mark all possible upgrades"
+msgstr "Mark all possible upgrades"
+
msgid "Enabled"
msgstr "Enabled"
@@ -476,8 +476,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -494,3 +494,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 9801ccb..cc85527 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -58,9 +58,6 @@ msgstr "无法找到图像文件: %s"
msgid "Description"
msgstr "描述"
-msgid "Dismiss"
-msgstr "Dismiss"
-
msgid "Download packages only"
msgstr "仅下载软件包"
@@ -193,9 +190,6 @@ msgstr "更新本地软件包缓存"
msgid "Update"
msgstr "更新"
-msgid "Upgrade to newer release"
-msgstr "升级至更新的发行版"
-
msgid "Upgrade"
msgstr "升级"
@@ -208,9 +202,6 @@ msgstr "正在升级..."
msgid "Version"
msgstr "版本"
-msgid "WARNING"
-msgstr "_警告_"
-
msgid "Working Directory"
msgstr "工作目录"
@@ -317,6 +308,9 @@ msgstr "<b>版本:</b>"
msgid "<b>Version</b>"
msgstr "<b>版本</b>"
+msgid "<b>Source:</b>"
+msgstr "<b>Source:</b>"
+
msgid "Common"
msgstr "通用"
@@ -483,8 +477,8 @@ msgstr "Failed to download %s: %s"
msgid "Import"
msgstr "Import"
-msgid "No key found"
-msgstr "No key found"
+msgid "No key found."
+msgstr "No key found."
msgid "<b>GPG Keys</b>"
msgstr "<b>GPG Keys</b>"
@@ -501,3 +495,9 @@ msgstr "Verifying checksum signature..."
msgid "GPG Key verification failed"
msgstr "GPG Key verification failed"
+msgid "Error"
+msgstr "Error"
+
+msgid "Visible"
+msgstr "Visible"
+
diff --git a/src/callbacks.c b/src/callbacks.c
index c5210c0..bf368e2 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -247,9 +247,9 @@ void add_pkg_for_install (GtkWidget *gslapt, gpointer user_data)
return;
}
- if ( strcmp(gtk_label_get_text(caller_button_label),(gchar *)_("Upgrade")) == 0) {
+ if ( strcmp(gtk_label_get_text(caller_button_label),(gchar *)gettext("Upgrade")) == 0) {
pkg = slapt_get_newest_pkg(all,pkg_name);
- } else if ( strcmp(gtk_label_get_text(caller_button_label),(gchar *)_("Re-Install")) == 0) {
+ } else if ( strcmp(gtk_label_get_text(caller_button_label),(gchar *)gettext("Re-Install")) == 0) {
pkg = slapt_get_exact_pkg(all,pkg_name,pkg_version);
} else {
pkg = slapt_get_pkg_by_details(all,pkg_name,pkg_version,pkg_location);
@@ -742,7 +742,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
store = gtk_tree_store_new(1,G_TYPE_STRING);
gtk_tree_store_append(store,&iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Required:</b>"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("<b>Required:</b>"),-1);
if (pkg->required != NULL && strlen(pkg->required) > 2) {
GtkTreeIter child_iter;
@@ -777,7 +777,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
}
gtk_tree_store_append(store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Conflicts:</b>"), -1);
+ gtk_tree_store_set(store,&iter,0,gettext("<b>Conflicts:</b>"), -1);
if (pkg->conflicts != NULL && strlen(pkg->conflicts) > 2) {
GtkTreeIter child_iter;
@@ -811,7 +811,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
}
gtk_tree_store_append(store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("<b>Suggests:</b>"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("<b>Suggests:</b>"),-1);
if (pkg->suggests != NULL && strlen(pkg->suggests) > 2) {
GtkTreeIter child_iter;
@@ -857,7 +857,7 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
g_list_free(columns);
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Source"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Source"), renderer,
"markup", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -886,27 +886,27 @@ static void fillin_pkg_details (slapt_pkg_info_t *pkg)
if ((trans->exclude_pkgs->pkg_count > 0 &&
slapt_get_exact_pkg(trans->exclude_pkgs,pkg->name,pkg->version) != NULL) ||
slapt_is_excluded(global_config,pkg) == 1) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("Excluded"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("Excluded"));
} else if (trans->remove_pkgs->pkg_count > 0 &&
slapt_get_exact_pkg(trans->remove_pkgs,pkg->name,pkg->version) != NULL) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("To be Removed"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("To be Removed"));
} else if (trans->install_pkgs->pkg_count > 0 &&
slapt_get_exact_pkg(trans->install_pkgs,pkg->name,pkg->version) != NULL) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("To be Installed"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("To be Installed"));
} else if (trans->upgrade_pkgs->pkg_count > 0 && lsearch_upgrade_transaction(trans,pkg) == 1) {
slapt_pkg_info_t *installed_pkg = slapt_get_newest_pkg(installed,pkg->name);
int cmp = slapt_cmp_pkgs(pkg,installed_pkg);
if (cmp == 0) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("To be Re-Installed"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("To be Re-Installed"));
} else if (cmp < 0 ) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("To be Downgraded"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("To be Downgraded"));
} else {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("To be Upgraded"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("To be Upgraded"));
}
} else if (slapt_get_exact_pkg(installed,pkg->name,pkg->version) != NULL) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("Installed"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("Installed"));
} else {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("Not Installed"));
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)gettext("Not Installed"));
}
/* set installed info */
@@ -954,7 +954,7 @@ static void get_package_data (void)
new_pkgs->free_pkgs = TRUE;
progress_window = create_dl_progress_window();
- gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)_("Progress"));
+ gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)gettext("Progress"));
p_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"progress_progressbar"));
dl_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"dl_progress"));
progress_action_label = GTK_LABEL(lookup_widget(progress_window,"progress_action"));
@@ -962,7 +962,7 @@ static void get_package_data (void)
gdk_threads_enter();
lock_toolbar_buttons();
- context_id = gslapt_set_status((gchar *)_("Checking for new package data..."));
+ context_id = gslapt_set_status((gchar *)gettext("Checking for new package data..."));
gtk_widget_show(progress_window);
gdk_threads_leave();
@@ -1009,7 +1009,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(dl_bar,0.0);
gtk_label_set_text(progress_message_label,global_config->sources->url[i]);
- gtk_label_set_text(progress_action_label,(gchar *)_("Retrieving package data..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Retrieving package data..."));
gdk_threads_leave();
/* download our SLAPT_PKG_LIST */
@@ -1081,7 +1081,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(p_bar,((dl_count * 100)/dl_files)/100);
gtk_progress_bar_set_fraction(dl_bar,0.0);
- gtk_label_set_text(progress_action_label,(gchar *)_("Retrieving patch list..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Retrieving patch list..."));
gdk_threads_leave();
@@ -1109,7 +1109,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(p_bar,((dl_count * 100)/dl_files)/100);
gtk_progress_bar_set_fraction(dl_bar,0.0);
- gtk_label_set_text(progress_action_label,(gchar *)_("Retrieving checksum list..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Retrieving checksum list..."));
gdk_threads_leave();
@@ -1129,7 +1129,7 @@ static void get_package_data (void)
_cancelled = 0;
G_UNLOCK(_cancelled);
} else {
- notify((gchar *)_("Source download failed"),global_config->sources->url[i]);
+ notify((gchar *)gettext("Source download failed"),global_config->sources->url[i]);
}
gdk_threads_leave();
return;
@@ -1141,7 +1141,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(p_bar,((dl_count * 100)/dl_files)/100);
gtk_progress_bar_set_fraction(dl_bar,0.0);
- gtk_label_set_text(progress_action_label,(gchar *)_("Retrieving checksum signature..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Retrieving checksum signature..."));
gdk_threads_leave();
tmp_signature_f = slapt_get_pkg_source_checksums_signature (global_config,
@@ -1176,7 +1176,7 @@ static void get_package_data (void)
if (tmp_checksum_to_verify_f != NULL) {
slapt_code_t verified = SLAPT_CHECKSUMS_NOT_VERIFIED;
gdk_threads_enter();
- gtk_label_set_text(progress_action_label,(gchar *)_("Verifying checksum signature..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Verifying checksum signature..."));
gdk_threads_leave();
verified = slapt_gpg_verify_checksums(tmp_checksum_to_verify_f, tmp_signature_f);
if (verified == SLAPT_CHECKSUMS_NOT_VERIFIED) {
@@ -1188,7 +1188,7 @@ static void get_package_data (void)
gslapt_clear_status(context_id);
gtk_widget_destroy(progress_window);
unlock_toolbar_buttons();
- notify((gchar *)_("GPG Key verification failed"),global_config->sources->url[i]);
+ notify((gchar *)gettext("GPG Key verification failed"),global_config->sources->url[i]);
gdk_threads_leave();
return;
}
@@ -1210,7 +1210,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(p_bar,((dl_count * 100)/dl_files)/100);
gtk_progress_bar_set_fraction(dl_bar,0.0);
- gtk_label_set_text(progress_action_label,(gchar *)_("Retrieving ChangeLog.txt..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Retrieving ChangeLog.txt..."));
gdk_threads_leave();
slapt_get_pkg_source_changelog(global_config,
@@ -1222,7 +1222,7 @@ static void get_package_data (void)
gdk_threads_enter();
gtk_progress_bar_set_fraction(p_bar,((dl_count * 100)/dl_files)/100);
gtk_progress_bar_set_fraction(dl_bar,0.0);
- gtk_label_set_text(progress_action_label,(gchar *)_("Reading Package Lists..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Reading Package Lists..."));
gdk_threads_leave();
if (available_pkgs) {
@@ -1318,7 +1318,7 @@ int gtk_progress_callback(void *data, double dltotal, double dlnow,
if ( dltotal != 0.0 )
perc = ((dlnow * 100)/dltotal)/100;
- status = g_strdup_printf((gchar *)_("Download rate: %.0f%s/s"),
+ status = g_strdup_printf((gchar *)gettext("Download rate: %.0f%s/s"),
(speed > 1000) ? (speed > 1000000) ? speed / 1000000 : speed / 1000 : speed,
(speed > 1000) ? (speed > 1000000) ? "M" : "k" : "b");
@@ -1444,7 +1444,7 @@ static void lhandle_transaction (GtkWidget *w)
gdk_threads_enter();
if (err != NULL && _cancelled == 0) {
- notify((gchar *)_("Error"),(gchar *)err);
+ notify((gchar *)gettext("Error"),(gchar *)err);
}
unlock_toolbar_buttons();
gdk_threads_leave();
@@ -1489,7 +1489,7 @@ static void lhandle_transaction (GtkWidget *w)
/* begin removing, installing, and upgrading */
if ( install_packages() == FALSE ) {
gdk_threads_enter();
- notify((gchar *)_("Error"),(gchar *)_("pkgtools returned an error"));
+ notify((gchar *)gettext("Error"),(gchar *)gettext("pkgtools returned an error"));
unlock_toolbar_buttons();
gdk_threads_leave();
return;
@@ -1514,7 +1514,7 @@ static void lhandle_transaction (GtkWidget *w)
rebuild_package_action_menu();
unlock_toolbar_buttons();
unset_busy_cursor();
- notify((gchar *)_("Completed actions"),(gchar *)_("Successfully executed all actions."));
+ notify((gchar *)gettext("Completed actions"),(gchar *)gettext("Successfully executed all actions."));
gdk_threads_leave();
}
@@ -1577,19 +1577,19 @@ static void build_sources_treeviewlist(GtkWidget *treeview)
/* column for enabled status */
renderer = gtk_cell_renderer_pixbuf_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Enabled"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Enabled"), renderer,
"pixbuf", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
/* column for url */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Source"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Source"), renderer,
"text", 1, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
/* enabled/disabled bool column */
renderer = gtk_cell_renderer_toggle_new();
- column = gtk_tree_view_column_new_with_attributes((gchar *)_("Visible"),renderer,
+ column = gtk_tree_view_column_new_with_attributes((gchar *)gettext("Visible"),renderer,
"radio",2,NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
gtk_tree_view_column_set_visible(column,FALSE);
@@ -1629,7 +1629,7 @@ static void build_exclude_treeviewlist(GtkWidget *treeview)
/* column for url */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Expression"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Expression"), renderer,
"text", 0, NULL);
gtk_tree_view_column_set_sort_column_id (column, 0);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -1661,7 +1661,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
/* setup the store */
if ( trans->missing_err->err_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Packages with unmet dependencies"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Packages with unmet dependencies"),-1);
for (i=0; i < trans->missing_err->err_count; ++i) {
gchar *err = g_strdup_printf("%s: Depends: %s",
@@ -1677,14 +1677,14 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( trans->conflict_err->err_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Package conflicts"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Package conflicts"),-1);
for (i = 0; i < trans->conflict_err->err_count;++i) {
gchar *err = g_strdup_printf("%s%s%s%s",
trans->conflict_err->errs[i]->error,
- (gchar *)_(", which is required by "),
+ (gchar *)gettext(", which is required by "),
trans->conflict_err->errs[i]->pkg,
- (gchar *)_(", is excluded")
+ (gchar *)gettext(", is excluded")
);
gtk_tree_store_append (store, &child_iter, &iter);
@@ -1695,7 +1695,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( trans->exclude_pkgs->pkg_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Packages excluded"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Packages excluded"),-1);
for (i = 0; i < trans->exclude_pkgs->pkg_count;++i) {
gchar *detail = g_strdup_printf("%s %s",
@@ -1712,7 +1712,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( trans->install_pkgs->pkg_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Packages to be installed"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Packages to be installed"),-1);
for (i = 0; i < trans->install_pkgs->pkg_count;++i) {
gchar *detail = g_strdup_printf("%s %s",
@@ -1732,7 +1732,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( trans->upgrade_pkgs->pkg_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Packages to be upgraded"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Packages to be upgraded"),-1);
for (i = 0; i < trans->upgrade_pkgs->pkg_count;++i) {
gchar *detail = g_strdup_printf("%s (%s) -> %s",
@@ -1755,7 +1755,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( trans->remove_pkgs->pkg_count > 0 ) {
gtk_tree_store_append (store, &iter,NULL);
- gtk_tree_store_set(store,&iter,0,_("Packages to be removed"),-1);
+ gtk_tree_store_set(store,&iter,0,gettext("Packages to be removed"),-1);
for (i = 0; i < trans->remove_pkgs->pkg_count;++i) {
gchar *detail = g_strdup_printf("%s %s",
@@ -1774,12 +1774,12 @@ static int populate_transaction_window (GtkWidget *trans_window)
gtk_tree_view_set_model (GTK_TREE_VIEW(summary_treeview),GTK_TREE_MODEL(store));
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Package"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Package"), renderer,
"text", 0, NULL);
gtk_tree_view_column_set_sort_column_id (column, 0);
gtk_tree_view_append_column (GTK_TREE_VIEW(summary_treeview), column);
- snprintf(buf,512,(gchar *)_("%d upgraded, %d newly installed, %d to remove and %d not upgraded."),
+ snprintf(buf,512,(gchar *)gettext("%d upgraded, %d newly installed, %d to remove and %d not upgraded."),
trans->upgrade_pkgs->pkg_count,
trans->install_pkgs->pkg_count,
trans->remove_pkgs->pkg_count,
@@ -1789,13 +1789,13 @@ static int populate_transaction_window (GtkWidget *trans_window)
/* if we don't have enough free space */
if (disk_space(dl_size - already_dl_size + free_space) != 0) {
- notify((gchar *)_("Error"),(gchar *)_("<span weight=\"bold\" size=\"large\">You don't have enough free space</span>"));
+ notify((gchar *)gettext("Error"),(gchar *)gettext("<span weight=\"bold\" size=\"large\">You don't have enough free space</span>"));
return -1;
}
if ( already_dl_size > 0 ) {
int need_to_dl = dl_size - already_dl_size;
- snprintf(buf,512,(gchar *)_("Need to get %.1d%s/%.1d%s of archives.\n"),
+ snprintf(buf,512,(gchar *)gettext("Need to get %.1d%s/%.1d%s of archives.\n"),
(need_to_dl > 1024 ) ? need_to_dl / 1024
: need_to_dl,
(need_to_dl > 1024 ) ? "MB" : "kB",
@@ -1803,7 +1803,7 @@ static int populate_transaction_window (GtkWidget *trans_window)
(dl_size > 1024 ) ? "MB" : "kB"
);
}else{
- snprintf(buf,512,(gchar *)_("Need to get %.1d%s of archives."),
+ snprintf(buf,512,(gchar *)gettext("Need to get %.1d%s of archives."),
(dl_size > 1024 ) ? dl_size / 1024 : dl_size,
(dl_size > 1024 ) ? "MB" : "kB"
);
@@ -1812,13 +1812,13 @@ static int populate_transaction_window (GtkWidget *trans_window)
if ( free_space < 0 ) {
free_space *= -1;
- snprintf(buf,512,(gchar *)_("After unpacking %.1d%s disk space will be freed."),
+ snprintf(buf,512,(gchar *)gettext("After unpacking %.1d%s disk space will be freed."),
(free_space > 1024 ) ? free_space / 1024
: free_space,
(free_space > 1024 ) ? "MB" : "kB"
);
}else{
- snprintf(buf,512,(gchar *)_("After unpacking %.1d%s of additional disk space will be used."),
+ snprintf(buf,512,(gchar *)gettext("After unpacking %.1d%s of additional disk space will be used."),
(free_space > 1024 ) ? free_space / 1024 : free_space,
(free_space > 1024 ) ? "MB" : "kB"
);
@@ -1900,8 +1900,8 @@ static void mark_upgrade_packages (void)
}/* end for */
if (mark_count == 0) {
- notify((gchar *)_("Up to Date"),
- (gchar *)_("<span weight=\"bold\" size=\"large\">No updates available</span>"));
+ notify((gchar *)gettext("Up to Date"),
+ (gchar *)gettext("<span weight=\"bold\" size=\"large\">No updates available</span>"));
}
}
@@ -1917,7 +1917,7 @@ char *download_packages (void)
pkgs_to_dl += trans->upgrade_pkgs->pkg_count;
progress_window = create_dl_progress_window();
- gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)_("Progress"));
+ gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)gettext("Progress"));
p_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"progress_progressbar"));
progress_action_label = GTK_LABEL(lookup_widget(progress_window,"progress_action"));
@@ -1926,7 +1926,7 @@ char *download_packages (void)
gdk_threads_enter();
gtk_widget_show(progress_window);
- context_id = gslapt_set_status((gchar *)_("Downloading packages..."));
+ context_id = gslapt_set_status((gchar *)gettext("Downloading packages..."));
gdk_threads_leave();
if (_cancelled == 1) {
@@ -1958,7 +1958,7 @@ char *download_packages (void)
gdk_threads_enter();
gtk_label_set_text(progress_pkg_desc,trans->install_pkgs->pkgs[i]->mirror);
- gtk_label_set_text(progress_action_label,(gchar *)_("Downloading..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Downloading..."));
gtk_label_set_text(progress_message_label,msg);
gtk_progress_bar_set_fraction(p_bar,((count * 100)/pkgs_to_dl)/100);
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(lookup_widget(progress_window,"dl_progress")),0.0);
@@ -1981,7 +1981,7 @@ char *download_packages (void)
gtk_widget_destroy(progress_window);
gslapt_clear_status(context_id);
gdk_threads_leave();
- return g_strdup_printf(_("Failed to download %s: %s"),
+ return g_strdup_printf(gettext("Failed to download %s: %s"),
trans->install_pkgs->pkgs[i]->name, err);
}
++count;
@@ -2007,7 +2007,7 @@ char *download_packages (void)
gdk_threads_enter();
gtk_label_set_text(progress_pkg_desc,trans->upgrade_pkgs->pkgs[i]->upgrade->mirror);
- gtk_label_set_text(progress_action_label,(gchar *)_("Downloading..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Downloading..."));
gtk_label_set_text(progress_message_label,msg);
gtk_progress_bar_set_fraction(p_bar,((count * 100)/pkgs_to_dl)/100);
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(lookup_widget(progress_window,"dl_progress")),0.0);
@@ -2053,7 +2053,7 @@ static gboolean install_packages (void)
/* begin removing, installing, and upgrading */
progress_window = create_pkgtools_progress_window();
- gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)_("Progress"));
+ gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)gettext("Progress"));
p_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"progress_progressbar"));
progress_action_label = GTK_LABEL(lookup_widget(progress_window,"progress_action"));
@@ -2070,13 +2070,13 @@ static gboolean install_packages (void)
gdk_threads_enter();
- context_id = gslapt_set_status((gchar *)_("Removing packages..."));
+ context_id = gslapt_set_status((gchar *)gettext("Removing packages..."));
gtk_label_set_text(progress_pkg_desc,clean_desc);
if ( clean_desc != NULL)
free(clean_desc);
- gtk_label_set_text(progress_action_label,(gchar *)_("Uninstalling..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Uninstalling..."));
gtk_label_set_text(progress_message_label,trans->remove_pkgs->pkgs[i]->name);
gtk_progress_bar_set_fraction(p_bar,((count * 100)/trans->remove_pkgs->pkg_count)/100);
gdk_threads_leave();
@@ -2103,7 +2103,7 @@ static gboolean install_packages (void)
count = 0.0;
for (i = 0;i < trans->queue->count; ++i) {
gdk_threads_enter();
- context_id = gslapt_set_status((gchar *)_("Installing packages..."));
+ context_id = gslapt_set_status((gchar *)gettext("Installing packages..."));
gdk_threads_leave();
if ( trans->queue->pkgs[i]->type == INSTALL ) {
@@ -2116,7 +2116,7 @@ static gboolean install_packages (void)
if ( clean_desc != NULL )
free(clean_desc);
- gtk_label_set_text(progress_action_label,(gchar *)_("Installing..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Installing..."));
gtk_label_set_text(progress_message_label,trans->queue->pkgs[i]->pkg.i->name);
gtk_progress_bar_set_fraction(p_bar,((count * 100)/trans->queue->count)/100);
gdk_threads_leave();
@@ -2138,7 +2138,7 @@ static gboolean install_packages (void)
if ( clean_desc != NULL )
free(clean_desc);
- gtk_label_set_text(progress_action_label,(gchar *)_("Upgrading..."));
+ gtk_label_set_text(progress_action_label,(gchar *)gettext("Upgrading..."));
gtk_label_set_text(progress_message_label,trans->queue->pkgs[i]->pkg.u->upgrade->name);
gtk_progress_bar_set_fraction(p_bar,((count * 100)/trans->queue->count)/100);
gdk_threads_leave();
@@ -2351,7 +2351,7 @@ void preferences_on_ok_clicked (GtkWidget *w, gpointer user_data)
}
if ( write_preferences() == FALSE ) {
- notify((gchar *)_("Error"),(gchar *)_("Failed to commit preferences"));
+ notify((gchar *)gettext("Error"),(gchar *)gettext("Failed to commit preferences"));
on_gslapt_destroy(NULL,NULL);
}
@@ -2470,7 +2470,7 @@ static void set_execute_active (void)
gtk_widget_set_sensitive(lookup_widget(gslapt,"unmark_all1"),TRUE);
if (pending_trans_context_id == 0) {
- pending_trans_context_id = gslapt_set_status((gchar *)_("Pending changes. Click execute when ready."));
+ pending_trans_context_id = gslapt_set_status((gchar *)gettext("Pending changes. Click execute when ready."));
}
}
@@ -2536,7 +2536,7 @@ static gboolean pkg_action_popup_menu (GtkTreeView *treeview, gpointer data)
if (!gtk_tree_view_get_path_at_pos(treeview,event->x,event->y,&path,&column,NULL,NULL))
return FALSE;
- if (event->button != 3 && (event->button == 1 && strcmp(column->title,(gchar *)_("Status")) != 0))
+ if (event->button != 3 && (event->button == 1 && strcmp(column->title,(gchar *)gettext("Status")) != 0))
return FALSE;
gtk_tree_path_free(path);
@@ -2808,7 +2808,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for installed status */
renderer = gtk_cell_renderer_pixbuf_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Status"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Status"), renderer,
"pixbuf", STATUS_ICON_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, STATUS_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2816,7 +2816,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for name */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Name"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Name"), renderer,
"text", NAME_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, NAME_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2824,7 +2824,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for version */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Version"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Version"), renderer,
"text", VERSION_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, VERSION_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2832,7 +2832,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for location */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Location"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Location"), renderer,
"text", LOCATION_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, LOCATION_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2840,7 +2840,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for short description */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Description"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Description"), renderer,
"text", DESC_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, DESC_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2848,7 +2848,7 @@ void build_treeview_columns (GtkWidget *treeview)
/* column for installed size */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Installed Size"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Installed Size"), renderer,
"text", SIZE_COLUMN, NULL);
gtk_tree_view_column_set_sort_column_id (column, SIZE_COLUMN);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -2856,14 +2856,14 @@ void build_treeview_columns (GtkWidget *treeview)
/* invisible column to sort installed by */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Installed"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Installed"), renderer,
"text", STATUS_COLUMN, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
gtk_tree_view_column_set_visible(column,FALSE);
/* column to set visibility */
renderer = gtk_cell_renderer_toggle_new();
- column = gtk_tree_view_column_new_with_attributes((gchar *)_("Visible"),renderer,
+ column = gtk_tree_view_column_new_with_attributes((gchar *)gettext("Visible"),renderer,
"radio",VISIBLE_COLUMN,NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
gtk_tree_view_column_set_visible(column,FALSE);
@@ -3195,7 +3195,7 @@ static gboolean toggle_source_status (GtkTreeView *treeview, gpointer data)
if (!gtk_tree_view_get_path_at_pos(treeview,event->x,event->y,&path,&column,NULL,NULL))
return FALSE;
- if (strcmp(column->title,(gchar *)_("Enabled")) != 0)
+ if (strcmp(column->title,(gchar *)gettext("Enabled")) != 0)
return FALSE;
gtk_tree_path_free(path);
@@ -3234,14 +3234,14 @@ static void display_dep_error_dialog (slapt_pkg_info_t *pkg,guint m, guint c)
GtkWidget *w = create_dep_error_dialog();
GtkTextBuffer *error_buf = NULL;
guint i;
- gchar *msg = g_strdup_printf((gchar *)_("<b>Excluding %s due to dependency failure</b>"),pkg->name);
+ gchar *msg = g_strdup_printf((gchar *)gettext("<b>Excluding %s due to dependency failure</b>"),pkg->name);
- gtk_window_set_title (GTK_WINDOW(w),(char *)_("Error"));
+ gtk_window_set_title (GTK_WINDOW(w),(char *)gettext("Error"));
gtk_label_set_text(GTK_LABEL(lookup_widget(w,"dep_error_label")),msg);
g_free(msg);
gtk_label_set_text(GTK_LABEL(lookup_widget(w,"dep_error_install_anyway_warning_label")),
- (char *)_("Missing dependencies may mean the software in this package will not function correctly. Do you want to continue without the required packages?"));
+ (char *)gettext("Missing dependencies may mean the software in this package will not function correctly. Do you want to continue without the required packages?"));
gtk_label_set_use_markup (GTK_LABEL(lookup_widget(w,"dep_error_label")),
TRUE);
@@ -3254,7 +3254,7 @@ static void display_dep_error_dialog (slapt_pkg_info_t *pkg,guint m, guint c)
for (i = m; i < trans->missing_err->err_count; ++i) {
unsigned int len = strlen(trans->missing_err->errs[i]->pkg) +
- strlen((gchar *)_(": Depends: ")) +
+ strlen((gchar *)gettext(": Depends: ")) +
strlen(trans->missing_err->errs[i]->error) + 2;
char *err = slapt_malloc(sizeof *err * len);
snprintf(err,len,"%s: Depends: %s\n",trans->missing_err->errs[i]->pkg,
@@ -3268,15 +3268,15 @@ static void display_dep_error_dialog (slapt_pkg_info_t *pkg,guint m, guint c)
for (i = c; i < trans->conflict_err->err_count; ++i) {
unsigned int len = strlen(trans->conflict_err->errs[i]->error) +
- strlen((gchar *)_(", which is required by ")) +
+ strlen((gchar *)gettext(", which is required by ")) +
strlen(trans->conflict_err->errs[i]->pkg) +
- strlen((gchar *)_(", is excluded")) + 2;
+ strlen((gchar *)gettext(", is excluded")) + 2;
char *err = slapt_malloc(sizeof *err * len);
snprintf(err,len,"%s%s%s%s\n",
trans->conflict_err->errs[i]->error,
- (gchar *)_(", which is required by "),
+ (gchar *)gettext(", which is required by "),
trans->conflict_err->errs[i]->pkg,
- (gchar *)_(", is excluded"));
+ (gchar *)gettext(", is excluded"));
gtk_text_buffer_insert_at_cursor(error_buf,err,-1);
free(err);
}
@@ -3612,7 +3612,7 @@ static void build_verification_sources_treeviewlist (GtkWidget *treeview)
/* column for url */
renderer = gtk_cell_renderer_text_new();
- column = gtk_tree_view_column_new_with_attributes ((gchar *)_("Source"), renderer,
+ column = gtk_tree_view_column_new_with_attributes ((gchar *)gettext("Source"), renderer,
"text", 0, NULL);
gtk_tree_view_column_set_sort_column_id (column, 0);
gtk_tree_view_append_column (GTK_TREE_VIEW(treeview), column);
@@ -3641,7 +3641,7 @@ static void get_gpg_key(GtkWidget *w)
gtk_tree_model_get(GTK_TREE_MODEL(model), &iter, 0, &url, -1);
progress_window = create_dl_progress_window();
- gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)_("Progress"));
+ gtk_window_set_title(GTK_WINDOW(progress_window),(gchar *)gettext("Progress"));
p_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"progress_progressbar"));
dl_bar = GTK_PROGRESS_BAR(lookup_widget(progress_window,"dl_progress"));
progress_action_label = GTK_LABEL(lookup_widget(progress_window,"progress_action"));
@@ -3671,11 +3671,11 @@ static void get_gpg_key(GtkWidget *w)
{
result = slapt_add_pkg_source_gpg_key (gpg_key);
gdk_threads_enter();
- notify(_("Import"),slapt_strerror(result));
+ notify(gettext("Import"),slapt_strerror(result));
gdk_threads_leave();
} else {
gdk_threads_enter();
- notify(_("Import"),_("No key found"));
+ notify(gettext("Import"),gettext("No key found"));
gdk_threads_leave();
}
diff --git a/src/interface.c b/src/interface.c
index 1cccede..5a2b8d0 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -92,7 +92,7 @@ create_window_preferences (void)
window_preferences = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (window_preferences, "window_preferences");
- gtk_window_set_title (GTK_WINDOW (window_preferences), _("Preferences"));
+ gtk_window_set_title (GTK_WINDOW (window_preferences), gettext("Preferences"));
gtk_window_set_position (GTK_WINDOW (window_preferences), GTK_WIN_POS_CENTER);
gtk_window_set_modal (GTK_WINDOW (window_preferences), TRUE);
gtk_window_set_default_size (GTK_WINDOW (window_preferences), 400, 300);
@@ -127,7 +127,7 @@ create_window_preferences (void)
gtk_widget_show (preferences_working_dir_vbox_vbox);
gtk_box_pack_start (GTK_BOX (preferences_working_dir_vbox), preferences_working_dir_vbox_vbox, TRUE, TRUE, 0);
- preferences_working_dir_label = gtk_label_new (_("<b>Package and data storage</b>"));
+ preferences_working_dir_label = gtk_label_new (gettext("<b>Package and data storage</b>"));
gtk_widget_set_name (preferences_working_dir_label, "preferences_working_dir_label");
gtk_widget_show (preferences_working_dir_label);
gtk_box_pack_start (GTK_BOX (preferences_working_dir_vbox_vbox), preferences_working_dir_label, FALSE, FALSE, 0);
@@ -154,12 +154,12 @@ create_window_preferences (void)
gtk_widget_show (preferences_working_dir_entry);
gtk_box_pack_start (GTK_BOX (vbox12), preferences_working_dir_entry, FALSE, FALSE, 0);
- button7 = gtk_button_new_with_mnemonic (_("_Delete Cached Package Files"));
+ button7 = gtk_button_new_with_mnemonic (gettext("_Delete Cached Package Files"));
gtk_widget_set_name (button7, "button7");
gtk_widget_show (button7);
gtk_box_pack_start (GTK_BOX (vbox12), button7, FALSE, FALSE, 0);
- label50 = gtk_label_new (_("Working Directory"));
+ label50 = gtk_label_new (gettext("Working Directory"));
gtk_widget_set_name (label50, "label50");
gtk_widget_show (label50);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 0), label50);
@@ -177,7 +177,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox), preferences_exclude_vbox_vbox, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (preferences_exclude_vbox_vbox), 12);
- preferences_exclude_label = gtk_label_new (_("<b>Exclude List</b>"));
+ preferences_exclude_label = gtk_label_new (gettext("<b>Exclude List</b>"));
gtk_widget_set_name (preferences_exclude_label, "preferences_exclude_label");
gtk_widget_show (preferences_exclude_label);
gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox_vbox), preferences_exclude_label, FALSE, FALSE, 0);
@@ -232,7 +232,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox_vbox), hbox95, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (hbox95), 6);
- label164 = gtk_label_new (_("<span weight=\"bold\">Exclude Expression:</span>"));
+ label164 = gtk_label_new (gettext("<span weight=\"bold\">Exclude Expression:</span>"));
gtk_widget_set_name (label164, "label164");
gtk_widget_show (label164);
gtk_box_pack_start (GTK_BOX (hbox95), label164, FALSE, FALSE, 0);
@@ -249,7 +249,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (hbox95), preferences_add_exclude_button, FALSE, FALSE, 0);
GTK_WIDGET_SET_FLAGS (preferences_add_exclude_button, GTK_CAN_DEFAULT);
- label51 = gtk_label_new (_("Excludes"));
+ label51 = gtk_label_new (gettext("Excludes"));
gtk_widget_set_name (label51, "label51");
gtk_widget_show (label51);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 1), label51);
@@ -267,7 +267,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (preferences_sources_vbox), vbox57, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox57), 12);
- label161 = gtk_label_new (_("<b>Package Sources</b>"));
+ label161 = gtk_label_new (gettext("<b>Package Sources</b>"));
gtk_widget_set_name (label161, "label161");
gtk_widget_show (label161);
gtk_box_pack_start (GTK_BOX (vbox57), label161, FALSE, FALSE, 0);
@@ -326,7 +326,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (vbox57), hbox94, FALSE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (hbox94), 6);
- label163 = gtk_label_new (_("<span weight=\"bold\">SOURCE=</span>"));
+ label163 = gtk_label_new (gettext("<span weight=\"bold\">SOURCE=</span>"));
gtk_widget_set_name (label163, "label163");
gtk_widget_show (label163);
gtk_box_pack_start (GTK_BOX (hbox94), label163, FALSE, FALSE, 0);
@@ -343,7 +343,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (hbox94), preferences_add_source_button, FALSE, FALSE, 0);
GTK_WIDGET_SET_FLAGS (preferences_add_source_button, GTK_CAN_DEFAULT);
- label160 = gtk_label_new (_("Sources"));
+ label160 = gtk_label_new (gettext("Sources"));
gtk_widget_set_name (label160, "label160");
gtk_widget_show (label160);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 2), label160);
@@ -361,7 +361,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (preferences_verification_vbox), vbox76, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox76), 12);
- label294 = gtk_label_new (_("<b>GPG Keys</b>"));
+ label294 = gtk_label_new (gettext("<b>GPG Keys</b>"));
gtk_widget_set_name (label294, "label294");
gtk_widget_show (label294);
gtk_box_pack_start (GTK_BOX (vbox76), label294, FALSE, FALSE, 0);
@@ -409,7 +409,7 @@ create_window_preferences (void)
gtk_box_pack_start (GTK_BOX (vbox77), button9, FALSE, FALSE, 0);
GTK_WIDGET_SET_FLAGS (button9, GTK_CAN_DEFAULT);
- label293 = gtk_label_new (_("Verification"));
+ label293 = gtk_label_new (gettext("Verification"));
gtk_widget_set_name (label293, "label293");
gtk_widget_show (label293);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 3), label293);
@@ -672,7 +672,7 @@ create_gslapt (void)
gslapt = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (gslapt, "gslapt");
- gtk_window_set_title (GTK_WINDOW (gslapt), _("Gslapt"));
+ gtk_window_set_title (GTK_WINDOW (gslapt), gettext("Gslapt"));
gtk_window_set_position (GTK_WINDOW (gslapt), GTK_WIN_POS_CENTER);
gtk_window_set_default_size (GTK_WINDOW (gslapt), 640, 480);
gslapt_icon_pixbuf = create_pixbuf ("gslapt.png");
@@ -693,7 +693,7 @@ create_gslapt (void)
gtk_widget_show (top_menubar);
gtk_box_pack_start (GTK_BOX (gslapt_vbox), top_menubar, FALSE, FALSE, 0);
- actions2 = gtk_menu_item_new_with_mnemonic (_("_File"));
+ actions2 = gtk_menu_item_new_with_mnemonic (gettext("_File"));
gtk_widget_set_name (actions2, "actions2");
gtk_widget_show (actions2);
gtk_container_add (GTK_CONTAINER (top_menubar), actions2);
@@ -702,11 +702,11 @@ create_gslapt (void)
gtk_widget_set_name (actions2_menu, "actions2_menu");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (actions2), actions2_menu);
- update1 = gtk_image_menu_item_new_with_mnemonic (_("Update"));
+ update1 = gtk_image_menu_item_new_with_mnemonic (gettext("Update"));
gtk_widget_set_name (update1, "update1");
gtk_widget_show (update1);
gtk_container_add (GTK_CONTAINER (actions2_menu), update1);
- gtk_tooltips_set_tip (tooltips, update1, _("Update local package cache"), NULL);
+ gtk_tooltips_set_tip (tooltips, update1, gettext("Update local package cache"), NULL);
gtk_widget_add_accelerator (update1, "activate", accel_group,
GDK_y, (GdkModifierType) GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
@@ -716,11 +716,11 @@ create_gslapt (void)
gtk_widget_show (image1676);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (update1), image1676);
- mark_all_upgrades2 = gtk_image_menu_item_new_with_mnemonic (_("Mark All Upgrades"));
+ mark_all_upgrades2 = gtk_image_menu_item_new_with_mnemonic (gettext("Mark All Upgrades"));
gtk_widget_set_name (mark_all_upgrades2, "mark_all_upgrades2");
gtk_widget_show (mark_all_upgrades2);
gtk_container_add (GTK_CONTAINER (actions2_menu), mark_all_upgrades2);
- gtk_tooltips_set_tip (tooltips, mark_all_upgrades2, _("Mark all possible upgrades"), NULL);
+ gtk_tooltips_set_tip (tooltips, mark_all_upgrades2, gettext("Mark all possible upgrades"), NULL);
gtk_widget_add_accelerator (mark_all_upgrades2, "activate", accel_group,
GDK_a, (GdkModifierType) GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
@@ -730,11 +730,11 @@ create_gslapt (void)
gtk_widget_show (image1677);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mark_all_upgrades2), image1677);
- mark_obsolete1 = gtk_image_menu_item_new_with_mnemonic (_("Mark Obsolete"));
+ mark_obsolete1 = gtk_image_menu_item_new_with_mnemonic (gettext("Mark Obsolete"));
gtk_widget_set_name (mark_obsolete1, "mark_obsolete1");
gtk_widget_show (mark_obsolete1);
gtk_container_add (GTK_CONTAINER (actions2_menu), mark_obsolete1);
- gtk_tooltips_set_tip (tooltips, mark_obsolete1, _("Mark all obsolete packages"), NULL);
+ gtk_tooltips_set_tip (tooltips, mark_obsolete1, gettext("Mark all obsolete packages"), NULL);
gtk_widget_add_accelerator (mark_obsolete1, "activate", accel_group,
GDK_o, (GdkModifierType) GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
@@ -744,11 +744,11 @@ create_gslapt (void)
gtk_widget_show (image1678);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mark_obsolete1), image1678);
- execute1 = gtk_image_menu_item_new_with_mnemonic (_("Execute"));
+ execute1 = gtk_image_menu_item_new_with_mnemonic (gettext("Execute"));
gtk_widget_set_name (execute1, "execute1");
gtk_widget_show (execute1);
gtk_container_add (GTK_CONTAINER (actions2_menu), execute1);
- gtk_tooltips_set_tip (tooltips, execute1, _("Execute all scheduled actions in current transaction"), NULL);
+ gtk_tooltips_set_tip (tooltips, execute1, gettext("Execute all scheduled actions in current transaction"), NULL);
gtk_widget_add_accelerator (execute1, "activate", accel_group,
GDK_Return, (GdkModifierType) GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE);
@@ -769,7 +769,7 @@ create_gslapt (void)
gtk_widget_show (quit);
gtk_container_add (GTK_CONTAINER (actions2_menu), quit);
- edit1 = gtk_menu_item_new_with_mnemonic (_("_Edit"));
+ edit1 = gtk_menu_item_new_with_mnemonic (gettext("_Edit"));
gtk_widget_set_name (edit1, "edit1");
gtk_widget_show (edit1);
gtk_container_add (GTK_CONTAINER (top_menubar), edit1);
@@ -778,7 +778,7 @@ create_gslapt (void)
gtk_widget_set_name (edit1_menu, "edit1_menu");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (edit1), edit1_menu);
- unmark_all1 = gtk_image_menu_item_new_with_mnemonic (_("Unmark All"));
+ unmark_all1 = gtk_image_menu_item_new_with_mnemonic (gettext("Unmark All"));
gtk_widget_set_name (unmark_all1, "unmark_all1");
gtk_widget_show (unmark_all1);
gtk_container_add (GTK_CONTAINER (edit1_menu), unmark_all1);
@@ -797,7 +797,7 @@ create_gslapt (void)
gtk_container_add (GTK_CONTAINER (edit1_menu), separator1);
gtk_widget_set_sensitive (separator1, FALSE);
- preferences2 = gtk_image_menu_item_new_with_mnemonic (_("Preferences"));
+ preferences2 = gtk_image_menu_item_new_with_mnemonic (gettext("Preferences"));
gtk_widget_set_name (preferences2, "preferences2");
gtk_widget_show (preferences2);
gtk_container_add (GTK_CONTAINER (edit1_menu), preferences2);
@@ -810,7 +810,7 @@ create_gslapt (void)
gtk_widget_show (image1681);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (preferences2), image1681);
- view1 = gtk_menu_item_new_with_mnemonic (_("_View"));
+ view1 = gtk_menu_item_new_with_mnemonic (gettext("_View"));
gtk_widget_set_name (view1, "view1");
gtk_widget_show (view1);
gtk_container_add (GTK_CONTAINER (top_menubar), view1);
@@ -819,48 +819,48 @@ create_gslapt (void)
gtk_widget_set_name (view1_menu, "view1_menu");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (view1), view1_menu);
- view_all_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("All"));
+ view_all_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, gettext("All"));
view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_all_packages_menu));
gtk_widget_set_name (view_all_packages_menu, "view_all_packages_menu");
gtk_widget_show (view_all_packages_menu);
gtk_container_add (GTK_CONTAINER (view1_menu), view_all_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_all_packages_menu, _("View all packages"), NULL);
+ gtk_tooltips_set_tip (tooltips, view_all_packages_menu, gettext("View all packages"), NULL);
gtk_widget_add_accelerator (view_all_packages_menu, "activate", accel_group,
GDK_F1, (GdkModifierType) 0,
GTK_ACCEL_VISIBLE);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (view_all_packages_menu), TRUE);
- view_available_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Available"));
+ view_available_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, gettext("Available"));
view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_available_packages_menu));
gtk_widget_set_name (view_available_packages_menu, "view_available_packages_menu");
gtk_widget_show (view_available_packages_menu);
gtk_container_add (GTK_CONTAINER (view1_menu), view_available_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_available_packages_menu, _("View available packages from current sources"), NULL);
+ gtk_tooltips_set_tip (tooltips, view_available_packages_menu, gettext("View available packages from current sources"), NULL);
gtk_widget_add_accelerator (view_available_packages_menu, "activate", accel_group,
GDK_F2, (GdkModifierType) 0,
GTK_ACCEL_VISIBLE);
- view_installed_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Installed"));
+ view_installed_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, gettext("Installed"));
view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_installed_packages_menu));
gtk_widget_set_name (view_installed_packages_menu, "view_installed_packages_menu");
gtk_widget_show (view_installed_packages_menu);
gtk_container_add (GTK_CONTAINER (view1_menu), view_installed_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_installed_packages_menu, _("View installed packages"), NULL);
+ gtk_tooltips_set_tip (tooltips, view_installed_packages_menu, gettext("View installed packages"), NULL);
gtk_widget_add_accelerator (view_installed_packages_menu, "activate", accel_group,
GDK_F3, (GdkModifierType) 0,
GTK_ACCEL_VISIBLE);
- view_marked_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Marked"));
+ view_marked_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, gettext("Marked"));
view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_marked_packages_menu));
gtk_widget_set_name (view_marked_packages_menu, "view_marked_packages_menu");
gtk_widget_show (view_marked_packages_menu);
gtk_container_add (GTK_CONTAINER (view1_menu), view_marked_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_marked_packages_menu, _("View Marked Packages"), NULL);
+ gtk_tooltips_set_tip (tooltips, view_marked_packages_menu, gettext("View Marked Packages"), NULL);
gtk_widget_add_accelerator (view_marked_packages_menu, "activate", accel_group,
GDK_F4, (GdkModifierType) 0,
GTK_ACCEL_VISIBLE);
- package1 = gtk_menu_item_new_with_mnemonic (_("P_ackage"));
+ package1 = gtk_menu_item_new_with_mnemonic (gettext("P_ackage"));
gtk_widget_set_name (package1, "package1");
gtk_widget_show (package1);
gtk_container_add (GTK_CONTAINER (top_menubar), package1);
@@ -869,7 +869,7 @@ create_gslapt (void)
gtk_widget_set_name (package1_menu, "package1_menu");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (package1), package1_menu);
- unmark1 = gtk_image_menu_item_new_with_mnemonic (_("Unmark"));
+ unmark1 = gtk_image_menu_item_new_with_mnemonic (gettext("Unmark"));
gtk_widget_set_name (unmark1, "unmark1");
gtk_widget_show (unmark1);
gtk_container_add (GTK_CONTAINER (package1_menu), unmark1);
@@ -883,7 +883,7 @@ create_gslapt (void)
gtk_widget_show (image1682);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (unmark1), image1682);
- install1 = gtk_image_menu_item_new_with_mnemonic (_("Install"));
+ install1 = gtk_image_menu_item_new_with_mnemonic (gettext("Install"));
gtk_widget_set_name (install1, "install1");
gtk_widget_show (install1);
gtk_container_add (GTK_CONTAINER (package1_menu), install1);
@@ -897,7 +897,7 @@ create_gslapt (void)
gtk_widget_show (image1683);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (install1), image1683);
- re_install1 = gtk_image_menu_item_new_with_mnemonic (_("Re-Install"));
+ re_install1 = gtk_image_menu_item_new_with_mnemonic (gettext("Re-Install"));
gtk_widget_set_name (re_install1, "re_install1");
gtk_widget_show (re_install1);
gtk_container_add (GTK_CONTAINER (package1_menu), re_install1);
@@ -911,7 +911,7 @@ create_gslapt (void)
gtk_widget_show (image1684);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (re_install1), image1684);
- upgrade1 = gtk_image_menu_item_new_with_mnemonic (_("Upgrade"));
+ upgrade1 = gtk_image_menu_item_new_with_mnemonic (gettext("Upgrade"));
gtk_widget_set_name (upgrade1, "upgrade1");
gtk_widget_show (upgrade1);
gtk_container_add (GTK_CONTAINER (package1_menu), upgrade1);
@@ -925,7 +925,7 @@ create_gslapt (void)
gtk_widget_show (image1685);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (upgrade1), image1685);
- downgrade1 = gtk_image_menu_item_new_with_mnemonic (_("Downgrade"));
+ downgrade1 = gtk_image_menu_item_new_with_mnemonic (gettext("Downgrade"));
gtk_widget_set_name (downgrade1, "downgrade1");
gtk_widget_show (downgrade1);
gtk_container_add (GTK_CONTAINER (package1_menu), downgrade1);
@@ -939,7 +939,7 @@ create_gslapt (void)
gtk_widget_show (image1686);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (downgrade1), image1686);
- remove1 = gtk_image_menu_item_new_with_mnemonic (_("Remove"));
+ remove1 = gtk_image_menu_item_new_with_mnemonic (gettext("Remove"));
gtk_widget_set_name (remove1, "remove1");
gtk_widget_show (remove1);
gtk_container_add (GTK_CONTAINER (package1_menu), remove1);
@@ -953,7 +953,7 @@ create_gslapt (void)
gtk_widget_show (image1687);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (remove1), image1687);
- help3 = gtk_menu_item_new_with_mnemonic (_("_Help"));
+ help3 = gtk_menu_item_new_with_mnemonic (gettext("_Help"));
gtk_widget_set_name (help3, "help3");
gtk_widget_show (help3);
gtk_container_add (GTK_CONTAINER (top_menubar), help3);
@@ -962,7 +962,7 @@ create_gslapt (void)
gtk_widget_set_name (help3_menu, "help3_menu");
gtk_menu_item_set_submenu (GTK_MENU_ITEM (help3), help3_menu);
- icon_legend1 = gtk_image_menu_item_new_with_mnemonic (_("Icon Legend"));
+ icon_legend1 = gtk_image_menu_item_new_with_mnemonic (gettext("Icon Legend"));
gtk_widget_set_name (icon_legend1, "icon_legend1");
gtk_widget_show (icon_legend1);
gtk_container_add (GTK_CONTAINER (help3_menu), icon_legend1);
@@ -972,7 +972,7 @@ create_gslapt (void)
gtk_widget_show (image1688);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (icon_legend1), image1688);
- about3 = gtk_image_menu_item_new_with_mnemonic (_("About"));
+ about3 = gtk_image_menu_item_new_with_mnemonic (gettext("About"));
gtk_widget_set_name (about3, "about3");
gtk_widget_show (about3);
gtk_container_add (GTK_CONTAINER (help3_menu), about3);
@@ -991,19 +991,19 @@ create_gslapt (void)
tmp_image = gtk_image_new_from_stock ("gtk-refresh", tmp_toolbar_icon_size);
gtk_widget_show (tmp_image);
- action_bar_update_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Update"));
+ action_bar_update_button = (GtkWidget*) gtk_tool_button_new (tmp_image, gettext("Update"));
gtk_widget_set_name (action_bar_update_button, "action_bar_update_button");
gtk_widget_show (action_bar_update_button);
gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_update_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_update_button), tooltips, _("Update local package cache"), NULL);
+ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_update_button), tooltips, gettext("Update local package cache"), NULL);
tmp_image = gtk_image_new_from_stock ("gtk-go-up", tmp_toolbar_icon_size);
gtk_widget_show (tmp_image);
- action_bar_upgrade_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Mark All Upgrades"));
+ action_bar_upgrade_button = (GtkWidget*) gtk_tool_button_new (tmp_image, gettext("Mark All Upgrades"));
gtk_widget_set_name (action_bar_upgrade_button, "action_bar_upgrade_button");
gtk_widget_show (action_bar_upgrade_button);
gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_upgrade_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_upgrade_button), tooltips, _("Mark all possible upgrades"), NULL);
+ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_upgrade_button), tooltips, gettext("Mark all possible upgrades"), NULL);
separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new ();
gtk_widget_set_name (separatortoolitem1, "separatortoolitem1");
@@ -1012,11 +1012,11 @@ create_gslapt (void)
tmp_image = gtk_image_new_from_stock ("gtk-apply", tmp_toolbar_icon_size);
gtk_widget_show (tmp_image);
- action_bar_execute_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Execute"));
+ action_bar_execute_button = (GtkWidget*) gtk_tool_button_new (tmp_image, gettext("Execute"));
gtk_widget_set_name (action_bar_execute_button, "action_bar_execute_button");
gtk_widget_show (action_bar_execute_button);
gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_execute_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_execute_button), tooltips, _("Execute all scheduled actions in current transaction"), NULL);
+ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_execute_button), tooltips, gettext("Execute all scheduled actions in current transaction"), NULL);
search_vbox = gtk_vbox_new (FALSE, 6);
gtk_widget_set_name (search_vbox, "search_vbox");
@@ -1035,7 +1035,7 @@ create_gslapt (void)
gtk_widget_show (search_hbox);
gtk_container_add (GTK_CONTAINER (search_align), search_hbox);
- label292 = gtk_label_new (_("Search"));
+ label292 = gtk_label_new (gettext("Search"));
gtk_widget_set_name (label292, "label292");
gtk_widget_show (label292);
gtk_box_pack_start (GTK_BOX (search_hbox), label292, FALSE, TRUE, 6);
@@ -1100,7 +1100,7 @@ create_gslapt (void)
gtk_table_set_row_spacings (GTK_TABLE (table2), 6);
gtk_table_set_col_spacings (GTK_TABLE (table2), 12);
- label226 = gtk_label_new (_("<b>Name:</b>"));
+ label226 = gtk_label_new (gettext("<b>Name:</b>"));
gtk_widget_set_name (label226, "label226");
gtk_widget_show (label226);
gtk_table_attach (GTK_TABLE (table2), label226, 0, 1, 0, 1,
@@ -1109,7 +1109,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label226), TRUE);
gtk_misc_set_alignment (GTK_MISC (label226), 0, 0.5);
- pkg_info_name = gtk_label_new (_("No package is selected."));
+ pkg_info_name = gtk_label_new (gettext("No package is selected."));
gtk_widget_set_name (pkg_info_name, "pkg_info_name");
gtk_widget_show (pkg_info_name);
gtk_table_attach (GTK_TABLE (table2), pkg_info_name, 1, 2, 0, 1,
@@ -1120,7 +1120,7 @@ create_gslapt (void)
gtk_label_set_selectable (GTK_LABEL (pkg_info_name), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_name), 0, 0.5);
- label244 = gtk_label_new (_("<b>Location:</b>"));
+ label244 = gtk_label_new (gettext("<b>Location:</b>"));
gtk_widget_set_name (label244, "label244");
gtk_widget_show (label244);
gtk_table_attach (GTK_TABLE (table2), label244, 0, 1, 3, 4,
@@ -1140,7 +1140,7 @@ create_gslapt (void)
gtk_label_set_selectable (GTK_LABEL (pkg_info_location), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_location), 0, 0.5);
- label250 = gtk_label_new (_("<b>Status:</b>"));
+ label250 = gtk_label_new (gettext("<b>Status:</b>"));
gtk_widget_set_name (label250, "label250");
gtk_widget_show (label250);
gtk_table_attach (GTK_TABLE (table2), label250, 0, 1, 2, 3,
@@ -1149,7 +1149,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label250), TRUE);
gtk_misc_set_alignment (GTK_MISC (label250), 0, 0.5);
- label227 = gtk_label_new (_("<b>Description:</b>"));
+ label227 = gtk_label_new (gettext("<b>Description:</b>"));
gtk_widget_set_name (label227, "label227");
gtk_widget_show (label227);
gtk_table_attach (GTK_TABLE (table2), label227, 0, 1, 1, 2,
@@ -1167,7 +1167,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (pkg_info_description), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_description), 0, 0.5);
- label273 = gtk_label_new (_("<b>Version:</b>"));
+ label273 = gtk_label_new (gettext("<b>Version:</b>"));
gtk_widget_set_name (label273, "label273");
gtk_widget_show (label273);
gtk_table_attach (GTK_TABLE (table2), label273, 0, 1, 4, 5,
@@ -1196,7 +1196,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (pkg_info_status), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_status), 0, 0.5);
- label291 = gtk_label_new (_("<b>Source:</b>"));
+ label291 = gtk_label_new (gettext("<b>Source:</b>"));
gtk_widget_set_name (label291, "label291");
gtk_widget_show (label291);
gtk_table_attach (GTK_TABLE (table2), label291, 0, 1, 5, 6,
@@ -1221,7 +1221,7 @@ create_gslapt (void)
gtk_widget_show (vbox67);
gtk_box_pack_start (GTK_BOX (vbox63), vbox67, FALSE, FALSE, 0);
- label272 = gtk_label_new (_("<b>Installed Version</b>"));
+ label272 = gtk_label_new (gettext("<b>Installed Version</b>"));
gtk_widget_set_name (label272, "label272");
gtk_widget_show (label272);
gtk_box_pack_start (GTK_BOX (vbox67), label272, FALSE, FALSE, 0);
@@ -1233,7 +1233,7 @@ create_gslapt (void)
gtk_widget_show (hbox106);
gtk_box_pack_start (GTK_BOX (vbox67), hbox106, TRUE, TRUE, 0);
- label271 = gtk_label_new (_(" "));
+ label271 = gtk_label_new (gettext(" "));
gtk_widget_set_name (label271, "label271");
gtk_widget_show (label271);
gtk_box_pack_start (GTK_BOX (hbox106), label271, FALSE, FALSE, 0);
@@ -1247,7 +1247,7 @@ create_gslapt (void)
gtk_table_set_row_spacings (GTK_TABLE (table3), 6);
gtk_table_set_col_spacings (GTK_TABLE (table3), 12);
- label237 = gtk_label_new (_("Version:"));
+ label237 = gtk_label_new (gettext("Version:"));
gtk_widget_set_name (label237, "label237");
gtk_widget_show (label237);
gtk_table_attach (GTK_TABLE (table3), label237, 0, 1, 0, 1,
@@ -1267,7 +1267,7 @@ create_gslapt (void)
gtk_label_set_selectable (GTK_LABEL (pkg_info_installed_version), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_installed_version), 0, 0.5);
- label239 = gtk_label_new (_("Installed Size:"));
+ label239 = gtk_label_new (gettext("Installed Size:"));
gtk_widget_set_name (label239, "label239");
gtk_widget_show (label239);
gtk_table_attach (GTK_TABLE (table3), label239, 0, 1, 1, 2,
@@ -1290,7 +1290,7 @@ create_gslapt (void)
gtk_widget_show (vbox66);
gtk_box_pack_start (GTK_BOX (vbox63), vbox66, TRUE, TRUE, 0);
- label261 = gtk_label_new (_("<b>Latest Available Version</b>"));
+ label261 = gtk_label_new (gettext("<b>Latest Available Version</b>"));
gtk_widget_set_name (label261, "label261");
gtk_widget_show (label261);
gtk_box_pack_start (GTK_BOX (vbox66), label261, FALSE, FALSE, 0);
@@ -1302,7 +1302,7 @@ create_gslapt (void)
gtk_widget_show (hbox105);
gtk_box_pack_start (GTK_BOX (vbox66), hbox105, TRUE, TRUE, 0);
- label262 = gtk_label_new (_(" "));
+ label262 = gtk_label_new (gettext(" "));
gtk_widget_set_name (label262, "label262");
gtk_widget_show (label262);
gtk_box_pack_start (GTK_BOX (hbox105), label262, FALSE, TRUE, 0);
@@ -1314,7 +1314,7 @@ create_gslapt (void)
gtk_table_set_row_spacings (GTK_TABLE (table5), 6);
gtk_table_set_col_spacings (GTK_TABLE (table5), 12);
- label263 = gtk_label_new (_("Version:"));
+ label263 = gtk_label_new (gettext("Version:"));
gtk_widget_set_name (label263, "label263");
gtk_widget_show (label263);
gtk_table_attach (GTK_TABLE (table5), label263, 0, 1, 0, 1,
@@ -1323,7 +1323,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label263), TRUE);
gtk_misc_set_alignment (GTK_MISC (label263), 0, 0.5);
- label264 = gtk_label_new (_("Size:"));
+ label264 = gtk_label_new (gettext("Size:"));
gtk_widget_set_name (label264, "label264");
gtk_widget_show (label264);
gtk_table_attach (GTK_TABLE (table5), label264, 0, 1, 1, 2,
@@ -1332,7 +1332,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label264), TRUE);
gtk_misc_set_alignment (GTK_MISC (label264), 0, 0.5);
- label265 = gtk_label_new (_("Installed Size:"));
+ label265 = gtk_label_new (gettext("Installed Size:"));
gtk_widget_set_name (label265, "label265");
gtk_widget_show (label265);
gtk_table_attach (GTK_TABLE (table5), label265, 0, 1, 2, 3,
@@ -1341,7 +1341,7 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label265), TRUE);
gtk_misc_set_alignment (GTK_MISC (label265), 0, 0.5);
- label266 = gtk_label_new (_("Source:"));
+ label266 = gtk_label_new (gettext("Source:"));
gtk_widget_set_name (label266, "label266");
gtk_widget_show (label266);
gtk_table_attach (GTK_TABLE (table5), label266, 0, 1, 3, 4,
@@ -1390,7 +1390,7 @@ create_gslapt (void)
gtk_label_set_selectable (GTK_LABEL (pkg_info_available_source), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_available_source), 0, 0.5);
- pkg_info_common_label = gtk_label_new (_("Common"));
+ pkg_info_common_label = gtk_label_new (gettext("Common"));
gtk_widget_set_name (pkg_info_common_label, "pkg_info_common_label");
gtk_widget_show (pkg_info_common_label);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 0), pkg_info_common_label);
@@ -1415,7 +1415,7 @@ create_gslapt (void)
gtk_text_view_set_editable (GTK_TEXT_VIEW (pkg_description_textview), FALSE);
gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_description_textview), FALSE);
- pkg_info_description_label = gtk_label_new (_("Description"));
+ pkg_info_description_label = gtk_label_new (gettext("Description"));
gtk_widget_set_name (pkg_info_description_label, "pkg_info_description_label");
gtk_widget_show (pkg_info_description_label);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 1), pkg_info_description_label);
@@ -1434,7 +1434,7 @@ create_gslapt (void)
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (dep_conf_sug_treeview), FALSE);
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (dep_conf_sug_treeview), FALSE);
- pkg_info_dependencies_label = gtk_label_new (_("Dependencies"));
+ pkg_info_dependencies_label = gtk_label_new (gettext("Dependencies"));
gtk_widget_set_name (pkg_info_dependencies_label, "pkg_info_dependencies_label");
gtk_widget_show (pkg_info_dependencies_label);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 2), pkg_info_dependencies_label);
@@ -1454,7 +1454,7 @@ create_gslapt (void)
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (pkg_changelog_textview), GTK_WRAP_WORD);
gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_changelog_textview), FALSE);
- pkg_info_changelog = gtk_label_new (_("Changelog"));
+ pkg_info_changelog = gtk_label_new (gettext("Changelog"));
gtk_widget_set_name (pkg_info_changelog, "pkg_info_changelog");
gtk_widget_show (pkg_info_changelog);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 3), pkg_info_changelog);
@@ -1673,7 +1673,7 @@ create_transaction_window (void)
transaction_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (transaction_window, "transaction_window");
gtk_container_set_border_width (GTK_CONTAINER (transaction_window), 12);
- gtk_window_set_title (GTK_WINDOW (transaction_window), _("Summary"));
+ gtk_window_set_title (GTK_WINDOW (transaction_window), gettext("Summary"));
gtk_window_set_position (GTK_WINDOW (transaction_window), GTK_WIN_POS_CENTER);
gtk_window_set_modal (GTK_WINDOW (transaction_window), TRUE);
gtk_window_set_default_size (GTK_WINDOW (transaction_window), 200, 400);
@@ -1714,14 +1714,14 @@ create_transaction_window (void)
gtk_box_pack_start (GTK_BOX (hbox97), vbox62, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox62), 6);
- label167 = gtk_label_new (_("<span weight=\"bold\" size=\"large\">Apply the following changes?</span>"));
+ label167 = gtk_label_new (gettext("<span weight=\"bold\" size=\"large\">Apply the following changes?</span>"));
gtk_widget_set_name (label167, "label167");
gtk_widget_show (label167);
gtk_box_pack_start (GTK_BOX (vbox62), label167, FALSE, FALSE, 0);
gtk_label_set_use_markup (GTK_LABEL (label167), TRUE);
gtk_misc_set_alignment (GTK_MISC (label167), 0, 0);
- label168 = gtk_label_new (_("This is a summary of the changes about to be performed."));
+ label168 = gtk_label_new (gettext("This is a summary of the changes about to be performed."));
gtk_widget_set_name (label168, "label168");
gtk_widget_show (label168);
gtk_box_pack_start (GTK_BOX (vbox62), label168, FALSE, FALSE, 0);
@@ -1773,7 +1773,7 @@ create_transaction_window (void)
gtk_misc_set_alignment (GTK_MISC (summary_free_space), 0, 0);
gtk_misc_set_padding (GTK_MISC (summary_free_space), 6, 1);
- download_only_checkbutton = gtk_check_button_new_with_mnemonic (_("Download packages only"));
+ download_only_checkbutton = gtk_check_button_new_with_mnemonic (gettext("Download packages only"));
gtk_widget_set_name (download_only_checkbutton, "download_only_checkbutton");
gtk_widget_show (download_only_checkbutton);
gtk_box_pack_start (GTK_BOX (vbox61), download_only_checkbutton, FALSE, TRUE, 0);
@@ -1849,7 +1849,7 @@ create_dl_progress_window (void)
dl_progress_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (dl_progress_window, "dl_progress_window");
gtk_container_set_border_width (GTK_CONTAINER (dl_progress_window), 12);
- gtk_window_set_title (GTK_WINDOW (dl_progress_window), _("working"));
+ gtk_window_set_title (GTK_WINDOW (dl_progress_window), gettext("working"));
gtk_window_set_position (GTK_WINDOW (dl_progress_window), GTK_WIN_POS_CENTER);
gtk_window_set_modal (GTK_WINDOW (dl_progress_window), TRUE);
dl_progress_window_icon_pixbuf = create_pixbuf ("gslapt.png");
@@ -1870,7 +1870,7 @@ create_dl_progress_window (void)
gtk_widget_set_name (progress_progressbar, "progress_progressbar");
gtk_widget_show (progress_progressbar);
gtk_box_pack_start (GTK_BOX (vbox49), progress_progressbar, FALSE, TRUE, 0);
- gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), _("total progress"));
+ gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), gettext("total progress"));
dl_progress = gtk_progress_bar_new ();
gtk_widget_set_name (dl_progress, "dl_progress");
@@ -1949,7 +1949,7 @@ create_about (void)
about = gtk_dialog_new ();
gtk_widget_set_name (about, "about");
- gtk_window_set_title (GTK_WINDOW (about), _("About gslapt"));
+ gtk_window_set_title (GTK_WINDOW (about), gettext("About gslapt"));
gtk_window_set_position (GTK_WINDOW (about), GTK_WIN_POS_CENTER);
gtk_window_set_destroy_with_parent (GTK_WINDOW (about), TRUE);
about_icon_pixbuf = create_pixbuf ("gslapt.png");
@@ -1984,7 +1984,7 @@ create_about (void)
gtk_label_set_justify (GTK_LABEL (label146), GTK_JUSTIFY_RIGHT);
gtk_label_set_selectable (GTK_LABEL (label146), TRUE);
- label147 = gtk_label_new (_("gslapt is a GTK+ frontend to slapt-get, an APT like package system for Slackware"));
+ label147 = gtk_label_new (gettext("gslapt is a GTK+ frontend to slapt-get, an APT like package system for Slackware"));
gtk_widget_set_name (label147, "label147");
gtk_widget_show (label147);
gtk_box_pack_start (GTK_BOX (vbox50), label147, TRUE, TRUE, 0);
@@ -2157,7 +2157,7 @@ create_icon_legend (void)
icon_legend = gtk_dialog_new ();
gtk_widget_set_name (icon_legend, "icon_legend");
gtk_container_set_border_width (GTK_CONTAINER (icon_legend), 2);
- gtk_window_set_title (GTK_WINDOW (icon_legend), _("Icon Legend"));
+ gtk_window_set_title (GTK_WINDOW (icon_legend), gettext("Icon Legend"));
gtk_window_set_position (GTK_WINDOW (icon_legend), GTK_WIN_POS_CENTER);
icon_legend_icon_pixbuf = create_pixbuf ("gslapt.png");
if (icon_legend_icon_pixbuf)
@@ -2178,7 +2178,7 @@ create_icon_legend (void)
gtk_box_pack_start (GTK_BOX (dialog_vbox4), vbox65, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox65), 6);
- label252 = gtk_label_new (_("<b>The following icons are used to indicate the current status of a package:</b>"));
+ label252 = gtk_label_new (gettext("<b>The following icons are used to indicate the current status of a package:</b>"));
gtk_widget_set_name (label252, "label252");
gtk_widget_show (label252);
gtk_box_pack_start (GTK_BOX (vbox65), label252, FALSE, FALSE, 0);
@@ -2200,7 +2200,7 @@ create_icon_legend (void)
gtk_widget_show (image865);
gtk_box_pack_start (GTK_BOX (hbox98), image865, FALSE, TRUE, 6);
- label253 = gtk_label_new (_("Not Installed"));
+ label253 = gtk_label_new (gettext("Not Installed"));
gtk_widget_set_name (label253, "label253");
gtk_widget_show (label253);
gtk_box_pack_start (GTK_BOX (hbox98), label253, FALSE, TRUE, 6);
@@ -2215,17 +2215,17 @@ create_icon_legend (void)
gtk_widget_show (image1257);
gtk_box_pack_start (GTK_BOX (hbox109), image1257, FALSE, TRUE, 6);
- label277 = gtk_label_new (_("Not Installed"));
+ label277 = gtk_label_new (gettext("Not Installed"));
gtk_widget_set_name (label277, "label277");
gtk_widget_show (label277);
gtk_box_pack_start (GTK_BOX (hbox109), label277, FALSE, TRUE, 6);
- label280 = gtk_label_new (_("/"));
+ label280 = gtk_label_new (gettext("/"));
gtk_widget_set_name (label280, "label280");
gtk_widget_show (label280);
gtk_box_pack_start (GTK_BOX (hbox109), label280, FALSE, FALSE, 0);
- label281 = gtk_label_new (_("Excluded"));
+ label281 = gtk_label_new (gettext("Excluded"));
gtk_widget_set_name (label281, "label281");
gtk_widget_show (label281);
gtk_box_pack_start (GTK_BOX (hbox109), label281, FALSE, FALSE, 6);
@@ -2240,7 +2240,7 @@ create_icon_legend (void)
gtk_widget_show (image866);
gtk_box_pack_start (GTK_BOX (hbox99), image866, FALSE, TRUE, 6);
- label254 = gtk_label_new (_("Installed"));
+ label254 = gtk_label_new (gettext("Installed"));
gtk_widget_set_name (label254, "label254");
gtk_widget_show (label254);
gtk_box_pack_start (GTK_BOX (hbox99), label254, FALSE, TRUE, 6);
@@ -2255,17 +2255,17 @@ create_icon_legend (void)
gtk_widget_show (image1256);
gtk_box_pack_start (GTK_BOX (hbox108), image1256, FALSE, TRUE, 6);
- label276 = gtk_label_new (_("Installed"));
+ label276 = gtk_label_new (gettext("Installed"));
gtk_widget_set_name (label276, "label276");
gtk_widget_show (label276);
gtk_box_pack_start (GTK_BOX (hbox108), label276, FALSE, TRUE, 6);
- label278 = gtk_label_new (_("/"));
+ label278 = gtk_label_new (gettext("/"));
gtk_widget_set_name (label278, "label278");
gtk_widget_show (label278);
gtk_box_pack_start (GTK_BOX (hbox108), label278, FALSE, TRUE, 0);
- label279 = gtk_label_new (_("Excluded"));
+ label279 = gtk_label_new (gettext("Excluded"));
gtk_widget_set_name (label279, "label279");
gtk_widget_show (label279);
gtk_box_pack_start (GTK_BOX (hbox108), label279, FALSE, TRUE, 6);
@@ -2280,7 +2280,7 @@ create_icon_legend (void)
gtk_widget_show (image867);
gtk_box_pack_start (GTK_BOX (hbox100), image867, FALSE, TRUE, 6);
- label255 = gtk_label_new (_("To be Installed"));
+ label255 = gtk_label_new (gettext("To be Installed"));
gtk_widget_set_name (label255, "label255");
gtk_widget_show (label255);
gtk_box_pack_start (GTK_BOX (hbox100), label255, FALSE, TRUE, 6);
@@ -2295,7 +2295,7 @@ create_icon_legend (void)
gtk_widget_show (image868);
gtk_box_pack_start (GTK_BOX (hbox101), image868, FALSE, TRUE, 6);
- label256 = gtk_label_new (_("To be Re-Installed"));
+ label256 = gtk_label_new (gettext("To be Re-Installed"));
gtk_widget_set_name (label256, "label256");
gtk_widget_show (label256);
gtk_box_pack_start (GTK_BOX (hbox101), label256, FALSE, TRUE, 6);
@@ -2310,7 +2310,7 @@ create_icon_legend (void)
gtk_widget_show (image869);
gtk_box_pack_start (GTK_BOX (hbox102), image869, FALSE, TRUE, 6);
- label257 = gtk_label_new (_("To be Upgraded"));
+ label257 = gtk_label_new (gettext("To be Upgraded"));
gtk_widget_set_name (label257, "label257");
gtk_widget_show (label257);
gtk_box_pack_start (GTK_BOX (hbox102), label257, FALSE, TRUE, 6);
@@ -2325,7 +2325,7 @@ create_icon_legend (void)
gtk_widget_show (image870);
gtk_box_pack_start (GTK_BOX (hbox103), image870, FALSE, TRUE, 6);
- label258 = gtk_label_new (_("To be Removed"));
+ label258 = gtk_label_new (gettext("To be Removed"));
gtk_widget_set_name (label258, "label258");
gtk_widget_show (label258);
gtk_box_pack_start (GTK_BOX (hbox103), label258, FALSE, TRUE, 6);
@@ -2340,7 +2340,7 @@ create_icon_legend (void)
gtk_widget_show (image871);
gtk_box_pack_start (GTK_BOX (hbox104), image871, FALSE, TRUE, 6);
- label259 = gtk_label_new (_("To be Downgraded"));
+ label259 = gtk_label_new (gettext("To be Downgraded"));
gtk_widget_set_name (label259, "label259");
gtk_widget_show (label259);
gtk_box_pack_start (GTK_BOX (hbox104), label259, FALSE, TRUE, 6);
@@ -2417,7 +2417,7 @@ create_pkgtools_progress_window (void)
pkgtools_progress_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name (pkgtools_progress_window, "pkgtools_progress_window");
gtk_container_set_border_width (GTK_CONTAINER (pkgtools_progress_window), 12);
- gtk_window_set_title (GTK_WINDOW (pkgtools_progress_window), _("working"));
+ gtk_window_set_title (GTK_WINDOW (pkgtools_progress_window), gettext("working"));
gtk_window_set_position (GTK_WINDOW (pkgtools_progress_window), GTK_WIN_POS_CENTER);
gtk_window_set_modal (GTK_WINDOW (pkgtools_progress_window), TRUE);
pkgtools_progress_window_icon_pixbuf = create_pixbuf ("gslapt.png");
@@ -2438,7 +2438,7 @@ create_pkgtools_progress_window (void)
gtk_widget_set_name (progress_progressbar, "progress_progressbar");
gtk_widget_show (progress_progressbar);
gtk_box_pack_start (GTK_BOX (vbox68), progress_progressbar, FALSE, TRUE, 0);
- gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), _("total progress"));
+ gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), gettext("total progress"));
progress_action = gtk_label_new ("");
gtk_widget_set_name (progress_action, "progress_action");
@@ -2488,7 +2488,7 @@ create_repositories_changed (void)
repositories_changed = gtk_dialog_new ();
gtk_widget_set_name (repositories_changed, "repositories_changed");
- gtk_window_set_title (GTK_WINDOW (repositories_changed), _("Repositories changed"));
+ gtk_window_set_title (GTK_WINDOW (repositories_changed), gettext("Repositories changed"));
gtk_window_set_modal (GTK_WINDOW (repositories_changed), TRUE);
repositories_changed_icon_pixbuf = create_pixbuf ("gslapt.png");
if (repositories_changed_icon_pixbuf)
@@ -2520,14 +2520,14 @@ create_repositories_changed (void)
gtk_box_pack_start (GTK_BOX (hbox114), vbox73, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox73), 6);
- label287 = gtk_label_new (_("<span size=\"large\" weight=\"bold\">Repositories changed</span>"));
+ label287 = gtk_label_new (gettext("<span size=\"large\" weight=\"bold\">Repositories changed</span>"));
gtk_widget_set_name (label287, "label287");
gtk_widget_show (label287);
gtk_box_pack_start (GTK_BOX (vbox73), label287, FALSE, FALSE, 6);
gtk_label_set_use_markup (GTK_LABEL (label287), TRUE);
gtk_misc_set_alignment (GTK_MISC (label287), 0, 0.5);
- label288 = gtk_label_new (_("You need to reload the package list from the sources you have listed. Do you want to do this now?"));
+ label288 = gtk_label_new (gettext("You need to reload the package list from the sources you have listed. Do you want to do this now?"));
gtk_widget_set_name (label288, "label288");
gtk_widget_show (label288);
gtk_box_pack_start (GTK_BOX (vbox73), label288, TRUE, TRUE, 6);
@@ -2731,7 +2731,7 @@ create_source_failed_dialog (void)
source_failed_dialog = gtk_dialog_new ();
gtk_widget_set_name (source_failed_dialog, "source_failed_dialog");
- gtk_window_set_title (GTK_WINDOW (source_failed_dialog), _("Source failed"));
+ gtk_window_set_title (GTK_WINDOW (source_failed_dialog), gettext("Source failed"));
source_failed_dialog_icon_pixbuf = create_pixbuf ("gslapt.png");
if (source_failed_dialog_icon_pixbuf)
{
@@ -2769,7 +2769,7 @@ create_source_failed_dialog (void)
gtk_label_set_use_markup (GTK_LABEL (failed_source_label), TRUE);
gtk_misc_set_alignment (GTK_MISC (failed_source_label), 0, 0.5);
- label290 = gtk_label_new (_("This package source failed or is not available. Do you want to disable this source and continue anyway?"));
+ label290 = gtk_label_new (gettext("This package source failed or is not available. Do you want to disable this source and continue anyway?"));
gtk_widget_set_name (label290, "label290");
gtk_widget_show (label290);
gtk_box_pack_start (GTK_BOX (vbox74), label290, TRUE, TRUE, 6);