Skip to content
This repository
Browse code

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

…sh to Personal page.
  • Loading branch information...
commit 60e1622ff352e2f3535e2a4ba6068b98b12e9dcc 1 parent c45cdc0
Krzysztof authored September 23, 2012
4  data/lang/English.txt
@@ -500,8 +500,8 @@ N_LIGHT_YEARS_N_MAX
500 500
     %distance{f.1} light years (%maxdistance{f.1} max)
501 501
 SHIP_INFORMATION
502 502
     Ship information
503  
-REPUTATION
504  
-    Reputation
  503
+PERSONAL
  504
+    Personal
505 505
 MISSIONS
506 506
     Missions
507 507
 SHIFT
10  data/lang/Polski.txt
@@ -220,10 +220,12 @@ WINDOW_OR_FULLSCREEN
220 220
     Okno lub pełny ekran (wymagany restart)
221 221
 FULL_SCREEN
222 222
     Pełny ekran
  223
+COMPRESS_TEXTURES
  224
+    Kompresja Tekstur
223 225
 OTHER_GRAPHICS_SETTINGS
224  
-    Inne ustawienia graficzne
  226
+    Inne ustawienia graficzne (wymagany restart)
225 227
 USE_SHADERS
226  
-    Użyj cieniowania (wymagany restart)
  228
+    Użyj cieniowania
227 229
 SOUND_SETTINGS
228 230
     Ustawienia dźwięku
229 231
 VOL_MASTER
@@ -498,8 +500,8 @@ N_LIGHT_YEARS_N_MAX
498 500
     %distance{f.1} lat świetlnych (%maxdistance{f.1} maks.)
499 501
 SHIP_INFORMATION
500 502
     Informacje o statku
501  
-REPUTATION
502  
-    Reputacja
  503
+PERSONAL
  504
+    Osobiste
503 505
 MISSIONS
504 506
     Misje
505 507
 SHIFT
8  src/InfoView.cpp
@@ -197,11 +197,13 @@ class PersonalPage: public InfoViewPage {
197 197
 		const float YSEP = Gui::Screen::GetFontHeight() * 1.2f;
198 198
 		DeleteAllChildren();
199 199
 
200  
-		float ypos = 40.0f;
  200
+		float ypos = 16.0f;
  201
+		Add ((new Gui::Label(stringf(Lang::CASH)+": "+std::string(format_money(Pi::player->GetMoney()))))->Shadow(true), 40 ,ypos);
  202
+		ypos = 56.0f;
201 203
 		Add((new Gui::Label(Lang::COMBAT_RATING))->Shadow(true), 40, ypos);
202 204
 		Add(new Gui::Label(Pi::combatRating[ Pi::CombatRating(Pi::player->GetKillCount()) ]), 40, ypos+YSEP);
203 205
 
204  
-		ypos = 160.0f;
  206
+		ypos = 176.0f;
205 207
 		Add((new Gui::Label(Lang::CRIMINAL_RECORD))->Shadow(true), 40, ypos);
206 208
 		for (int i=0; i<64; i++) {
207 209
 			if (!(crime & (Uint64(1)<<i))) continue;
@@ -373,7 +375,7 @@ InfoView::InfoView(): View(),
373 375
 
374 376
 	page = new PersonalPage(this);
375 377
 	m_pages.push_back(page);
376  
-	m_tabs->AddPage(new Gui::Label(Lang::REPUTATION), page);
  378
+	m_tabs->AddPage(new Gui::Label(Lang::PERSONAL), page);
377 379
 
378 380
 	page = new CargoPage(this);
379 381
 	m_pages.push_back(page);
2  src/LangStrings.inc.h
@@ -249,7 +249,7 @@ DECLARE_STRING(HYPERSPACE_RANGE)
249 249
 DECLARE_STRING(NO_MOUNTING)
250 250
 DECLARE_STRING(N_LIGHT_YEARS_N_MAX)
251 251
 DECLARE_STRING(SHIP_INFORMATION)
252  
-DECLARE_STRING(REPUTATION)
  252
+DECLARE_STRING(PERSONAL)
253 253
 DECLARE_STRING(MISSIONS)
254 254
 DECLARE_STRING(SHIFT)
255 255
 DECLARE_STRING(CTRL)

0 notes on commit 60e1622

Please sign in to comment.
Something went wrong with that request. Please try again.