Koha/tools
Martin Renvoize 7f3a0bb76b
Bug 36815: (follow-up) Fix logic for new languages
If a notice doesn't already have any data in it we weren't able to use
the object to lookup the sample.. with this patch we now always load the
samples if they exist for each installed and enabled language,
regardless of whether there's already a notice stored in that language.

Test plan
1. Install Spanish by running koha-translate --install es-ES from inside
   the kohashell
2. restart all
3. Set TranslateNotices to Allow
4. Verify that the Spanish-language sample_notices.yml exists
5. Open a notice that has at least one Spanish default notice defined
6. Confirm you see the 'View default' button for the spanish notice and
   that the displayed notice is indeed the spanish translation

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-06-27 14:04:52 +02:00
..
csv-profiles
access_files.pl
additional-contents.pl
ajax-inventory.pl
automatic_item_modification_by_age.pl
batch_delete_records.pl
batch_extend_due_dates.pl
batch_record_modification.pl
batch_records_ajax.pl
batchMod.pl
cleanborrowers.pl Bug 36526: Remove circular dependency from Koha::Objects 2024-05-03 16:02:44 +02:00
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl
holidays.pl
import_borrowers.pl
inventory.pl
letter.pl Bug 36815: (follow-up) Fix logic for new languages 2024-06-27 14:04:52 +02:00
manage-marc-import.pl
marc_modification_templates.pl
modborrowers.pl Bug 37129: Patron attributes linked to an authorized value don't show a select menu in batch modification 2024-06-21 15:02:48 +02:00
newHolidays.pl
overduerules.pl
page.pl Bug 36875: Staff counterpart 2024-06-20 17:55:38 +02:00
picture-upload.pl
problem-reports.pl
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl
stage-marc-import.pl
stockrotation.pl
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl
viewlog.pl