gnucash-htdocs beta: Multiple changes pushed

Frank H.Ellenberger fell at code.gnucash.org
Fri Jan 15 22:38:30 EST 2021


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/df06f88e (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/9663e46e (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/0e2e9001 (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/e58ea220 (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/10de77d4 (commit)
	 via  https://github.com/Gnucash/gnucash-htdocs/commit/5ce9e905 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/268a51f4 (commit)



commit df06f88e69c51898ee9fcee91475c60444e32835
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jan 16 04:24:39 2021 +0100

    clean css cascade

diff --git a/externals/gnucash.css b/externals/gnucash.css
index af714ad..4be4b92 100644
--- a/externals/gnucash.css
+++ b/externals/gnucash.css
@@ -587,29 +587,24 @@ h2.download-title {
 
 #socialbuttons {
    position:fixed;
+   padding:5px;
+   right:0;
+   top:120px;
+   width:55px;
    background-color:#7F7FAA;
    border-bottom:1px solid #CACAF7;
    border-left:1px solid #CACAF7;
    border-top:1px solid #CACAF7;
    border-radius:10px 0 0 10px;
    box-shadow: 0px 0px 8px silver;
-   padding:5px;
-   right:0;
-   top:120px;
-   width:55px;
 }
 
 #socialbuttons:hover {
-   position:fixed;
    background-color:#CACAF7;
    border-bottom:1px solid #7F7FAA;
    border-left:1px solid #7F7FAA;
    border-top:1px solid #7F7FAA;
-   border-radius:10px 0 0 10px;
    box-shadow: 0px 0px 8px black;
-   padding:5px;
-   right:0;
-   top:120px;
 }
 
 #navlist{

commit 9663e46e3a001680cc34272c36aa0ce8528b5738
Merge: e58ea22 0e2e900
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jan 16 04:36:50 2021 +0100

    Merge branch 'master' into beta


commit 0e2e9001a996c812074e4b2e3298b1547f36378b
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jan 16 04:33:08 2021 +0100

    make he.mo

diff --git a/locale/he/LC_MESSAGES/gnucash-htdocs.mo b/locale/he/LC_MESSAGES/gnucash-htdocs.mo
index 4c8653d..3428b00 100644
Binary files a/locale/he/LC_MESSAGES/gnucash-htdocs.mo and b/locale/he/LC_MESSAGES/gnucash-htdocs.mo differ

commit e58ea2209eace7bebe46e6b2a2fecb78e4e43344
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jan 16 04:25:48 2021 +0100

    Remove duplicate en from supported_languages
    
    to use the list in foreach clausels.
    lang="C" should be covered by default

diff --git a/lang.php b/lang.php
index 9fcbf99..54a186a 100644
--- a/lang.php
+++ b/lang.php
@@ -32,6 +32,7 @@ if (array_key_exists('lang', $_GET)) { $locale = $_GET["lang"]; }
 $supported_languages = array(
         'ca_ES' => 'ca',
         'de_DE' => 'de',
+        'en_US' => 'en',
 //        'es_ES' => 'es',
         'fr_FR' => 'fr',
         'he_IL' => 'he',
@@ -45,9 +46,7 @@ $supported_languages = array(
 //        'pl_PL' => 'pl',
         'pt_PT' => 'pt',
         'zh_CN' => 'zh_CN', 
-        'zh_TW' => 'zh_TW',
-        'en_US' => 'en',
-        'C' => 'en'
+        'zh_TW' => 'zh_TW'
         );
 
 # Find the full locale name for short language name.
@@ -70,6 +69,10 @@ if ($locale == "") {
         {
                 # tolower() => remove space => '-' -> '_'
                 # "fr-ch;q=0.3, en, zh-cn;q=0.7" => "fr_ch;q=0.3,en,zh_cn;q=0.7"
+                /* Todo: use Locale::canonicalize ( string $locale ) : string instead
+                 * See https://www.php.net/manual/en/locale.canonicalize.php
+                 * Full description: https://unicode-org.github.io/icu/userguide/locale/#canonicalization
+                 * if ICU is installed on the server */
                 $languages = str_replace('-','_', str_replace(' ', '', strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE'])));
                 $languages = explode(",", $languages);
                 foreach ($languages as $item)

commit 10de77d477c59c63fa907d2dd0fdee130d886faa
Author: Avi Markovitz <avi.markovitz at gmail.com>
Date:   Fri Jan 15 11:32:07 2021 +0100

    Translation update  by Avi Markovitz <avi.markovitz at gmail.com> using Weblate
    
    po/he.po: 85.5% (342 of 400 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Website (Hebrew)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/website/he/
    
    Co-authored-by: Avi Markovitz <avi.markovitz at gmail.com>

diff --git a/po/he.po b/po/he.po
index 320bd8f..7e4ddc8 100644
--- a/po/he.po
+++ b/po/he.po
@@ -7,10 +7,10 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: gnucash-htdocs\n"
-"Report-Msgid-Bugs-To: https://bugs.gnucash.org/buglist.cgi?"
-"component=Translations&product=Website&resolution=---\n"
+"Report-Msgid-Bugs-To: https://bugs.gnucash.org/buglist."
+"cgi?component=Translations&product=Website&resolution=---\n"
 "POT-Creation-Date: 2021-01-15 00:07+0100\n"
-"PO-Revision-Date: 2021-01-13 11:32+0000\n"
+"PO-Revision-Date: 2021-01-15 10:32+0000\n"
 "Last-Translator: Avi Markovitz <avi.markovitz at gmail.com>\n"
 "Language-Team: Hebrew <https://hosted.weblate.org/projects/gnucash/website/"
 "he/>\n"
@@ -19,7 +19,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Weblate 4.4.1-dev\n"
+"X-Generator: Weblate 4.5-dev\n"
 
 #: 2.6-release-tour.phtml:3
 msgid "GnuCash 2.6 release tour"
@@ -1629,6 +1629,9 @@ msgid ""
 "these enable you to generate reports, such as Profit & Loss, that plain-"
 "vanilla systems cannot handle."
 msgstr ""
+"סוגי חשבונות הכנסה / הוצאה (סוגי-אב) מאפשרים לסווג את תזרים המזומנים שלכם. "
+"כאשר משתמשים בהם כהלכה עם תכונת הרישום הכפול וחשבונות ההון, הם יאפשרו ליצור "
+"דוחות, כגון הפסד או הפסד, שמערכות שלא תוגדרו מראש, לא יכולות להתמודד איתן."
 
 #: features.phtml:124
 msgid "Small Business Accounting Features"
@@ -1711,6 +1714,10 @@ msgid ""
 "financial data can be stored in a <b>SQL database</b> using <b>SQLite3</b>, "
 "<b>MySQL</b> or <b>PostgreSQL</b>."
 msgstr ""
+"<span class=\"gnucash\"> גנוקאש</span> מאחסנת כברירת מחדל נתונים בתבנית "
+"<b>xml</b>. החל מגירסה 2.4, ניתן לאחסן את הנתונים הכספיים <span class="
+"\"gnucash\">בגנוקאש</span> במסד נתונים <b>SQL</b> הבאים: <b>SQLite3</b>, "
+"<b>MySQL</b> או <b>PostgreSQL</b>."
 
 #: features.phtml:170
 msgid ""

commit 5ce9e90563966684efbeb0eb311b2600ff49f203
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Fri Jan 15 03:07:09 2021 +0100

    Add missing page "parameter"

diff --git a/2.6-release-tour.phtml b/2.6-release-tour.phtml
index 5f891c6..a6b9897 100644
--- a/2.6-release-tour.phtml
+++ b/2.6-release-tour.phtml
@@ -2,6 +2,7 @@
 include("lang.php");
 $title = T_("GnuCash 2.6 release tour");
 $description = T_("This tour will introduce you to new major features in <span class=\"gnucash\">GnuCash</span> 2.6.");
+$page = $_SERVER['PHP_SELF'];
 include("emulate_globals_on.php");
 include("$top_dir/externals/header.phtml");
 include("$top_dir/externals/menu.phtml");
diff --git a/docs.phtml b/docs.phtml
index 3a89024..b5dad0b 100644
--- a/docs.phtml
+++ b/docs.phtml
@@ -9,6 +9,7 @@
   include("lang.php");
   $title = T_("Documentation");
   $description = T_("The following links are to the <strong>English HTML editions of the current stable branch</strong> documentation. See further down the page for other <span class=\"gnucash\">GnuCash</span> versions, languages, and formats.");
+  $page = $_SERVER['PHP_SELF'];
   $online = T_("Browse documentation online");
   $pdf = T_("Download documentation as PDF");
   $epub = T_("Download documentation as epub");



Summary of changes:
 2.6-release-tour.phtml                  |   1 +
 docs.phtml                              |   1 +
 externals/gnucash.css                   |  13 ++++---------
 lang.php                                |   9 ++++++---
 locale/he/LC_MESSAGES/gnucash-htdocs.mo | Bin 71254 -> 72546 bytes
 po/he.po                                |  15 +++++++++++----
 6 files changed, 23 insertions(+), 16 deletions(-)



More information about the gnucash-changes mailing list