@@ -, +, @@ - Update a translation: > gulp po:update > cd misc/translator > perl translate update fr-FR - Open the corresponding .po file for the strings pulled from JavaScript e.g. misc/translator/po/fr-FR-staff-prog.po - Locate strings pulled from reports/guided_reports_start.tt for translation, e.g.: #: koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt:1324 #, fuzzy, c-format msgid "Authorized value category:" msgstr "Catégorie de valeur autorisée : " - Edit the "msgstr" string if necessary, or remove the "fuzzy," before "c-format" - Install the updated translation: > perl translate install fr-FR - The controls on the modal window when you preview a report's SQL from the list of saved reports. - The controls and modal dialog for inserting a runtime parameter. --- .../en/modules/reports/guided_reports_start.tt | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -1498,33 +1498,33 @@ switch ( category ){ case "insertAuthVal": modalTitle.text( _("Insert authorized value parameter") ); - $("#paramLabel").val("Authorized value") + $("#paramLabel").val( _("Authorized value") ); $("#authorised_value_category").show(); $("#authorised_value").prop("required", true ).attr("required", "required"); break; case "insertDate": modalTitle.text( _("Insert date parameter") ); - $("#paramLabel").val("Date") + $("#paramLabel").val( _("Date") ); $("#param_category").val("date"); break; case "insertItemtypes": modalTitle.text( _("Insert item types parameter") ); - $("#paramLabel").val("Item type") + $("#paramLabel").val( _("Item type") ); $("#param_category").val("itemtypes"); break; case "insertBranches": modalTitle.text( _("Insert libraries parameter") ); - $("#paramLabel").val("Library") + $("#paramLabel").val( _("Library") ); $("#param_category").val("branches"); break; case "insertCategorycode": modalTitle.text( _("Insert patron category parameter") ); - $("#paramLabel").val("Patron category") + $("#paramLabel").val( _("Patron category") ); $("#param_category").val("categorycode"); break; case "insertText": modalTitle.text( _("Insert text parameter") ); - $("#paramLabel").val("Text") + $("#paramLabel").val( _("Text") ); $("#param_category").val(""); break; } @@ -1554,7 +1554,7 @@ $("body").on('click',".fetch_chart_data",function(){ if( [% unlimited_total || 0 | $raw %] > 1000 ){ - if( confirm("Fetching full chart data for reports with many rows can cause performance issues. Are you sure you with to chart this report?") ){ + if( confirm( _("Fetching full chart data for reports with many rows can cause performance issues. Are you sure you with to chart this report?") ) ){ return true; } else { return false; @@ -2164,12 +2164,12 @@ \ \ \ --