# HG changeset patch # User Tomas Zeman # Date 1336038690 -7200 # Node ID 8679b6804f4c39fa98fb68f1b2c126b9aaacd644 # Parent eb207b18933266acc790ba67290da1e43c1287ea 8a1d81b145a90a95 Contact/user info messages not localized diff -r eb207b189332 -r 8679b6804f4c src/main/scala/fis/aaa/ui/UserSnippet.scala --- a/src/main/scala/fis/aaa/ui/UserSnippet.scala Thu May 03 09:22:48 2012 +0200 +++ b/src/main/scala/fis/aaa/ui/UserSnippet.scala Thu May 03 11:51:30 2012 +0200 @@ -128,7 +128,7 @@ def finish() { (pass1.get.length > 0).box(user.password(md5(pass1.get))) save(user) foreach { v => - S notice l10n("User %s saved", v.linkName) + S notice l10n("User %s saved.", v.linkName) S.redirectTo(viewLoc.calcHref(v)) } } @@ -144,7 +144,7 @@ u <- cur if confirm r <- save(u.deleted(true)) } { - S notice l10n("User %s deleted", r.linkName) + S notice l10n("User %s deleted.", r.linkName) S redirectTo listM.loc.calcDefaultHref } } diff -r eb207b189332 -r 8679b6804f4c src/main/scala/fis/crm/ui/ContactSnippet.scala --- a/src/main/scala/fis/crm/ui/ContactSnippet.scala Thu May 03 09:22:48 2012 +0200 +++ b/src/main/scala/fis/crm/ui/ContactSnippet.scala Thu May 03 11:51:30 2012 +0200 @@ -107,7 +107,7 @@ } def finish() { save(c) foreach { v => - S notice l10n("Contact %s saved", v.linkName) + S notice l10n("Contact %s saved.", v.linkName) S.redirectTo(viewLoc.calcHref(v)) }} } @@ -123,7 +123,7 @@ r <- delete(c) n <- r.box(c.linkName) } { - S notice l10n("Contact %s deleted", n) + S notice l10n("Contact %s deleted.", n) S redirectTo listM.loc.calcDefaultHref } } diff -r eb207b189332 -r 8679b6804f4c src/main/webapp/templates-hidden/_resources.html --- a/src/main/webapp/templates-hidden/_resources.html Thu May 03 09:22:48 2012 +0200 +++ b/src/main/webapp/templates-hidden/_resources.html Thu May 03 11:51:30 2012 +0200 @@ -49,6 +49,7 @@ Edit contact %s Delete contact %s Really delete this contact? + Contact %s saved. Contact %s deleted. Invalid email address. @@ -81,8 +82,8 @@ Delete user %s Passwords do not match. Really delete this user? - User %s saved - User %s deleted + User %s saved. + User %s deleted. --> Assigned projects Assigned tasks diff -r eb207b189332 -r 8679b6804f4c src/main/webapp/templates-hidden/_resources_cs.html --- a/src/main/webapp/templates-hidden/_resources_cs.html Thu May 03 09:22:48 2012 +0200 +++ b/src/main/webapp/templates-hidden/_resources_cs.html Thu May 03 11:51:30 2012 +0200 @@ -33,6 +33,12 @@ <-- contact --> + Přidat kontakt + Přidat kontakt k %s + Přidat kontakt %s k %s + Skutečně odebrat kontakt? + Kontakt %s je již asociován s %s. + Přidán kontakt %s. Kontakt Kontakt %s Kontakty @@ -40,14 +46,9 @@ Upravit kontakt %s Smazat kontakt %s Skutečně smazat kontakt? + Kontakt %s uložen. Kontakt %s smazán. Nesprávná emailová adresa. - Přidat kontakt - Přidat kontakt k %s - Přidat kontakt %s k %s - Skutečně odebrat kontakt? - Kontakt %s je již asociován s %s. - Přidán kontakt %s. Jméno