Browse Source

worked on the translation

Daniel Lazar 10 years ago
parent
commit
7be27fd871

+ 9 - 0
res/values-de/strings.xml

@@ -144,4 +144,13 @@
 	<string name="record_details_nocontent">Kein Inhalt</string>
 	<string name="record_details_remote_ip">REMOTE IP</string>
 	<string name="record_details_conversation">Unterhaltung</string>
+    <string name="profile_vista_desc">Dieses Profil immitiert Windows Vista</string>
+    <string name="profile_xp_desc">Dieses Profil aktiviert Dienste die Typisch für Windows XP sind</string>
+    <string name="profile_webserv_http_desc">Dieses Profil immitiert einen simplen Webserver, welcher nur den Port für das HTTP Protokoll überwacht</string>
+    <string name="profile_webserv_desc">Dieses Profil immitiert einen simplen Webserver, welcher neben dem HTTP Protokoll auch das HTTPS Protokoll unterstützt</string>
+    <string name="profile_unix_desc">Dieses Profil aktiviert Unix-typische Dienste</string>
+    <string name="profile_linux_desc">Dieses Profil immitiert ein Linux System mit entsprechenden Diensten</string>
+    <string name="profile_voip_desc">Dieses Profil immitiert einen VOIP Server, welcher das SIP Protokoll überwacht</string>
+    <string name="profile_random_desc">In diesem Profil werden zufällige Protokolle aktiviert</string>
+    <string name="profile_paranoid_desc">Dieses Profil aktiviert alle Protokolle</string>
 </resources>

+ 9 - 0
res/values/strings.xml

@@ -144,4 +144,13 @@
 	<string name="record_details_nocontent">No content</string>
 	<string name="record_details_remote_ip">REMOTE IP</string>
 	<string name="record_details_conversation">Conversation</string>
+    <string name="profile_vista_desc">This profile will imitate a Windows Vista machine</string>
+    <string name="profile_xp_desc">This profile will activate Windows XP typical services</string>
+    <string name="profile_webserv_http_desc">This profile will imitate a simple webserver, which just supports the HTTP protocol</string>
+    <string name="profile_webserv_desc">This profile will imitate a simple webserver, which supports both the HTTP and HTTPS protocol</string>
+    <string name="profile_unix_desc">This profile monitors unix typical services</string>
+    <string name="profile_linux_desc">This profile will imitate a linux machine by monitoring linux typical services</string>
+    <string name="profile_voip_desc">This profile imitates a VOIP Server by monitoring the SIP service</string>
+    <string name="profile_random_desc">This profile monitors services randomly</string>
+    <string name="profile_paranoid_desc">This profile monitors all available services</string>
 </resources>

+ 9 - 9
src/de/tudarmstadt/informatik/hostage/persistence/ProfileManager.java

@@ -484,7 +484,7 @@ public class ProfileManager {
 		Profile windowsVista = new Profile(
 				0,
 				"Windows Vista",
-				"This profile will imitate a Windows Vista machine",
+				MainActivity.getInstance().getString(R.string.profile_vista_desc),
 				R.drawable.ic_profile_vista,
 				false
 		);
@@ -497,7 +497,7 @@ public class ProfileManager {
 		Profile windowsXP = new Profile(
 				1,
 				"Windows XP",
-				"This profile will activate Windows XP typical services",
+                MainActivity.getInstance().getString(R.string.profile_xp_desc),
 				R.drawable.ic_profile_xp,
 				false
 		);
@@ -511,7 +511,7 @@ public class ProfileManager {
 		Profile serverHTTP = new Profile(
 				2,
 				"Webserver HTTP",
-				"This profile will imitate a simple webserver, which just supports the HTTP protocol",
+                MainActivity.getInstance().getString(R.string.profile_webserv_http_desc),
 				R.drawable.ic_profile_apache,
 				false
 		);
@@ -523,7 +523,7 @@ public class ProfileManager {
 		Profile serverWeb = new Profile(
 				3,
 				"Webserver",
-				"This profile will imitate a simple webserver, which supports both the HTTP and HTTPS protocol",
+                MainActivity.getInstance().getString(R.string.profile_webserv_desc),
 				R.drawable.ic_profile_apache,
 				false
 		);
@@ -536,7 +536,7 @@ public class ProfileManager {
 		Profile unixMachine = new Profile(
 				4,
 				"Unix",
-				"This profile monitors unix typical services",
+                MainActivity.getInstance().getString(R.string.profile_unix_desc),
 				R.drawable.ic_profile_unix,
 				false
 		);
@@ -549,7 +549,7 @@ public class ProfileManager {
 		Profile linuxMachine = new Profile(
 				5,
 				"Linux",
-				"This profile will imitate a linux machine by monitoring linux typical services",
+                MainActivity.getInstance().getString(R.string.profile_linux_desc),
 				R.drawable.ic_profile_linux,
 				false
 		);
@@ -564,7 +564,7 @@ public class ProfileManager {
 		Profile voipServer = new Profile(
 				6,
 				"VOIP Server",
-				"This profile imitates a VOIP Server by monitoring the SIP service",
+                MainActivity.getInstance().getString(R.string.profile_voip_desc),
 				R.drawable.ic_profile_asterisks,
 				false
 		);
@@ -576,7 +576,7 @@ public class ProfileManager {
 		Profile randomProfile = new Profile(
 				7,
 				"Random",
-				"This profile monitors services randomly",
+                MainActivity.getInstance().getString(R.string.profile_random_desc),
 				R.drawable.ic_launcher,
 				false
 		);
@@ -588,7 +588,7 @@ public class ProfileManager {
 		Profile paranoidProfile = new Profile(
 				8,
 				"Paranoid",
-				"This profile monitors all available services",
+                MainActivity.getInstance().getString(R.string.profile_paranoid_desc),
 				R.drawable.ic_profile_paranoid,
 				false
 		);