Made by APic@IRCnet Licensed under the GNU General Public License Credits to the Author of the original „Drug Wars“, John E. Dell, to the Author of „dopewars“, Ben Webb (benwebb@users.sf.net), and to all Contributors (listed in „AUTHORS“ in the Source Tree) diff --git dopewars-1.6.2/po/de.po b/po/de.po index 701bbe4..accf9dd 100644 --- a/po/de.po +++ b/po/de.po @@ -741,7 +741,7 @@ msgstr "Kokain" #: src/dopewars.c:720 msgid "Hashish" -msgstr "Haschisch" +msgstr "Hasch" #: src/dopewars.c:721 msgid "The Marrakesh Express has arrived!" @@ -753,7 +753,7 @@ msgstr "Heroin" #: src/dopewars.c:723 msgid "Ludes" -msgstr "Medikamente" +msgstr "Tavor" #: src/dopewars.c:724 msgid "Rival drug dealers raided a pharmacy and are selling cheap ludes!" @@ -779,7 +779,7 @@ msgstr "Peyote" #: src/dopewars.c:729 msgid "Shrooms" -msgstr "Shrooms" +msgstr "Pilze" #: src/dopewars.c:730 msgid "Speed" diff --git dopewars-1.6.2/src/curses_client/curses_client.c b/src/curses_client/curses_client.c index 3ea2efa..0866a29 100644 --- a/src/curses_client/curses_client.c +++ b/src/curses_client/curses_client.c @@ -2113,10 +2113,11 @@ void print_status(Player *Play, gboolean DispDrug) /* Display of carried drugs with price (%tde="Opium", etc. by default) */ if (HaveAbility(Play, A_DRUGVALUE)) { - dpg_string_printf(text, _("%-7tde %3d @ %P"), Drug[i].Name, + dpg_string_printf(text, _("%-7tde %3d @ %P %3d%%"), Drug[i].Name, Play->Drugs[i].Carried, Play->Drugs[i].TotalValue / - Play->Drugs[i].Carried); + Play->Drugs[i].Carried, + (Play->Drugs[i].TotalValue /Play->Drugs[i].Carried) * 100 / Drug[i].MaxPrice); mvaddstr(3 + c, Width / 2 + 3, text->str); } else { /* Display of carried drugs (%tde="Opium", etc. by default) */ @@ -2394,7 +2395,7 @@ static void DisplayDrugsHere(Player *Play) GString *str = g_string_new(NULL); /* List of individual drug names for selection (%tde="Opium" etc. by default) */ - dpg_string_printf(str, _("%/Drug Select/%c. %tde"), 'A' + c, Drug[i].Name); + dpg_string_printf(str, _("%/Drug Select/%c. %3d%% %tde "), 'A' + c, Play->Drugs[i].Price * 100 / Drug[i].MaxPrice, Drug[i].Name); g_string_pad_or_truncate_to_charlen(str, 22 - strcharlen(price)); g_string_append(str, price); g_free(price);