tazweb rev 191

lib/helper.sh: use plural forms, update pot and po files; doc/tazweb.html: auto-detection user/system language (works in TazWeb now).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 15 05:53:39 2017 +0200 (2017-03-15)
parents 6a5a94a11ff7
children 9b7c0f2bdaff
files doc/tazweb.html lib/helper.sh po/de.po po/fr.po po/ja.po po/pt_BR.po po/ru.po po/tazweb.pot po/vi.po po/zh_CN.po po/zh_TW.po
line diff
     1.1 --- a/doc/tazweb.html	Wed Mar 15 00:51:03 2017 +0100
     1.2 +++ b/doc/tazweb.html	Wed Mar 15 05:53:39 2017 +0200
     1.3 @@ -1,1 +1,17 @@
     1.4 -tazweb.en.html
     1.5 \ No newline at end of file
     1.6 +<!DOCTYPE html>
     1.7 +<script>
     1.8 +var uilang = navigator.language || navigator.userLanguage;
     1.9 +var lang = uilang.split('-')[0];
    1.10 +switch (lang) {
    1.11 +	case 'de':
    1.12 +	case 'es':
    1.13 +	case 'fr':
    1.14 +	case 'pt':
    1.15 +	case 'ru':
    1.16 +		found = lang;
    1.17 +		break;
    1.18 +	default:
    1.19 +		found = 'en';
    1.20 +}
    1.21 +window.location = 'tazweb.' + found + '.html';
    1.22 +</script>
     2.1 --- a/lib/helper.sh	Wed Mar 15 00:51:03 2017 +0100
     2.2 +++ b/lib/helper.sh	Wed Mar 15 05:53:39 2017 +0200
     2.3 @@ -75,7 +75,8 @@
     2.4  		unset IFS
     2.5  
     2.6  		echo '</ul>'
     2.7 -		html_footer "$(wc -l < $bm_txt) $(gettext "Bookmarks") - $(date)"
     2.8 +		num=$(wc -l < $bm_txt)
     2.9 +		html_footer "$(printf "$(ngettext "%d bookmark" "%d bookmarks" "$num")" "$num") - $(date)"
    2.10  	} > $bm_html
    2.11  
    2.12  	# Security fix from old cgi-bin bookmarks.cgi
    2.13 @@ -100,7 +101,8 @@
    2.14  		unset IFS
    2.15  
    2.16  		echo '</pre>'
    2.17 -		html_footer "$(cat $cookies_txt | wc -l) $(gettext "Cookies") - $(date)"
    2.18 +		num=$(wc -l < $cookies_txt)
    2.19 +		html_footer "$(printf "$(ngettext "%d cookie" "%d cookies" "$num")" "$num") - $(date)"
    2.20  	} > $cookies_html
    2.21  }
    2.22  
     3.1 --- a/po/de.po	Wed Mar 15 00:51:03 2017 +0100
     3.2 +++ b/po/de.po	Wed Mar 15 05:53:39 2017 +0200
     3.3 @@ -8,7 +8,7 @@
     3.4  msgstr ""
     3.5  "Project-Id-Version: TazWeb 1.8\n"
     3.6  "Report-Msgid-Bugs-To: \n"
     3.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     3.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     3.9  "PO-Revision-Date: 2016-09-22 21:35+0100\n"
    3.10  "Last-Translator: Hans-Günter Theisgen\n"
    3.11  "Language-Team: German\n"
    3.12 @@ -18,48 +18,61 @@
    3.13  "Content-Transfer-Encoding: 8bit\n"
    3.14  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
    3.15  
    3.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    3.17 +#: src/tazweb.c:314 lib/helper.sh:68
    3.18  #, fuzzy
    3.19  msgid "Bookmarks"
    3.20  msgstr "Lesezeichen hinzufügen"
    3.21  
    3.22 -#: src/tazweb.c:327
    3.23 +#: src/tazweb.c:322
    3.24  msgid "Add a bookmark"
    3.25  msgstr "Lesezeichen hinzufügen"
    3.26  
    3.27 -#: src/tazweb.c:334
    3.28 +#: src/tazweb.c:329
    3.29  #, fuzzy
    3.30  msgid "Edit bookmarks"
    3.31  msgstr "Lesezeichen hinzufügen"
    3.32  
    3.33 -#: src/tazweb.c:346
    3.34 +#: src/tazweb.c:341
    3.35  msgid "Print this page"
    3.36  msgstr "Diese Seite drucken"
    3.37  
    3.38 -#: src/tazweb.c:353
    3.39 +#: src/tazweb.c:348
    3.40  msgid "View source mode"
    3.41  msgstr "Seitenquelltext anzeigen"
    3.42  
    3.43 -#: src/tazweb.c:365
    3.44 +#: src/tazweb.c:360
    3.45  msgid "View cookies"
    3.46  msgstr ""
    3.47  
    3.48 -#: src/tazweb.c:371
    3.49 +#: src/tazweb.c:366
    3.50  msgid "Clean all cookies"
    3.51  msgstr ""
    3.52  
    3.53 -#: src/tazweb.c:383
    3.54 +#: src/tazweb.c:378
    3.55  msgid "TazWeb manual"
    3.56  msgstr "TazWeb-Handbuch"
    3.57  
    3.58 -#: src/tazweb.c:390
    3.59 +#: src/tazweb.c:385
    3.60  msgid "Quit TazWeb"
    3.61  msgstr "TazWeb beenden"
    3.62  
    3.63 -#: lib/helper.sh:93 lib/helper.sh:103
    3.64 +#: lib/helper.sh:79
    3.65 +#, fuzzy
    3.66 +msgid "%d bookmark"
    3.67 +msgid_plural "%d bookmarks"
    3.68 +msgstr[0] "Lesezeichen hinzufügen"
    3.69 +msgstr[1] "Lesezeichen hinzufügen"
    3.70 +
    3.71 +#: lib/helper.sh:94
    3.72  msgid "Cookies"
    3.73  msgstr ""
    3.74  
    3.75 +#: lib/helper.sh:105
    3.76 +msgid "%d cookie"
    3.77 +msgid_plural "%d cookies"
    3.78 +msgstr[0] ""
    3.79 +msgstr[1] ""
    3.80 +
    3.81  #: data/tazweb.desktop.in:4
    3.82  msgid "TazWeb Browser"
    3.83  msgstr ""
     4.1 --- a/po/fr.po	Wed Mar 15 00:51:03 2017 +0100
     4.2 +++ b/po/fr.po	Wed Mar 15 05:53:39 2017 +0200
     4.3 @@ -7,7 +7,7 @@
     4.4  msgstr ""
     4.5  "Project-Id-Version: TazWeb 1.6.4\n"
     4.6  "Report-Msgid-Bugs-To: \n"
     4.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     4.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     4.9  "PO-Revision-Date: 2017-03-14 19:44+0100\n"
    4.10  "Last-Translator: Christophe Lincoln <pankso@slitaz.org>\n"
    4.11  "Language-Team: French\n"
    4.12 @@ -17,46 +17,60 @@
    4.13  "Content-Transfer-Encoding: 8bit\n"
    4.14  "X-Generator: Poedit 1.8.6\n"
    4.15  
    4.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    4.17 +#: src/tazweb.c:314 lib/helper.sh:68
    4.18  msgid "Bookmarks"
    4.19  msgstr "Marque pages"
    4.20  
    4.21 -#: src/tazweb.c:327
    4.22 +#: src/tazweb.c:322
    4.23  msgid "Add a bookmark"
    4.24  msgstr "Marquer cette page"
    4.25  
    4.26 -#: src/tazweb.c:334
    4.27 +#: src/tazweb.c:329
    4.28  msgid "Edit bookmarks"
    4.29  msgstr "Éditer les marques pages"
    4.30  
    4.31 -#: src/tazweb.c:346
    4.32 +#: src/tazweb.c:341
    4.33  msgid "Print this page"
    4.34  msgstr "Imprimer cette page"
    4.35  
    4.36 -#: src/tazweb.c:353
    4.37 +#: src/tazweb.c:348
    4.38  msgid "View source mode"
    4.39  msgstr "Code source de la page"
    4.40  
    4.41 -#: src/tazweb.c:365
    4.42 +#: src/tazweb.c:360
    4.43  msgid "View cookies"
    4.44  msgstr "Voir les cookies"
    4.45  
    4.46 -#: src/tazweb.c:371
    4.47 +#: src/tazweb.c:366
    4.48  msgid "Clean all cookies"
    4.49  msgstr "Nettoyer les cookies"
    4.50  
    4.51 -#: src/tazweb.c:383
    4.52 +#: src/tazweb.c:378
    4.53  msgid "TazWeb manual"
    4.54  msgstr "Manuel de TazWeb"
    4.55  
    4.56 -#: src/tazweb.c:390
    4.57 +#: src/tazweb.c:385
    4.58  msgid "Quit TazWeb"
    4.59  msgstr "Quitter TazWeb"
    4.60  
    4.61 -#: lib/helper.sh:93 lib/helper.sh:103
    4.62 +#: lib/helper.sh:79
    4.63 +#, fuzzy
    4.64 +msgid "%d bookmark"
    4.65 +msgid_plural "%d bookmarks"
    4.66 +msgstr[0] "Marquer cette page"
    4.67 +msgstr[1] "Marquer cette page"
    4.68 +
    4.69 +#: lib/helper.sh:94
    4.70  msgid "Cookies"
    4.71  msgstr "Cookies"
    4.72  
    4.73 +#: lib/helper.sh:105
    4.74 +#, fuzzy
    4.75 +msgid "%d cookie"
    4.76 +msgid_plural "%d cookies"
    4.77 +msgstr[0] "Voir les cookies"
    4.78 +msgstr[1] "Voir les cookies"
    4.79 +
    4.80  #: data/tazweb.desktop.in:4
    4.81  msgid "TazWeb Browser"
    4.82  msgstr "Navigateur TazWeb"
     5.1 --- a/po/ja.po	Wed Mar 15 00:51:03 2017 +0100
     5.2 +++ b/po/ja.po	Wed Mar 15 05:53:39 2017 +0200
     5.3 @@ -7,7 +7,7 @@
     5.4  msgstr ""
     5.5  "Project-Id-Version: TazWeb 1.10\n"
     5.6  "Report-Msgid-Bugs-To: \n"
     5.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     5.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     5.9  "PO-Revision-Date: 2017-01-05 22:46+0900\n"
    5.10  "Last-Translator: BALLOON a.k.a. Fu-sen. (Keiichi SHIGA) <balloonakafusen AT "
    5.11  "gmail DOT com>\n"
    5.12 @@ -19,48 +19,59 @@
    5.13  "X-Generator: Poedit 1.8.7.1\n"
    5.14  "Plural-Forms: nplurals=1; plural=0;\n"
    5.15  
    5.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    5.17 +#: src/tazweb.c:314 lib/helper.sh:68
    5.18  #, fuzzy
    5.19  msgid "Bookmarks"
    5.20  msgstr "ブックマークへ追加"
    5.21  
    5.22 -#: src/tazweb.c:327
    5.23 +#: src/tazweb.c:322
    5.24  msgid "Add a bookmark"
    5.25  msgstr "ブックマークへ追加"
    5.26  
    5.27 -#: src/tazweb.c:334
    5.28 +#: src/tazweb.c:329
    5.29  #, fuzzy
    5.30  msgid "Edit bookmarks"
    5.31  msgstr "ブックマークへ追加"
    5.32  
    5.33 -#: src/tazweb.c:346
    5.34 +#: src/tazweb.c:341
    5.35  msgid "Print this page"
    5.36  msgstr "このページを印刷"
    5.37  
    5.38 -#: src/tazweb.c:353
    5.39 +#: src/tazweb.c:348
    5.40  msgid "View source mode"
    5.41  msgstr "ソースモードで表示"
    5.42  
    5.43 -#: src/tazweb.c:365
    5.44 +#: src/tazweb.c:360
    5.45  msgid "View cookies"
    5.46  msgstr ""
    5.47  
    5.48 -#: src/tazweb.c:371
    5.49 +#: src/tazweb.c:366
    5.50  msgid "Clean all cookies"
    5.51  msgstr ""
    5.52  
    5.53 -#: src/tazweb.c:383
    5.54 +#: src/tazweb.c:378
    5.55  msgid "TazWeb manual"
    5.56  msgstr "TazWeb マニュアル"
    5.57  
    5.58 -#: src/tazweb.c:390
    5.59 +#: src/tazweb.c:385
    5.60  msgid "Quit TazWeb"
    5.61  msgstr "TazWeb を終了"
    5.62  
    5.63 -#: lib/helper.sh:93 lib/helper.sh:103
    5.64 +#: lib/helper.sh:79
    5.65 +#, fuzzy
    5.66 +msgid "%d bookmark"
    5.67 +msgid_plural "%d bookmarks"
    5.68 +msgstr[0] "ブックマークへ追加"
    5.69 +
    5.70 +#: lib/helper.sh:94
    5.71  msgid "Cookies"
    5.72  msgstr ""
    5.73  
    5.74 +#: lib/helper.sh:105
    5.75 +msgid "%d cookie"
    5.76 +msgid_plural "%d cookies"
    5.77 +msgstr[0] ""
    5.78 +
    5.79  #: data/tazweb.desktop.in:4
    5.80  msgid "TazWeb Browser"
    5.81  msgstr ""
     6.1 --- a/po/pt_BR.po	Wed Mar 15 00:51:03 2017 +0100
     6.2 +++ b/po/pt_BR.po	Wed Mar 15 05:53:39 2017 +0200
     6.3 @@ -7,7 +7,7 @@
     6.4  msgstr ""
     6.5  "Project-Id-Version: TazWeb 1.6.4\n"
     6.6  "Report-Msgid-Bugs-To: \n"
     6.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     6.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     6.9  "PO-Revision-Date: 2014-01-14 21:27+0300\n"
    6.10  "Last-Translator: Claudinei Pereira <claudinei@slitaz.org>\n"
    6.11  "Language-Team: Portuguese (Brasilian)<i18n@slitaz.org>\n"
    6.12 @@ -17,48 +17,61 @@
    6.13  "Content-Transfer-Encoding: 8bit\n"
    6.14  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
    6.15  
    6.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    6.17 +#: src/tazweb.c:314 lib/helper.sh:68
    6.18  #, fuzzy
    6.19  msgid "Bookmarks"
    6.20  msgstr "Adicionar aos favoritos"
    6.21  
    6.22 -#: src/tazweb.c:327
    6.23 +#: src/tazweb.c:322
    6.24  msgid "Add a bookmark"
    6.25  msgstr "Adicionar aos favoritos"
    6.26  
    6.27 -#: src/tazweb.c:334
    6.28 +#: src/tazweb.c:329
    6.29  #, fuzzy
    6.30  msgid "Edit bookmarks"
    6.31  msgstr "Adicionar aos favoritos"
    6.32  
    6.33 -#: src/tazweb.c:346
    6.34 +#: src/tazweb.c:341
    6.35  msgid "Print this page"
    6.36  msgstr "Imprimir esta página"
    6.37  
    6.38 -#: src/tazweb.c:353
    6.39 +#: src/tazweb.c:348
    6.40  msgid "View source mode"
    6.41  msgstr "Código-fonte"
    6.42  
    6.43 -#: src/tazweb.c:365
    6.44 +#: src/tazweb.c:360
    6.45  msgid "View cookies"
    6.46  msgstr ""
    6.47  
    6.48 -#: src/tazweb.c:371
    6.49 +#: src/tazweb.c:366
    6.50  msgid "Clean all cookies"
    6.51  msgstr ""
    6.52  
    6.53 -#: src/tazweb.c:383
    6.54 +#: src/tazweb.c:378
    6.55  msgid "TazWeb manual"
    6.56  msgstr "Manual do TazWeb"
    6.57  
    6.58 -#: src/tazweb.c:390
    6.59 +#: src/tazweb.c:385
    6.60  msgid "Quit TazWeb"
    6.61  msgstr "Sair do Tazweb"
    6.62  
    6.63 -#: lib/helper.sh:93 lib/helper.sh:103
    6.64 +#: lib/helper.sh:79
    6.65 +#, fuzzy
    6.66 +msgid "%d bookmark"
    6.67 +msgid_plural "%d bookmarks"
    6.68 +msgstr[0] "Adicionar aos favoritos"
    6.69 +msgstr[1] "Adicionar aos favoritos"
    6.70 +
    6.71 +#: lib/helper.sh:94
    6.72  msgid "Cookies"
    6.73  msgstr ""
    6.74  
    6.75 +#: lib/helper.sh:105
    6.76 +msgid "%d cookie"
    6.77 +msgid_plural "%d cookies"
    6.78 +msgstr[0] ""
    6.79 +msgstr[1] ""
    6.80 +
    6.81  #: data/tazweb.desktop.in:4
    6.82  msgid "TazWeb Browser"
    6.83  msgstr "Navegador TazWeb"
     7.1 --- a/po/ru.po	Wed Mar 15 00:51:03 2017 +0100
     7.2 +++ b/po/ru.po	Wed Mar 15 05:53:39 2017 +0200
     7.3 @@ -7,8 +7,8 @@
     7.4  msgstr ""
     7.5  "Project-Id-Version: TazWeb 1.6.4\n"
     7.6  "Report-Msgid-Bugs-To: \n"
     7.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     7.8 -"PO-Revision-Date: 2017-03-14 12:49+0200\n"
     7.9 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
    7.10 +"PO-Revision-Date: 2017-03-15 05:29+0200\n"
    7.11  "Last-Translator: Aleksej Bobylev <al.bobylev@gmail.com>\n"
    7.12  "Language-Team: Russian\n"
    7.13  "Language: ru\n"
    7.14 @@ -16,47 +16,62 @@
    7.15  "Content-Type: text/plain; charset=UTF-8\n"
    7.16  "Content-Transfer-Encoding: 8bit\n"
    7.17  "X-Generator: Poedit 1.8.6\n"
    7.18 +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
    7.19  
    7.20 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    7.21 +#: src/tazweb.c:314 lib/helper.sh:68
    7.22  msgid "Bookmarks"
    7.23  msgstr "Закладки"
    7.24  
    7.25 -#: src/tazweb.c:327
    7.26 +#: src/tazweb.c:322
    7.27  msgid "Add a bookmark"
    7.28  msgstr "Добавить закладку"
    7.29  
    7.30 -#: src/tazweb.c:334
    7.31 +#: src/tazweb.c:329
    7.32  msgid "Edit bookmarks"
    7.33  msgstr "Правка закладок"
    7.34  
    7.35 -#: src/tazweb.c:346
    7.36 +#: src/tazweb.c:341
    7.37  msgid "Print this page"
    7.38  msgstr "Печать страницы"
    7.39  
    7.40 -#: src/tazweb.c:353
    7.41 +#: src/tazweb.c:348
    7.42  msgid "View source mode"
    7.43  msgstr "Исходный код"
    7.44  
    7.45 -#: src/tazweb.c:365
    7.46 +#: src/tazweb.c:360
    7.47  msgid "View cookies"
    7.48  msgstr "Просмотр куки"
    7.49  
    7.50 -#: src/tazweb.c:371
    7.51 +#: src/tazweb.c:366
    7.52  msgid "Clean all cookies"
    7.53  msgstr "Очистить все куки"
    7.54  
    7.55 -#: src/tazweb.c:383
    7.56 +#: src/tazweb.c:378
    7.57  msgid "TazWeb manual"
    7.58  msgstr "Руководство TazWeb"
    7.59  
    7.60 -#: src/tazweb.c:390
    7.61 +#: src/tazweb.c:385
    7.62  msgid "Quit TazWeb"
    7.63  msgstr "Закрыть TazWeb"
    7.64  
    7.65 -#: lib/helper.sh:93 lib/helper.sh:103
    7.66 +#: lib/helper.sh:79
    7.67 +msgid "%d bookmark"
    7.68 +msgid_plural "%d bookmarks"
    7.69 +msgstr[0] "%d закладка"
    7.70 +msgstr[1] "%d закладки"
    7.71 +msgstr[2] "%d закладок"
    7.72 +
    7.73 +#: lib/helper.sh:94
    7.74  msgid "Cookies"
    7.75  msgstr "Куки"
    7.76  
    7.77 +#: lib/helper.sh:105
    7.78 +msgid "%d cookie"
    7.79 +msgid_plural "%d cookies"
    7.80 +msgstr[0] "%d куки"
    7.81 +msgstr[1] "%d куки"
    7.82 +msgstr[2] "%d куки"
    7.83 +
    7.84  #: data/tazweb.desktop.in:4
    7.85  msgid "TazWeb Browser"
    7.86  msgstr "Браузер TazWeb"
    7.87 @@ -67,7 +82,7 @@
    7.88  
    7.89  #: data/tazweb.desktop.in:6
    7.90  msgid "tazweb"
    7.91 -msgstr ""
    7.92 +msgstr "tazweb"
    7.93  
    7.94  #~ msgid "Zoom in"
    7.95  #~ msgstr "Увеличить"
     8.1 --- a/po/tazweb.pot	Wed Mar 15 00:51:03 2017 +0100
     8.2 +++ b/po/tazweb.pot	Wed Mar 15 05:53:39 2017 +0200
     8.3 @@ -8,7 +8,7 @@
     8.4  msgstr ""
     8.5  "Project-Id-Version: TazWeb 1.10\n"
     8.6  "Report-Msgid-Bugs-To: \n"
     8.7 -"POT-Creation-Date: 2017-03-14 19:07+0200\n"
     8.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     8.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    8.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    8.11  "Language-Team: LANGUAGE <LL@li.org>\n"
    8.12 @@ -16,47 +16,60 @@
    8.13  "MIME-Version: 1.0\n"
    8.14  "Content-Type: text/plain; charset=CHARSET\n"
    8.15  "Content-Transfer-Encoding: 8bit\n"
    8.16 +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    8.17  
    8.18 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    8.19 +#: src/tazweb.c:314 lib/helper.sh:68
    8.20  msgid "Bookmarks"
    8.21  msgstr ""
    8.22  
    8.23 -#: src/tazweb.c:327
    8.24 +#: src/tazweb.c:322
    8.25  msgid "Add a bookmark"
    8.26  msgstr ""
    8.27  
    8.28 -#: src/tazweb.c:334
    8.29 +#: src/tazweb.c:329
    8.30  msgid "Edit bookmarks"
    8.31  msgstr ""
    8.32  
    8.33 -#: src/tazweb.c:346
    8.34 +#: src/tazweb.c:341
    8.35  msgid "Print this page"
    8.36  msgstr ""
    8.37  
    8.38 -#: src/tazweb.c:353
    8.39 +#: src/tazweb.c:348
    8.40  msgid "View source mode"
    8.41  msgstr ""
    8.42  
    8.43 -#: src/tazweb.c:365
    8.44 +#: src/tazweb.c:360
    8.45  msgid "View cookies"
    8.46  msgstr ""
    8.47  
    8.48 -#: src/tazweb.c:371
    8.49 +#: src/tazweb.c:366
    8.50  msgid "Clean all cookies"
    8.51  msgstr ""
    8.52  
    8.53 -#: src/tazweb.c:383
    8.54 +#: src/tazweb.c:378
    8.55  msgid "TazWeb manual"
    8.56  msgstr ""
    8.57  
    8.58 -#: src/tazweb.c:390
    8.59 +#: src/tazweb.c:385
    8.60  msgid "Quit TazWeb"
    8.61  msgstr ""
    8.62  
    8.63 -#: lib/helper.sh:93 lib/helper.sh:103
    8.64 +#: lib/helper.sh:79
    8.65 +msgid "%d bookmark"
    8.66 +msgid_plural "%d bookmarks"
    8.67 +msgstr[0] ""
    8.68 +msgstr[1] ""
    8.69 +
    8.70 +#: lib/helper.sh:94
    8.71  msgid "Cookies"
    8.72  msgstr ""
    8.73  
    8.74 +#: lib/helper.sh:105
    8.75 +msgid "%d cookie"
    8.76 +msgid_plural "%d cookies"
    8.77 +msgstr[0] ""
    8.78 +msgstr[1] ""
    8.79 +
    8.80  #: data/tazweb.desktop.in:4
    8.81  msgid "TazWeb Browser"
    8.82  msgstr ""
     9.1 --- a/po/vi.po	Wed Mar 15 00:51:03 2017 +0100
     9.2 +++ b/po/vi.po	Wed Mar 15 05:53:39 2017 +0200
     9.3 @@ -7,7 +7,7 @@
     9.4  msgstr ""
     9.5  "Project-Id-Version: TazWeb 1.8\n"
     9.6  "Report-Msgid-Bugs-To: \n"
     9.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
     9.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
     9.9  "PO-Revision-Date: 2016-10-04 17:50+0200\n"
    9.10  "Last-Translator: tuananh88c25 <tuananh88c25@gmail.com>\n"
    9.11  "Language-Team: \n"
    9.12 @@ -16,48 +16,61 @@
    9.13  "Content-Type: text/plain; charset=utf-8\n"
    9.14  "Content-Transfer-Encoding: 8bit\n"
    9.15  
    9.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
    9.17 +#: src/tazweb.c:314 lib/helper.sh:68
    9.18  #, fuzzy
    9.19  msgid "Bookmarks"
    9.20  msgstr "Thêm dấu trang"
    9.21  
    9.22 -#: src/tazweb.c:327
    9.23 +#: src/tazweb.c:322
    9.24  msgid "Add a bookmark"
    9.25  msgstr "Thêm dấu trang"
    9.26  
    9.27 -#: src/tazweb.c:334
    9.28 +#: src/tazweb.c:329
    9.29  #, fuzzy
    9.30  msgid "Edit bookmarks"
    9.31  msgstr "Thêm dấu trang"
    9.32  
    9.33 -#: src/tazweb.c:346
    9.34 +#: src/tazweb.c:341
    9.35  msgid "Print this page"
    9.36  msgstr "In trang này"
    9.37  
    9.38 -#: src/tazweb.c:353
    9.39 +#: src/tazweb.c:348
    9.40  msgid "View source mode"
    9.41  msgstr "Xem nguồn trang"
    9.42  
    9.43 -#: src/tazweb.c:365
    9.44 +#: src/tazweb.c:360
    9.45  msgid "View cookies"
    9.46  msgstr ""
    9.47  
    9.48 -#: src/tazweb.c:371
    9.49 +#: src/tazweb.c:366
    9.50  msgid "Clean all cookies"
    9.51  msgstr ""
    9.52  
    9.53 -#: src/tazweb.c:383
    9.54 +#: src/tazweb.c:378
    9.55  msgid "TazWeb manual"
    9.56  msgstr "Hướng dẫn TazWeb"
    9.57  
    9.58 -#: src/tazweb.c:390
    9.59 +#: src/tazweb.c:385
    9.60  msgid "Quit TazWeb"
    9.61  msgstr "Thoát TazWeb"
    9.62  
    9.63 -#: lib/helper.sh:93 lib/helper.sh:103
    9.64 +#: lib/helper.sh:79
    9.65 +#, fuzzy
    9.66 +msgid "%d bookmark"
    9.67 +msgid_plural "%d bookmarks"
    9.68 +msgstr[0] "Thêm dấu trang"
    9.69 +msgstr[1] "Thêm dấu trang"
    9.70 +
    9.71 +#: lib/helper.sh:94
    9.72  msgid "Cookies"
    9.73  msgstr ""
    9.74  
    9.75 +#: lib/helper.sh:105
    9.76 +msgid "%d cookie"
    9.77 +msgid_plural "%d cookies"
    9.78 +msgstr[0] ""
    9.79 +msgstr[1] ""
    9.80 +
    9.81  #: data/tazweb.desktop.in:4
    9.82  msgid "TazWeb Browser"
    9.83  msgstr ""
    10.1 --- a/po/zh_CN.po	Wed Mar 15 00:51:03 2017 +0100
    10.2 +++ b/po/zh_CN.po	Wed Mar 15 05:53:39 2017 +0200
    10.3 @@ -7,7 +7,7 @@
    10.4  msgstr ""
    10.5  "Project-Id-Version: TazWeb 1.8\n"
    10.6  "Report-Msgid-Bugs-To: \n"
    10.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
    10.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
    10.9  "PO-Revision-Date: 2014-07-02 13:12+0800\n"
   10.10  "Last-Translator: rhsky <rhsky@qq.com>\n"
   10.11  "Language-Team: \n"
   10.12 @@ -18,48 +18,59 @@
   10.13  "Plural-Forms: nplurals=1; plural=0;\n"
   10.14  "X-Generator: Poedit 1.6.5\n"
   10.15  
   10.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
   10.17 +#: src/tazweb.c:314 lib/helper.sh:68
   10.18  #, fuzzy
   10.19  msgid "Bookmarks"
   10.20  msgstr "添加书签"
   10.21  
   10.22 -#: src/tazweb.c:327
   10.23 +#: src/tazweb.c:322
   10.24  msgid "Add a bookmark"
   10.25  msgstr "添加书签"
   10.26  
   10.27 -#: src/tazweb.c:334
   10.28 +#: src/tazweb.c:329
   10.29  #, fuzzy
   10.30  msgid "Edit bookmarks"
   10.31  msgstr "添加书签"
   10.32  
   10.33 -#: src/tazweb.c:346
   10.34 +#: src/tazweb.c:341
   10.35  msgid "Print this page"
   10.36  msgstr "打印本页"
   10.37  
   10.38 -#: src/tazweb.c:353
   10.39 +#: src/tazweb.c:348
   10.40  msgid "View source mode"
   10.41  msgstr "源代码查看"
   10.42  
   10.43 -#: src/tazweb.c:365
   10.44 +#: src/tazweb.c:360
   10.45  msgid "View cookies"
   10.46  msgstr ""
   10.47  
   10.48 -#: src/tazweb.c:371
   10.49 +#: src/tazweb.c:366
   10.50  msgid "Clean all cookies"
   10.51  msgstr ""
   10.52  
   10.53 -#: src/tazweb.c:383
   10.54 +#: src/tazweb.c:378
   10.55  msgid "TazWeb manual"
   10.56  msgstr "TazWeb 使用手册"
   10.57  
   10.58 -#: src/tazweb.c:390
   10.59 +#: src/tazweb.c:385
   10.60  msgid "Quit TazWeb"
   10.61  msgstr "退出 TazWeb"
   10.62  
   10.63 -#: lib/helper.sh:93 lib/helper.sh:103
   10.64 +#: lib/helper.sh:79
   10.65 +#, fuzzy
   10.66 +msgid "%d bookmark"
   10.67 +msgid_plural "%d bookmarks"
   10.68 +msgstr[0] "添加书签"
   10.69 +
   10.70 +#: lib/helper.sh:94
   10.71  msgid "Cookies"
   10.72  msgstr ""
   10.73  
   10.74 +#: lib/helper.sh:105
   10.75 +msgid "%d cookie"
   10.76 +msgid_plural "%d cookies"
   10.77 +msgstr[0] ""
   10.78 +
   10.79  #: data/tazweb.desktop.in:4
   10.80  msgid "TazWeb Browser"
   10.81  msgstr ""
    11.1 --- a/po/zh_TW.po	Wed Mar 15 00:51:03 2017 +0100
    11.2 +++ b/po/zh_TW.po	Wed Mar 15 05:53:39 2017 +0200
    11.3 @@ -7,7 +7,7 @@
    11.4  msgstr ""
    11.5  "Project-Id-Version: TazWeb 1.8\n"
    11.6  "Report-Msgid-Bugs-To: \n"
    11.7 -"POT-Creation-Date: 2017-03-14 13:07+0200\n"
    11.8 +"POT-Creation-Date: 2017-03-15 05:27+0200\n"
    11.9  "PO-Revision-Date: 2014-06-05 15:05+0800\n"
   11.10  "Last-Translator: lunglungyu <lunglungyu2004@gmail.com>\n"
   11.11  "Language-Team: Traditional Chinese\n"
   11.12 @@ -16,48 +16,61 @@
   11.13  "Content-Type: text/plain; charset=UTF-8\n"
   11.14  "Content-Transfer-Encoding: 8bit\n"
   11.15  
   11.16 -#: src/tazweb.c:319 lib/helper.sh:68 lib/helper.sh:78
   11.17 +#: src/tazweb.c:314 lib/helper.sh:68
   11.18  #, fuzzy
   11.19  msgid "Bookmarks"
   11.20  msgstr "加入書簽"
   11.21  
   11.22 -#: src/tazweb.c:327
   11.23 +#: src/tazweb.c:322
   11.24  msgid "Add a bookmark"
   11.25  msgstr "加入書簽"
   11.26  
   11.27 -#: src/tazweb.c:334
   11.28 +#: src/tazweb.c:329
   11.29  #, fuzzy
   11.30  msgid "Edit bookmarks"
   11.31  msgstr "加入書簽"
   11.32  
   11.33 -#: src/tazweb.c:346
   11.34 +#: src/tazweb.c:341
   11.35  msgid "Print this page"
   11.36  msgstr "列印本頁"
   11.37  
   11.38 -#: src/tazweb.c:353
   11.39 +#: src/tazweb.c:348
   11.40  msgid "View source mode"
   11.41  msgstr "源代碼檢視模式"
   11.42  
   11.43 -#: src/tazweb.c:365
   11.44 +#: src/tazweb.c:360
   11.45  msgid "View cookies"
   11.46  msgstr ""
   11.47  
   11.48 -#: src/tazweb.c:371
   11.49 +#: src/tazweb.c:366
   11.50  msgid "Clean all cookies"
   11.51  msgstr ""
   11.52  
   11.53 -#: src/tazweb.c:383
   11.54 +#: src/tazweb.c:378
   11.55  msgid "TazWeb manual"
   11.56  msgstr "TazWeb 手冊"
   11.57  
   11.58 -#: src/tazweb.c:390
   11.59 +#: src/tazweb.c:385
   11.60  msgid "Quit TazWeb"
   11.61  msgstr "離開 TazWeb"
   11.62  
   11.63 -#: lib/helper.sh:93 lib/helper.sh:103
   11.64 +#: lib/helper.sh:79
   11.65 +#, fuzzy
   11.66 +msgid "%d bookmark"
   11.67 +msgid_plural "%d bookmarks"
   11.68 +msgstr[0] "加入書簽"
   11.69 +msgstr[1] "加入書簽"
   11.70 +
   11.71 +#: lib/helper.sh:94
   11.72  msgid "Cookies"
   11.73  msgstr ""
   11.74  
   11.75 +#: lib/helper.sh:105
   11.76 +msgid "%d cookie"
   11.77 +msgid_plural "%d cookies"
   11.78 +msgstr[0] ""
   11.79 +msgstr[1] ""
   11.80 +
   11.81  #: data/tazweb.desktop.in:4
   11.82  msgid "TazWeb Browser"
   11.83  msgstr ""