From 0368d29b7352492e0a4dfb7979fda7ca463a2130 Mon Sep 17 00:00:00 2001 From: Bukowski Date: Thu, 21 Dec 2023 15:52:26 +0100 Subject: [PATCH 1/3] Upload Czech translate --- .../files/cryptocoin@guantanamoe/po/cs.po | 266 ++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po diff --git a/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po new file mode 100644 index 00000000000..ca4454f40ba --- /dev/null +++ b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po @@ -0,0 +1,266 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-08-12 12:09+0800\n" +"PO-Revision-Date: 2023-12-21 09:30+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 ? 1 : 2);\n" +"X-Generator: Poedit 3.0.1\n" + +#. cryptocoin@guantanamoe->metadata.json->description +msgid "Monitor current price and trends of cryptocurrencies" +msgstr "Sledujte aktuální ceny a trendy kryptoměn" + +#. cryptocoin@guantanamoe->metadata.json->name +msgid "Cryptocoin" +msgstr "Cryptoměna" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->general-page->title +#. settings-schema.json->general-page->title +msgid "General" +msgstr "Obecné" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->graph-page->title +#. cryptocoin@guantanamoe->settings-schema.json->layout->graph-section->title +#. settings-schema.json->graph-page->title +#. settings-schema.json->graph-section->title +msgid "Graph" +msgstr "Graf" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->alerts-page->title +#. cryptocoin@guantanamoe->settings-schema.json->layout->alerts-section->title +#. settings-schema.json->alerts-page->title +#. settings-schema.json->alerts-section->title +msgid "Alerts" +msgstr "Upozornění" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->currency- +#. section->title +#. cryptocoin@guantanamoe->settings-schema.json->currency->description +#. settings-schema.json->currency-section->title +#. settings-schema.json->advanced-currency-section->title +msgid "Currency" +msgstr "Měna" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->alerts-config->title +#. settings-schema.json->alerts-config->title +msgid "Config" +msgstr "Nastavení" + +#. cryptocoin@guantanamoe->settings-schema.json->layout->alerts-delta- +#. section->title +#. settings-schema.json->alerts-delta-section->title +msgid "Delta Alerts" +msgstr "Delta upozonění" + +#. cryptocoin@guantanamoe->settings-schema.json->currency->tooltip +msgid "Set the currency you want coin value to be set in" +msgstr "Nastavte měnu, ve které chcete nastavit hodnotu mince" + +#. cryptocoin@guantanamoe->settings-schema.json->ticker->description +msgid "Ticker" +msgstr "Ticker" + +#. cryptocoin@guantanamoe->settings-schema.json->ticker->tooltip +msgid "Set the crypto currency ticker" +msgstr "Nastavte ticker kryptoměny" + +#. cryptocoin@guantanamoe->settings-schema.json->show-ticker-icon->description +msgid "Ticker Icon" +msgstr "Ikona tickeru" + +#. cryptocoin@guantanamoe->settings-schema.json->show-ticker-name->description +msgid "Ticker Name" +msgstr "Název tickeru" + +#. cryptocoin@guantanamoe->settings-schema.json->show-currency->description +msgid "Show Currency" +msgstr "Zobrazit měnu" + +#. cryptocoin@guantanamoe->settings-schema.json->show-currency->options->Name +msgid "name" +msgstr "jméno" + +#. cryptocoin@guantanamoe->settings-schema.json->show- +#. currency->options->Symbol +msgid "symbol" +msgstr "symbol" + +#. cryptocoin@guantanamoe->settings-schema.json->show-currency->options->None +msgid "none" +msgstr "none" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-unit->description +msgid "Unit for Graph History" +msgstr "Jednotka pro historii grafů" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-unit->options +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta-unit->options +msgid "Minutes" +msgstr "Minuty" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-unit->options +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta-unit->options +msgid "Hours" +msgstr "Hodiny" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-unit->options +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta-unit->options +msgid "Days" +msgstr "Dny" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-length->description +msgid "Graph History Length" +msgstr "Délka historie grafu" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-width->description +msgid "Graph Popup Width" +msgstr "Šířka vyskakovacího okna grafu" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-height->description +msgid "Graph Popup Height" +msgstr "Výška vyskakovacího okna grafu" + +#. cryptocoin@guantanamoe->settings-schema.json->graph-color->description +msgid "The Graph Foreground Color" +msgstr "Barva popředí grafu" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-enable->description +msgid "Enable alerts" +msgstr "Povolit upozornění" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-any-change->description +msgid "Any change" +msgstr "Jakákoliv změna" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-label- +#. color->description +msgid "Label color" +msgstr "Barva štítku" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-above->description +msgid "Absolute maximum (money)" +msgstr "Absolutní maximum (peníze)" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-above->tooltip +msgid "Alert when current value is above this value" +msgstr "Upozornit, když je aktuální hodnota nad touto hodnotou" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-below->description +msgid "Absolute minimum (money)" +msgstr "Absolutní minimum (peníze)" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-below->tooltip +msgid "Alert when current value is below this value" +msgstr "Upozorněnit, když je aktuální hodnota pod touto hodnotou" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-delta- +#. above->description +msgid "Increase variation (%)" +msgstr "Zvýšit variaci (%)" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-delta-above->tooltip +msgid "Alert when value increase this delta %" +msgstr "Upozornit, když se hodnota zvýší o toto delta %" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-delta- +#. below->description +msgid "Decrease variation (%)" +msgstr "Snížit variaci (%)" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-on-delta-below->tooltip +msgid "Alert when value decrease this delta %" +msgstr "Upozornit, když hodnota klesne o toto delta %" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta- +#. length->description +msgid "Delta interval" +msgstr "Delta interval" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta-unit->description +msgid "Unit of interval" +msgstr "Jednotka intervalu" + +#. cryptocoin@guantanamoe->settings-schema.json->alert-delta-update- +#. interval->description +msgid "Update interval" +msgstr "Interval aktualizace" + +#. settings-schema.json->advanced-page->title +msgid "Advanced" +msgstr "Pokročilě" + +#. settings-schema.json->amount->description +msgid "Amount" +msgstr "Množství" + +#. settings-schema.json->amount->tooltip +msgid "Set the balance to multiply the price" +msgstr "Nastavte hodnotu pro násobení ceny" + +#. settings-schema.json->show-currency->options +msgid "Name" +msgstr "Název" + +#. settings-schema.json->show-currency->options +msgid "Symbol" +msgstr "Symbol" + +#. settings-schema.json->show-currency->options +msgid "None" +msgstr "Žádný" + +#. settings-schema.json->rates-update-interval->description +msgid "Rates update interval (in seconds)" +msgstr "Interval aktualizace (v sekundách)" + +#. settings-schema.json->rates-update-interval->tooltip +msgid "Set the delay between each rates update." +msgstr "Nastavte prodlevu mezi jednotlivými aktualizacemi." + +#. settings-schema.json->graph-type->description +msgid "Graph Type" +msgstr "Typ grafu" + +#. settings-schema.json->graph-type->options +msgid "Candlestick" +msgstr "Svíčka" + +#. settings-schema.json->graph-type->options +msgid "Line" +msgstr "Čára" + +#. settings-schema.json->graph-color->description +msgid "Graph Foreground Color" +msgstr "Barva pozedí grafu" + +#. settings-schema.json->alert-delta-update-interval->units +msgid "seconds" +msgstr "sekundy" + +#. settings-schema.json->currency-format-enable->description +msgid "Custom format" +msgstr "Vlastní formát" + +#. settings-schema.json->currency-format-symbol->description +msgid "Currency symbol" +msgstr "Symbol měny" + +#. settings-schema.json->currency-format-name->description +msgid "Currency name" +msgstr "Název měny" + +#. settings-schema.json->currency-format-precision->description +msgid "Decimal places" +msgstr "Počet desetinných míst" From 5b2caa087563bcc0650d4cdca4c480ef6840d8a1 Mon Sep 17 00:00:00 2001 From: Bukowski Date: Sat, 23 Dec 2023 17:54:52 +0100 Subject: [PATCH 2/3] Make red-green candlestick chart --- .../files/cryptocoin@guantanamoe/applet.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/applet.js b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/applet.js index 40a5cc5fb3e..1fcc2e00e04 100644 --- a/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/applet.js +++ b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/applet.js @@ -190,6 +190,11 @@ MyApplet.prototype = { const close = (height - 20)*((data.close - minLow)/delta); const x = step / 2 + step * index; const top = height - 10; + if (data.close < data.open) { + var [res, color] = Clutter.Color.from_string('#FF0000'); + } else { + var [res, color] = Clutter.Color.from_string('#00FF00'); + } cr.setSourceRGBA(color.red/255, color.green/255, color.blue/255, 1) cr.moveTo(x, top - low); cr.setLineWidth(1); From 2b8d526dd135fba3b4652a95c737f7f9b318ae39 Mon Sep 17 00:00:00 2001 From: Bukowski Date: Sat, 23 Dec 2023 17:56:19 +0100 Subject: [PATCH 3/3] Update cs.po translation correction --- cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po index ca4454f40ba..491b1fa8cf4 100644 --- a/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po +++ b/cryptocoin@guantanamoe/files/cryptocoin@guantanamoe/po/cs.po @@ -243,7 +243,7 @@ msgstr "Čára" #. settings-schema.json->graph-color->description msgid "Graph Foreground Color" -msgstr "Barva pozedí grafu" +msgstr "Barva grafu" #. settings-schema.json->alert-delta-update-interval->units msgid "seconds"