From 4b878223db544de5796c5fca052694eef14c265c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 6 Jul 2013 02:32:24 +0200 Subject: [PATCH] Add i18n to Sone insert notification. This fixes #293. --- src/main/resources/i18n/sone.de.properties | 4 +++- src/main/resources/i18n/sone.en.properties | 4 +++- src/main/resources/i18n/sone.fr.properties | 6 ++++-- src/main/resources/i18n/sone.ja.properties | 6 ++++-- src/main/resources/i18n/sone.no.properties | 6 ++++-- src/main/resources/i18n/sone.pl.properties | 6 ++++-- src/main/resources/i18n/sone.ru.properties | 6 ++++-- src/main/resources/templates/notify/soneInsertNotification.html | 8 ++++---- 8 files changed, 30 insertions(+), 16 deletions(-) diff --git a/src/main/resources/i18n/sone.de.properties b/src/main/resources/i18n/sone.de.properties index d0ec575..d7a4b9d 100644 --- a/src/main/resources/i18n/sone.de.properties +++ b/src/main/resources/i18n/sone.de.properties @@ -451,4 +451,6 @@ Notification.InsertedImages.Text=Diese Bilder wurden nach Freenet hoch geladen: Notification.ImageInsertFailed.Text=Diese Bilder konnten nicht nach Freenet hoch geladen werden: Notification.Mention.ShortText=Sie wurden erwähnt. Notification.Mention.Text=Sie wurden in diesen Nachrichten erwähnt: -Notification.SoneInsert.Duration={0,number} {0,choice,0#Sekunden|1#Sekunde|1 - Your Sone <%insertSone.niceName|html> is now being inserted. + <%= Notification.SoneIsInserting.Text|l10n 0=insertSone.id|parse> <%elseif soneStatus|match value=="inserted"> - Your Sone <%insertSone.niceName|html> has been inserted in <%= Notification.SoneInsert.Duration|l10n 0=insertDuration>. + <%= Notification.SoneIsInserted.Text|l10n 0=insertSone.id 1=insertDuration|parse> <%elseif soneStatus|match value=="insert-aborted"> - Inserting your Sone <%insertSone.niceName|html> has failed. -<%/if> \ No newline at end of file + <%= Notification.SoneInsertAborted.Text|l10n 0=insertSone.id|parse> +<%/if> -- 2.7.4