Skip to content

Commit

Permalink
fixes the problem
Browse files Browse the repository at this point in the history
that caused a crash when the software asked for the value of rewards
  • Loading branch information
Yakonche committed Mar 14, 2021
1 parent 71947f7 commit b3439a9
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 86 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ __pycache__/
# Editors
.*.swp
.*.swo
.idea/
.idea/

# Batchs
.bat
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Running from Python sources

* Python 3.7 - (https://www.python.org/downloads)
* Pip - (https://bootstrap.pypa.io/get-pip.py) Save as then enter the following command : python get-pip.py
* Python 3 dependencies - `pip install -r requirements.txt` or just double click on autoinstallrequirements.bat
* Python 3 dependencies - `pip install -r requirements.txt`

### Running

Expand All @@ -34,12 +34,12 @@ Running from Python sources

`pip install -r requirements.txt`

`python rc_profit_calc.py` or just double click on autolaunchsoftware.bat
`python rc_profit_calc.py`

Building
--------

You can build a binary release for distribution by double clicking on autobuild.bat or with the command :
You can build a binary release for distribution with the command :

`python setup.py build`

Expand Down
1 change: 1 addition & 0 deletions autotranslate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python setup.py extract_messages update_catalogs compile_catalogs
45 changes: 24 additions & 21 deletions locale/en_GB/LC_MESSAGES/rc_profit_calc.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rollercoin Profit Calculator 0.1.0\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2021-03-14 14:53+0100\n"
"POT-Creation-Date: 2021-03-15 00:19+0100\n"
"PO-Revision-Date: 2021-03-14 14:53+0100\n"
"Last-Translator: \n"
"Language: en_GB\n"
Expand All @@ -19,70 +19,73 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

#: rc_profit_calc.py:33
#: rc_profit_calc.py:35
msgid "usd"
msgstr "gbp"

#: rc_profit_calc.py:34
#: rc_profit_calc.py:36
msgid "$"
msgstr "£"

#: rc_profit_calc.py:78
#: rc_profit_calc.py:80
#, fuzzy
msgid ""
"\n"
" Enter your hashrate (TH/s) : "
msgstr ""
""
""

#: rc_profit_calc.py:96
#: rc_profit_calc.py:98
#, fuzzy
msgid " Enter the {} network power (EH/s) : "
msgstr ""

#: rc_profit_calc.py:104
#, fuzzy
msgid " Enter the {} reward [default - {}] : "
msgstr ""

#: rc_profit_calc.py:133
#: rc_profit_calc.py:134
msgid ""
" {} is the most profitable cryptocurrency to mine.\n"
" {:.2f} {} of income per block.\n"
" Or {} {} per block.\n"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "hour"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "day"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "week"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "month"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "year"
msgstr ""

#: rc_profit_calc.py:146
#: rc_profit_calc.py:147
msgid " This is around :"
msgstr ""

#: rc_profit_calc.py:150
#: rc_profit_calc.py:151
msgid " {:.2f} {} per {}, or {} {}"
msgstr ""

#: rc_profit_calc.py:160
#: rc_profit_calc.py:161
msgid ""
"\n"
" Press the Enter key to close the window.\n"
" "
msgstr ""

#~ msgid " Enter the {} reward [default - {}] : "
#~ msgstr ""

#~ msgid ""
#~ "\n"
#~ " Press the Enter key to close the window.\n"
#~ msgstr ""

41 changes: 23 additions & 18 deletions locale/en_US/LC_MESSAGES/rc_profit_calc.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rollercoin Profit Calculator 0.0.5\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-03-14 14:53+0100\n"
"POT-Creation-Date: 2021-03-15 00:19+0100\n"
"PO-Revision-Date: 2021-03-14 09:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en_US\n"
Expand All @@ -19,67 +19,64 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

#: rc_profit_calc.py:33
#: rc_profit_calc.py:35
msgid "usd"
msgstr ""

#: rc_profit_calc.py:34
#: rc_profit_calc.py:36
msgid "$"
msgstr ""

#: rc_profit_calc.py:78
#: rc_profit_calc.py:80
msgid ""
"\n"
" Enter your hashrate (TH/s) : "
msgstr ""

#: rc_profit_calc.py:96
#: rc_profit_calc.py:98
msgid " Enter the {} network power (EH/s) : "
msgstr ""

#: rc_profit_calc.py:104
msgid " Enter the {} reward [default - {}] : "
msgstr ""

#: rc_profit_calc.py:133
#: rc_profit_calc.py:134
msgid ""
" {} is the most profitable cryptocurrency to mine.\n"
" {:.2f} {} of income per block.\n"
" Or {} {} per block.\n"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "hour"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "day"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "week"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "month"
msgstr ""

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "year"
msgstr ""

#: rc_profit_calc.py:146
#: rc_profit_calc.py:147
msgid " This is around :"
msgstr ""

#: rc_profit_calc.py:150
#: rc_profit_calc.py:151
msgid " {:.2f} {} per {}, or {} {}"
msgstr ""

#: rc_profit_calc.py:160
#: rc_profit_calc.py:161
msgid ""
"\n"
" Press the Enter key to close the window.\n"
" "
msgstr ""

#~ msgid ""
Expand Down Expand Up @@ -130,3 +127,11 @@ msgstr ""
#~ msgid " Enter the {} reward [default - {}]: "
#~ msgstr ""

#~ msgid " Enter the {} reward [default - {}] : "
#~ msgstr ""

#~ msgid ""
#~ "\n"
#~ " Press the Enter key to close the window.\n"
#~ msgstr ""

43 changes: 24 additions & 19 deletions locale/fr_FR/LC_MESSAGES/rc_profit_calc.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rollercoin Profit Calculator 0.1.0\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2021-03-14 14:53+0100\n"
"POT-Creation-Date: 2021-03-15 00:19+0100\n"
"PO-Revision-Date: 2021-03-14 09:24+0000\n"
"Last-Translator: Yakonche <[email protected]>\n"
"Language: fr_FR\n"
Expand All @@ -19,31 +19,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.0\n"

#: rc_profit_calc.py:33
#: rc_profit_calc.py:35
msgid "usd"
msgstr "eur"

#: rc_profit_calc.py:34
#: rc_profit_calc.py:36
msgid "$"
msgstr "€"

#: rc_profit_calc.py:78
#: rc_profit_calc.py:80
msgid ""
"\n"
" Enter your hashrate (TH/s) : "
msgstr ""
"\n"
" Entrez votre hashrate (TH/s) : "

#: rc_profit_calc.py:96
#: rc_profit_calc.py:98
msgid " Enter the {} network power (EH/s) : "
msgstr " Entrez la puissance du réseau {} (EH/s) : "

#: rc_profit_calc.py:104
msgid " Enter the {} reward [default - {}] : "
msgstr " Entrez la récompense pour le {} [défaut - {}] : "

#: rc_profit_calc.py:133
#: rc_profit_calc.py:134
msgid ""
" {} is the most profitable cryptocurrency to mine.\n"
" {:.2f} {} of income per block.\n"
Expand All @@ -53,38 +49,47 @@ msgstr ""
" Soit {:.2f} {} de revenu par bloc.\n"
" Ou {} {} par bloc.\n"

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "hour"
msgstr "heure"

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "day"
msgstr "jour"

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "week"
msgstr "semaine"

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "month"
msgstr "mois"

#: rc_profit_calc.py:142
#: rc_profit_calc.py:143
msgid "year"
msgstr "an"

#: rc_profit_calc.py:146
msgid " Ce qui donne environ :"
#: rc_profit_calc.py:147
msgid " This is around :"
msgstr ""

#: rc_profit_calc.py:150
#: rc_profit_calc.py:151
msgid " {:.2f} {} per {}, or {} {}"
msgstr " {:.2f} {} par {}, ou {} {}"

#: rc_profit_calc.py:160
#: rc_profit_calc.py:161
#, fuzzy
msgid ""
"\n"
" Press the Enter key to close the window.\n"
" "
msgstr ""
"\n"
" Appuyez sur la touche Entrée pour fermer la fenêtre.\n"

#~ msgid " Enter the {} reward [default - {}] : "
#~ msgstr " Entrez la récompense pour le {} [défaut - {}] : "

#~ msgid " Ce qui donne environ :"
#~ msgstr ""

Loading

0 comments on commit b3439a9

Please sign in to comment.