Skip to content

Commit

Permalink
api: add info "pid" (WeeChat PID) (issue #850)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Nov 20, 2016
1 parent d0c1df3 commit 111f824
Show file tree
Hide file tree
Showing 21 changed files with 145 additions and 66 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
[[v1.7]]
== Version 1.7 (under dev)

New features::

* api: add info "pid" (WeeChat PID) (issue #850)

Improvements::

* irc: change default value of option irc.network.lag_reconnect to 300 (issue #818)
Expand Down
2 changes: 2 additions & 0 deletions doc/de/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | zeigt Farbnamen des Nick | Nickname

| weechat | pid | WeeChat PID (process ID) | -

| weechat | term_height | Höhe des Terminals | -

| weechat | term_width | Breite des Terminals | -
Expand Down
2 changes: 2 additions & 0 deletions doc/en/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | get nick color name | nickname

| weechat | pid | WeeChat PID (process ID) | -

| weechat | term_height | height of terminal | -

| weechat | term_width | width of terminal | -
Expand Down
2 changes: 2 additions & 0 deletions doc/fr/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | retourne le nom de la couleur du pseudo | pseudo

| weechat | pid | PID (ID de processus) de WeeChat | -

| weechat | term_height | hauteur du terminal | -

| weechat | term_width | largeur du terminal | -
Expand Down
2 changes: 2 additions & 0 deletions doc/it/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | ottiene il nome del colore del nick | nick

| weechat | pid | WeeChat PID (process ID) | -

| weechat | term_height | height of terminal | -

| weechat | term_width | width of terminal | -
Expand Down
2 changes: 2 additions & 0 deletions doc/ja/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | ニックネームの色名を取得 | ニックネーム

| weechat | pid | WeeChat PID (process ID) | -

| weechat | term_height | 端末の高さ | -

| weechat | term_width | 端末の幅 | -
Expand Down
2 changes: 2 additions & 0 deletions doc/pl/autogen/plugin_api/infos.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

| weechat | nick_color_name | pobiera nazwę koloru nicka | nazwa użytkownika

| weechat | pid | WeeChat PID (process ID) | -

| weechat | term_height | wysokość terminala | -

| weechat | term_width | szerokość terminala | -
Expand Down
13 changes: 8 additions & 5 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-09-03 08:23+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -242,10 +242,6 @@ msgstr ""
"%sVarování: nemohu nastavit lokalizaci; zkontrolujte že $LANG a $LC_* "
"promněné jsou nastaveny správně"

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Obdržen signál %s, ukončuji WeeChat..."

msgid "List of bars:"
msgstr "Seznam polí:"

Expand Down Expand Up @@ -4328,6 +4324,10 @@ msgstr "Barvy Weechat (použité: %d, zbývá: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminál ztracen, ukončuji WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Obdržen signál %s, ukončuji WeeChat..."

msgid "Mouse is enabled"
msgstr "Myš je zapnuta"

Expand Down Expand Up @@ -8893,6 +8893,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "datum kompilace WeeChat"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "dělič adresáře"

Expand Down
13 changes: 8 additions & 5 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-11-20 14:22+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
Expand Down Expand Up @@ -247,10 +247,6 @@ msgstr ""
"%sWarnung: locale kann nicht festgelegt werden; Variablen $LANG und $LC_* "
"sollten auf Plausibilität überprüft werden"

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s empfangen, beende WeeChat..."

msgid "List of bars:"
msgstr "Liste der vorhandenen Infobars:"

Expand Down Expand Up @@ -5114,6 +5110,10 @@ msgstr "WeeChat Farben (in Benutzung: %d; noch frei verfügbar: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal verloren, beende WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s empfangen, beende WeeChat..."

msgid "Mouse is enabled"
msgstr "Maus ist aktiv"

Expand Down Expand Up @@ -10223,6 +10223,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "Datum der WeeChat Kompilierung"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "Trennzeichen für Verzeichnis"

Expand Down
13 changes: 8 additions & 5 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-09-03 08:23+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -229,10 +229,6 @@ msgid ""
"correct"
msgstr ""

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Señal %s recibida, cerrando WeeChat..."

msgid "List of bars:"
msgstr "Lista de barras:"

Expand Down Expand Up @@ -4521,6 +4517,10 @@ msgstr "Colores de WeeChat (en uso: %d, disponibles: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Se perdió la terminal, cerrando WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Señal %s recibida, cerrando WeeChat..."

msgid "Mouse is enabled"
msgstr "Ratón activado"

Expand Down Expand Up @@ -9198,6 +9198,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "fecha de compilación de WeeChat"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "separador de directorios"

Expand Down
15 changes: 9 additions & 6 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"PO-Revision-Date: 2016-11-09 20:46+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-11-20 15:56+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
Expand Down Expand Up @@ -240,10 +240,6 @@ msgstr ""
"%sAttention : impossible de définir la locale ; vérifiez que les variables "
"$LANG et $LC_* sont correctes"

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s reçu, sortie de WeeChat..."

msgid "List of bars:"
msgstr "Liste des barres :"

Expand Down Expand Up @@ -5005,6 +5001,10 @@ msgstr "Couleurs WeeChat (en utilisation : %d, libres : %d) :"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminal perdu, sortie de WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Signal %s reçu, sortie de WeeChat..."

msgid "Mouse is enabled"
msgstr "La souris est activée"

Expand Down Expand Up @@ -9979,6 +9979,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "date de compilation de WeeChat"

msgid "WeeChat PID (process ID)"
msgstr "PID (ID de processus) de WeeChat"

msgid "directory separator"
msgstr "séparateur de répertoire"

Expand Down
13 changes: 8 additions & 5 deletions po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-09-03 08:23+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -223,10 +223,6 @@ msgid ""
"correct"
msgstr ""

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""

#, fuzzy
msgid "List of bars:"
msgstr "Aliaszok listája:\n"
Expand Down Expand Up @@ -3903,6 +3899,10 @@ msgstr ""
msgid "Terminal lost, exiting WeeChat..."
msgstr ""

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr ""

#, fuzzy
msgid "Mouse is enabled"
msgstr "a felhasználók le lettek tiltva"
Expand Down Expand Up @@ -8247,6 +8247,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "Konfigurációs fájl elmentve\n"

msgid "WeeChat PID (process ID)"
msgstr ""

#, fuzzy
msgid "directory separator"
msgstr "időelválasztó színe"
Expand Down
13 changes: 8 additions & 5 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-09-03 08:24+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -221,10 +221,6 @@ msgid ""
"correct"
msgstr ""

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Ricevuto segnale %s, chiusura di WeeChat..."

msgid "List of bars:"
msgstr "Elenco delle barre:"

Expand Down Expand Up @@ -4651,6 +4647,10 @@ msgstr "Colori di WeeChat (in uso: %d, rimaste: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Terminale perduto, chiusura di WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Ricevuto segnale %s, chiusura di WeeChat..."

msgid "Mouse is enabled"
msgstr "Mouse abilitato"

Expand Down Expand Up @@ -9361,6 +9361,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "data di compilazione di WeeChat"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "separatore directory"

Expand Down
13 changes: 8 additions & 5 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-11-12 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
Expand Down Expand Up @@ -238,10 +238,6 @@ msgstr ""
"%s警告: このロケールは設定できません; $LANG および $LC_* 変数が正しいことを確"
"認してください"

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "シグナル %s を受け取りました、WeeChat の終了中..."

msgid "List of bars:"
msgstr "バーのリスト:"

Expand Down Expand Up @@ -4780,6 +4776,10 @@ msgstr "WeeChat 色 (使用中: %d、残り: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "端末が見つかりません、WeeChat の終了中..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "シグナル %s を受け取りました、WeeChat の終了中..."

msgid "Mouse is enabled"
msgstr "マウスを有効化しました"

Expand Down Expand Up @@ -9593,6 +9593,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "WeeChat のコンパイル日"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "ディレクトリ区切り"

Expand Down
13 changes: 8 additions & 5 deletions po/pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-11-09 17:48+0100\n"
"POT-Creation-Date: 2016-11-20 15:55+0100\n"
"PO-Revision-Date: 2016-09-03 08:24+0200\n"
"Last-Translator: Krzysztof Korościk <soltys1@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -240,10 +240,6 @@ msgstr ""
"%sUwaga: nie można ustawić języka; upewnij się, że zmienne $LANG i $LC_* są "
"ustawione poprawnie"

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Otrzymano sygnał %s, wychodzę z WeeChat..."

msgid "List of bars:"
msgstr "Lista pasków:"

Expand Down Expand Up @@ -4893,6 +4889,10 @@ msgstr "Kolory WeeChat (w użyciu: %d, zostało: %d):"
msgid "Terminal lost, exiting WeeChat..."
msgstr "Utracono terminal, wychodzę z WeeChat..."

#, c-format
msgid "Signal %s received, exiting WeeChat..."
msgstr "Otrzymano sygnał %s, wychodzę z WeeChat..."

msgid "Mouse is enabled"
msgstr "Obsługa myszy włączona"

Expand Down Expand Up @@ -9780,6 +9780,9 @@ msgstr ""
msgid "WeeChat compilation date"
msgstr "data kompilacji WeeChat"

msgid "WeeChat PID (process ID)"
msgstr ""

msgid "directory separator"
msgstr "separator katalogów"

Expand Down
Loading

0 comments on commit 111f824

Please sign in to comment.