[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Popup label translations


Hello,

The truth is we forgot to localize them and nobody, including us, noticed this until now :) The fix will be present in the next release, but I'm attaching a patch you can apply in the meantime that localizes the popup properly.

Matej Mihalik


On 27.11.2014 16:15, Johan Vromans wrote:
Hi,

All of a sudden, after months of using it, I realised that the field labels
in the daily popups are not localised.

Did I forget something?

-- Johan


--- interface.js	2014-11-28 11:20:06.615991455 +0100
+++ interface_new.js	2014-11-28 11:20:21.971991342 +0100
@@ -3890,6 +3890,17 @@
 	$('[data-type="closeRepeat"]').val(localization[globalInterfaceLanguage].buttonClose);
 	$('[data-type="repeat_type"]').text(localization[globalInterfaceLanguage].repeatInterval);
 
+	$('#CalDavZAPPopup').find('[data-type="location_txt"]').text(localization[globalInterfaceLanguage].txtLocation);
+	$('#CalDavZAPPopup').find('[data-type="from_txt"]').text(localization[globalInterfaceLanguage].from);
+	$('#CalDavZAPPopup').find('[data-type="to_txt"]').text(localization[globalInterfaceLanguage].to);
+	$('#CalDavZAPPopup').find('[data-type="status_txt"]').text(localization[globalInterfaceLanguage].txtStatus);
+	$('#CalDavZAPPopup').find('[data-type="avail_txt"]').text(localization[globalInterfaceLanguage].eventAvailability);
+	$('#CalDavZAPPopup').find('[data-type="type_txt"]').text(localization[globalInterfaceLanguage].eventType);
+	$('#CalDavZAPPopup').find('[data-type="priority_txt"]').text(localization[globalInterfaceLanguage].txtPriority);
+	$('#CalDavZAPPopup').find('[data-type="calendar_txt"]').text(localization[globalInterfaceLanguage].txtEventCalendar);
+	$('#CalDavZAPPopup').find('[data-type="url_txt"]').text(localization[globalInterfaceLanguage].eventURL);
+	$('#CalDavZAPPopup').find('[data-type="note_txt"]').text(localization[globalInterfaceLanguage].txtNote);
+
 	translateEventAlerts();
 	translateTodoAlerts();
 }

Follow-Ups:
Re: [Inf-IT DAVcl] Popup label translationsJohan Vromans <jvromans@xxxxxxxxxxx>
References:
[Inf-IT DAVcl] Popup label translationsJohan Vromans <jvromans@xxxxxxxxxxx>