Permalink
Browse files

Rename string REPUTATION > PERSONAL, up English & Polski.txt, add $Ca…

…sh to Personal page.
  • Loading branch information...
1 parent c45cdc0 commit 60e1622ff352e2f3535e2a4ba6068b98b12e9dcc @radius75 radius75 committed Sep 23, 2012
Showing with 14 additions and 10 deletions.
  1. +2 −2 data/lang/English.txt
  2. +6 −4 data/lang/Polski.txt
  3. +5 −3 src/InfoView.cpp
  4. +1 −1 src/LangStrings.inc.h
View
4 data/lang/English.txt
@@ -500,8 +500,8 @@ N_LIGHT_YEARS_N_MAX
%distance{f.1} light years (%maxdistance{f.1} max)
SHIP_INFORMATION
Ship information
-REPUTATION
- Reputation
+PERSONAL
+ Personal
MISSIONS
Missions
SHIFT
View
10 data/lang/Polski.txt
@@ -220,10 +220,12 @@ WINDOW_OR_FULLSCREEN
Okno lub pełny ekran (wymagany restart)
FULL_SCREEN
Pełny ekran
+COMPRESS_TEXTURES
+ Kompresja Tekstur
OTHER_GRAPHICS_SETTINGS
- Inne ustawienia graficzne
+ Inne ustawienia graficzne (wymagany restart)
USE_SHADERS
- Użyj cieniowania (wymagany restart)
+ Użyj cieniowania
SOUND_SETTINGS
Ustawienia dźwięku
VOL_MASTER
@@ -498,8 +500,8 @@ N_LIGHT_YEARS_N_MAX
%distance{f.1} lat świetlnych (%maxdistance{f.1} maks.)
SHIP_INFORMATION
Informacje o statku
-REPUTATION
- Reputacja
+PERSONAL
+ Osobiste
MISSIONS
Misje
SHIFT
View
8 src/InfoView.cpp
@@ -197,11 +197,13 @@ class PersonalPage: public InfoViewPage {
const float YSEP = Gui::Screen::GetFontHeight() * 1.2f;
DeleteAllChildren();
- float ypos = 40.0f;
+ float ypos = 16.0f;
+ Add ((new Gui::Label(stringf(Lang::CASH)+": "+std::string(format_money(Pi::player->GetMoney()))))->Shadow(true), 40 ,ypos);
+ ypos = 56.0f;
Add((new Gui::Label(Lang::COMBAT_RATING))->Shadow(true), 40, ypos);
Add(new Gui::Label(Pi::combatRating[ Pi::CombatRating(Pi::player->GetKillCount()) ]), 40, ypos+YSEP);
- ypos = 160.0f;
+ ypos = 176.0f;
Add((new Gui::Label(Lang::CRIMINAL_RECORD))->Shadow(true), 40, ypos);
for (int i=0; i<64; i++) {
if (!(crime & (Uint64(1)<<i))) continue;
@@ -373,7 +375,7 @@ InfoView::InfoView(): View(),
page = new PersonalPage(this);
m_pages.push_back(page);
- m_tabs->AddPage(new Gui::Label(Lang::REPUTATION), page);
+ m_tabs->AddPage(new Gui::Label(Lang::PERSONAL), page);
page = new CargoPage(this);
m_pages.push_back(page);
View
2 src/LangStrings.inc.h
@@ -249,7 +249,7 @@ DECLARE_STRING(HYPERSPACE_RANGE)
DECLARE_STRING(NO_MOUNTING)
DECLARE_STRING(N_LIGHT_YEARS_N_MAX)
DECLARE_STRING(SHIP_INFORMATION)
-DECLARE_STRING(REPUTATION)
+DECLARE_STRING(PERSONAL)
DECLARE_STRING(MISSIONS)
DECLARE_STRING(SHIFT)
DECLARE_STRING(CTRL)

0 comments on commit 60e1622

Please sign in to comment.