From 43283e85da09908fbf74ea21d40a82dcda0e3183 Mon Sep 17 00:00:00 2001 From: Ozh Date: Wed, 27 Mar 2013 22:12:42 +0000 Subject: [PATCH] Oops, missing translatable strings in the calendar. git-svn-id: http://yourls.googlecode.com/svn/trunk@904 12232710-3e20-11de-b438-597f59cd7555 --- includes/functions-html.php | 2 ++ js/jquery.cal.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/functions-html.php b/includes/functions-html.php index a81bbac..5e0e194 100644 --- a/includes/functions-html.php +++ b/includes/functions-html.php @@ -842,6 +842,8 @@ function yourls_l10n_calendar_strings() { echo "\n\n"; // Dummy returns, to initialize l10n strings used in the calendar diff --git a/js/jquery.cal.js b/js/jquery.cal.js index 0391628..6f54133 100644 --- a/js/jquery.cal.js +++ b/js/jquery.cal.js @@ -96,7 +96,7 @@ jQuery("thead",table).append('« '+monthselect+yearselect+' »'); jQuery("thead",table).append(''+l10n_cal_days[0]+''+l10n_cal_days[1]+''+l10n_cal_days[2]+''+l10n_cal_days[3]+''+l10n_cal_days[4]+''+l10n_cal_days[5]+''+l10n_cal_days[6]+''); - jQuery("tfoot",table).append('today close'); + jQuery("tfoot",table).append(''+l10n_cal_today+' '+l10n_cal_close+''); for (var i = 0; i < 6; i++) jQuery("tbody",table).append(''); return table; } -- 2.45.0