about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--data/languages/bosnian.txt5
-rw-r--r--data/languages/czech.txt5
-rw-r--r--data/languages/dutch.txt5
-rw-r--r--data/languages/finnish.txt5
-rw-r--r--data/languages/french.txt5
-rw-r--r--data/languages/german.txt5
-rw-r--r--data/languages/italian.txt5
-rw-r--r--data/languages/polish.txt5
-rw-r--r--data/languages/portuguese.txt5
-rw-r--r--data/languages/romanian.txt5
-rw-r--r--data/languages/russian.txt5
-rw-r--r--data/languages/serbian.txt5
-rw-r--r--data/languages/spanish.txt5
-rw-r--r--data/languages/swedish.txt464
-rw-r--r--data/languages/ukrainian.txt5
-rw-r--r--src/game/client/components/menus.cpp7
16 files changed, 295 insertions, 246 deletions
diff --git a/data/languages/bosnian.txt b/data/languages/bosnian.txt
index 0871b809..dcb1f2ce 100644
--- a/data/languages/bosnian.txt
+++ b/data/languages/bosnian.txt
@@ -588,6 +588,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -633,7 +636,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/czech.txt b/data/languages/czech.txt
index 82cada4c..1248c51a 100644
--- a/data/languages/czech.txt
+++ b/data/languages/czech.txt
@@ -573,6 +573,9 @@ Please balance teams!
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -627,7 +630,7 @@ Sudden Death
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/dutch.txt b/data/languages/dutch.txt
index 7f51bbdd..c098a524 100644
--- a/data/languages/dutch.txt
+++ b/data/languages/dutch.txt
@@ -609,6 +609,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 Remove
 == 
 
@@ -639,7 +642,7 @@ Size:
 Spectator mode
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/finnish.txt b/data/languages/finnish.txt
index d94c41ca..9164cf8a 100644
--- a/data/languages/finnish.txt
+++ b/data/languages/finnish.txt
@@ -582,6 +582,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -630,7 +633,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/french.txt b/data/languages/french.txt
index f9c40910..c0d0a6b4 100644
--- a/data/languages/french.txt
+++ b/data/languages/french.txt
@@ -600,6 +600,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 Remove
 == 
 
@@ -636,7 +639,7 @@ Spectator mode
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/german.txt b/data/languages/german.txt
index 158092fa..253a22fc 100644
--- a/data/languages/german.txt
+++ b/data/languages/german.txt
@@ -609,6 +609,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 Remove
 == 
 
@@ -639,7 +642,7 @@ Size:
 Spectator mode
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/italian.txt b/data/languages/italian.txt
index 2b83aa15..523d4d6f 100644
--- a/data/languages/italian.txt
+++ b/data/languages/italian.txt
@@ -597,6 +597,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -636,7 +639,7 @@ Spectator mode
 Sudden Death
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/polish.txt b/data/languages/polish.txt
index 2ba8c896..3aed6d23 100644
--- a/data/languages/polish.txt
+++ b/data/languages/polish.txt
@@ -582,6 +582,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -630,7 +633,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/portuguese.txt b/data/languages/portuguese.txt
index 8feaa3db..1d5531d9 100644
--- a/data/languages/portuguese.txt
+++ b/data/languages/portuguese.txt
@@ -582,6 +582,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -630,7 +633,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/romanian.txt b/data/languages/romanian.txt
index 2b4c2da1..293873c7 100644
--- a/data/languages/romanian.txt
+++ b/data/languages/romanian.txt
@@ -609,6 +609,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 Remove
 == 
 
@@ -639,7 +642,7 @@ Size:
 Spectator mode
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/russian.txt b/data/languages/russian.txt
index 2b67f872..203b4fe6 100644
--- a/data/languages/russian.txt
+++ b/data/languages/russian.txt
@@ -585,6 +585,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -630,7 +633,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/serbian.txt b/data/languages/serbian.txt
index 30e9718c..84be1a24 100644
--- a/data/languages/serbian.txt
+++ b/data/languages/serbian.txt
@@ -582,6 +582,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -630,7 +633,7 @@ Stop record
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Time limit: %d min
diff --git a/data/languages/spanish.txt b/data/languages/spanish.txt
index 16e58537..e3e7b8d6 100644
--- a/data/languages/spanish.txt
+++ b/data/languages/spanish.txt
@@ -609,6 +609,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 Remove
 == 
 
@@ -639,7 +642,7 @@ Size:
 Spectator mode
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/data/languages/swedish.txt b/data/languages/swedish.txt
index d0e7e8b7..c72fb917 100644
--- a/data/languages/swedish.txt
+++ b/data/languages/swedish.txt
@@ -1,11 +1,42 @@
+
 ##### translated strings #####
 
+%d Bytes
+== %d Bytes
+
 %d of %d servers, %d players
 == %d av %d servrar, %d spelare
 
+%d%% loaded
+== %d%% laddat
+
+%ds left
+== %d sekunder kvar
+
+%i minute left
+== %i minut kvar
+
+%i minutes left
+== %i minuter kvar
+
+%i second left
+== %i sekund kvar
+
+%i seconds left
+== %i sekunder kvar
+
+-Page %d-
+== -Sida %d-
+
 Abort
 == Avbryt
 
+Add
+== Lägg till
+
+Add Friend
+== Lägg till kompis
+
 Address
 == Adress
 
@@ -18,12 +49,24 @@ Alpha
 Always show name plates
 == Visa alltid namnskyltar
 
+Are you sure that you want to delete the demo?
+== Är du säker på att du vill ta bort detta demo?
+
 Are you sure that you want to quit?
 == Är du säker på att du vill avsluta?
 
+Are you sure that you want to remove the player from your friends list?
+== Är du säker på att du vill ta bort denna spelaren från din kompislista?
+
 As this is the first time you launch the game, please enter your nick name below. It's recommended that you check the settings to adjust them to your liking before joining a server.
 == Detta är första gången du startar spelet, var vänligen skriv in ditt smeknamn här nedanför. Det är rekommenderat att du kontrollera inställningarna och justerar dom till din preferens innan du börjar spela.
 
+Automatically record demos
+== Spela in demon automatiskt
+
+Automatically take game over screenshot
+== Ta automatiska skärmdumpar vid spelens slut
+
 Blue team
 == Blå laget
 
@@ -36,9 +79,18 @@ Body
 Call vote
 == Röstning
 
+Change settings
+== Ändra inställningar
+
 Chat
 == Chatt
 
+Clan
+== Klan
+
+Client
+== Klient
+
 Close
 == Stäng
 
@@ -51,12 +103,27 @@ Connect
 Connecting to
 == Ansluter till
 
+Connection Problems...
+== Anslutningsproblem...
+
 Console
 == Konsol
 
 Controls
 == Kontroller
 
+Count players only
+== Räkna endast spelare
+
+Country
+== Land
+
+Crc:
+== Crc:
+
+Created:
+== Skapad:
+
 Current
 == Nuvarande
 
@@ -66,6 +133,15 @@ Current version: %s
 Custom colors
 == Egna färger
 
+Delete
+== Ta bort
+
+Delete demo
+== Ta bort demo
+
+Demo details
+== Demoinformation
+
 Demos
 == Demon
 
@@ -93,6 +169,12 @@ Emoticon
 Enter
 == Fortsätt
 
+Error
+== Fel
+
+Error loading demo
+== Kunde inte ladda demot
+
 FSAA samples
 == FSAA samplingar
 
@@ -111,6 +193,18 @@ Filter
 Fire
 == Skjuta
 
+Folder
+== Mapp
+
+Force vote
+== Tvinga omröstning
+
+Free-View
+== Friläge
+
+Friends
+== Kompisar
+
 Fullscreen
 == Fullskärm
 
@@ -162,6 +256,9 @@ Info
 Internet
 == Internet
 
+Invalid Demo
+== Ogiltigt deo
+
 Join blue
 == Spela i blått
 
@@ -174,12 +271,18 @@ Join red
 Jump
 == Hoppa
 
+Kick player
+== Kicka spelare
+
 LAN
 == LAN
 
 Language
 == Språk
 
+Length:
+== Längd
+
 Lht.
 == Ljusstyrka
 
@@ -192,6 +295,15 @@ MOTD
 Map
 == Karta
 
+Map:
+== Bana
+
+Max Screenshots
+== Max antal skärmdumpar
+
+Max demos
+== Max antal demon
+
 Maximum ping:
 == Högsta ping:
 
@@ -204,6 +316,9 @@ Mouse sens.
 Move left
 == Gå vänster
 
+Move player to spectators
+== Flytta till åskådarna
+
 Move right
 == Gå höger
 
@@ -216,9 +331,21 @@ Mute when not active
 Name
 == Namn
 
+Name plates size
+== Storlek på namnskyltar
+
+Netversion:
+== Nätversion:
+
+New name:
+== Nytt namn:
+
 News
 == Nyheter
 
+Next
+== Nästa
+
 Next weapon
 == Nästa vapen
 
@@ -240,6 +367,15 @@ No servers match your filter criteria
 Ok
 == Ok
 
+Open
+== Öppna
+
+Page %d of %d
+== Sida %d av %d
+
+Parent Folder
+== Uppliggande mapp
+
 Password
 == Lösenord
 
@@ -258,9 +394,18 @@ Play
 Player
 == Spelare
 
+Player options
+== Spelaralternativ
+
 Players
 == Spelare
 
+Please balance teams!
+== Balansera lagen!
+
+Prev
+== Föregående
+
 Prev. weapon
 == Föregående vapen
 
@@ -273,6 +418,18 @@ Quick search:
 Quit
 == Avsluta
 
+Quit anyway?
+== Avsluta i alla fall?
+
+REC %3d:%02d
+== REC %3d:%02d
+
+Reason:
+== Anledning:
+
+Record demo
+== Spela in demo
+
 Red team
 == Röda laget
 
@@ -288,6 +445,18 @@ Refreshing master servers
 Remote console
 == Serverkonsol
 
+Remove
+== Ta bort
+
+Remove friend
+== Ta bort kompis
+
+Rename
+== Byt namn
+
+Rename demo
+== Byt namn på demo
+
 Reset filter
 == Återställ filter
 
@@ -321,9 +490,15 @@ Scoreboard
 Screenshot
 == Skärmdump
 
+Server address:
+== Serveradress
+
 Server details
 == Serverdetaljer
 
+Server filter
+== Serverfilter
+
 Server info
 == Serverinfo
 
@@ -336,24 +511,42 @@ Settings
 Shotgun
 == Hagelgevär
 
+Show chat
+== Visa chatt
+
+Show friends
+== Visa kompisar
+
+Show ingame HUD
+== Visa HUD i spel
+
 Show name plates
 == Visa namnskyltar
 
 Show only supported
 == Visa endast upplösningar som stöds
 
+Size:
+== Storlek:
+
 Skins
 == Utseende
 
 Sound
 == Ljud
 
+Sound error
+== Ljudfel
+
 Sound volume
 == Ljud volym
 
 Spectate
 == Åskåda
 
+Spectator mode
+== Åskådarläge
+
 Spectators
 == Åskådare
 
@@ -363,6 +556,12 @@ Standard gametype
 Standard map
 == Standardkarta
 
+Stop record
+== Sluta spela in
+
+Sudden Death
+== Plötslig död
+
 Switch weapon on pickup
 == Byt vapen vid anskaffning
 
@@ -378,30 +577,60 @@ Teeworlds %s is out! Download it at www.teeworlds.com!
 Texture Compression
 == Texturkompression
 
+The audio device couldn't be initialised.
+== Ljudet kunde inte startas
+
 The server is running a non-standard tuning on a pure game type.
 == Denna server kör inte standardinställningar på standard speltyp.
 
+There's an unsaved map in the editor, you might want to save it before you quit the game.
+== Det finns en osparad bana i redigeraden, du kanske vill spara den innan du avslutar.
+
 Time limit
 == Tidsbegränsning
 
+Time limit: %d min
+== Tidsgräns: %d min
+
 Try again
 == Försök igen
 
 Type
 == Typ
 
+Type:
+== Typ:
+
 UI Color
 == Gränssnittfärg
 
+Unable to delete the demo
+== Kunde inte ta bort demot
+
+Unable to rename the demo
+== Kunde inte byta namn på demot
+
 Use sounds
 == Använd ljudeffekter
 
+Use team colors for name plates
+== Använd lagfärger i namnskyltar
+
 V-Sync
 == V-Sync
 
 Version
 == Version
 
+Version:
+== Version:
+
+Vote command:
+== Omröstningskommando:
+
+Vote description:
+== Beskrivning:
+
 Vote no
 == Rösta nej
 
@@ -411,6 +640,9 @@ Vote yes
 Voting
 == Röstning
 
+Warmup
+== Uppvärmning
+
 Weapon
 == Vapen
 
@@ -423,241 +655,13 @@ Yes
 You must restart the game for all settings to take effect.
 == Du måste starta om spelet för att ändringarna skall gälla.
 
-##### needs translation #####
-
-%d Bytes
-== %d Bytes
-
-%d%% loaded
-== %d%% laddat
-
-%ds left
-== %d sekunder kvar
-
-%i minute left
-== %i minut kvar
-
-%i minutes left
-== %i minuter kvar
-
-%i second left
-== %i sekund kvar
-
-%i seconds left
-== %i sekunder kvar
-
--Page %d-
-== -Sida %d-
-
-Add
-== Lägg till
-
-Add Friend
-== Lägg till kompis
-
-Are you sure that you want to delete the demo?
-== Är du säker på att du vill ta bort detta demo?
-
-Are you sure that you want to remove the player from your friends list?
-== Är du säker på att du vill ta bort denna spelaren från din kompislista?
-
-Automatically record demos
-== Spela in demon automatiskt
-
-Automatically take game over screenshot
-== Ta automatiska skärmdumpar vid spelens slut
-
-Change settings
-== Ändra inställningar
-
-Clan
-== Klan
-
-Client
-== Klient
-
-Connection Problems...
-== Anslutningsproblem...
-
-Count players only
-== Räkna endast spelare
-
-Country
-== Land
-
-Crc:
-== Crc:
-
-Created:
-== Skapad:
-
-Delete
-== Ta bort
-
-Delete demo
-== Ta bort demo
-
-Demo details
-== Demoinformation
-
-Error
-== Fel
-
-Error loading demo
-== Kunde inte ladda demot
-
-Folder
-== Mapp
-
-Force vote
-== Tvinga omröstning
-
-Free-View
-== Friläge
-
-Friends
-== Kompisar
-
-Invalid Demo
-== Ogiltigt deo
-
-Kick player
-== Kicka spelare
-
-Length:
-== Längd
-
-Map:
-== Bana
-
-Max Screenshots
-== Max antal skärmdumpar
-
-Max demos
-== Max antal demon
-
-Move player to spectators
-== Flytta till åskådarna
-
-Name plates size
-== Storlek på namnskyltar
-
-Netversion:
-== Nätversion:
-
-New name:
-== Nytt namn:
-
-Next
-== Nästa
-
-Open
-== Öppna
-
-Page %d of %d
-== Sida %d av %d
-
-Parent Folder
-== Uppliggande mapp
-
-Player options
-== Spelaralternativ
-
-Please balance teams!
-== Balansera lagen!
-
-Prev
-== Föregående
-
-REC %3d:%02d
-== REC %3d:%02d
-
-Reason:
-== Anledning:
-
-Record demo
-== Spela in demo
-
-Remove
-== Ta bort
-
-Remove friend
-== Ta bort kompis
-
-Rename
-== Byt namn
-
-Rename demo
-== Byt namn på demo
-
-Server address:
-== Serveradress
-
-Server filter
-== Serverfilter
-
-Show chat
-== Visa chatt
-
-Show friends
-== Visa kompisar
-
-Show ingame HUD
-== Visa HUD i spel
-
-Size:
-== Storlek:
-
-Sound error
-== Ljudfel
-
-Spectator mode
-== Åskådarläge
-
-Stop record
-== Sluta spela in
-
-Sudden Death
-== Plötslig död
-
-The audio device couldn't be initialised.
-== Ljudet kunde inte startas
-
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
-== Det finns en osparad bana i redigeraden, du kanske vill spara den innan du avslutar.\nAvsluta i alla fall?
-
-Time limit: %d min
-== Tidsgräns: %d min
-
-Type:
-== Typ:
-
-Unable to delete the demo
-== Kunde inte ta bort demot
-
-Unable to rename the demo
-== Kunde inte byta namn på demot
-
-Use team colors for name plates
-== Använd lagfärger i namnskyltar
-
-Version:
-== Version:
-
-Vote command:
-== Omröstningskommando:
-
-Vote description:
-== Beskrivning:
-
-Warmup
-== Uppvärmning
-
 Your skin
 == Ditt skin
 
 no limit
 == Ingen gräns
 
+##### needs translation #####
+
 ##### old translations #####
 
diff --git a/data/languages/ukrainian.txt b/data/languages/ukrainian.txt
index 4c7c54db..818dfe48 100644
--- a/data/languages/ukrainian.txt
+++ b/data/languages/ukrainian.txt
@@ -594,6 +594,9 @@ Player options
 Prev
 == 
 
+Quit anyway?
+== 
+
 REC %3d:%02d
 == 
 
@@ -633,7 +636,7 @@ Spectator mode
 The audio device couldn't be initialised.
 == 
 
-There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?
+There's an unsaved map in the editor, you might want to save it before you quit the game.
 == 
 
 Type:
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 4b6b2cb7..b33a5add 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -947,8 +947,11 @@ int CMenus::Render()
 			Box.HSplitTop(10.0f, 0, &Box);
 			Box.VMargin(20.f/UI()->Scale(), &Box);
 			if(m_pClient->Editor()->HasUnsavedData())
-				UI()->DoLabelScaled(&Box, Localize("There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?"),
-									20.f, -1, Part.w-20.0f);
+			{
+				char aBuf[128];
+				str_format(aBuf, sizeof(aBuf), "%s\n%s", Localize("There's an unsaved map in the editor, you might want to save it before you quit the game."), Localize("Quit anyway?"));
+				UI()->DoLabelScaled(&Box, aBuf, 20.f, -1, Part.w-20.0f);
+			}
 
 			// buttons
 			Part.VMargin(80.0f, &Part);