From 02f84125ebc4369e0168e3323341a927442fc378 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 3 Sep 2015 08:31:11 -0400
Subject: [PATCH] Adjusted normalizer to include end-of-file line break.

---
 languages/ar.ini                                        | 2 +-
 languages/ca.ini                                        | 2 +-
 languages/cs.ini                                        | 2 +-
 languages/cy.ini                                        | 2 +-
 languages/da.ini                                        | 2 +-
 languages/de.ini                                        | 2 +-
 languages/el.ini                                        | 2 +-
 languages/en-gb.ini                                     | 2 +-
 languages/en.ini                                        | 2 +-
 languages/es.ini                                        | 2 +-
 languages/eu.ini                                        | 2 +-
 languages/fi.ini                                        | 2 +-
 languages/fr.ini                                        | 2 +-
 languages/ga.ini                                        | 2 +-
 languages/he.ini                                        | 2 +-
 languages/it.ini                                        | 2 +-
 languages/ja.ini                                        | 2 +-
 languages/native.ini                                    | 2 +-
 languages/nl.ini                                        | 2 +-
 languages/pl.ini                                        | 2 +-
 languages/pt-br.ini                                     | 2 +-
 languages/pt.ini                                        | 2 +-
 languages/ru.ini                                        | 2 +-
 languages/sl.ini                                        | 2 +-
 languages/sv.ini                                        | 2 +-
 languages/tr.ini                                        | 2 +-
 languages/zh-cn.ini                                     | 2 +-
 languages/zh.ini                                        | 2 +-
 module/VuFind/src/VuFind/I18n/ExtendedIniNormalizer.php | 2 +-
 29 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/languages/ar.ini b/languages/ar.ini
index a41c8992685..82bd00e413c 100644
--- a/languages/ar.ini
+++ b/languages/ar.ini
@@ -1040,4 +1040,4 @@ Your search terms = "مصطلحات بحثك"
 Your Tags = "وسومك"
 your_match_would_be_here = "قد تكون مضاهاتك هنا."
 Zip = "الرمز البريدي"
-zoom = "تقريب"
\ No newline at end of file
+zoom = "تقريب"
diff --git a/languages/ca.ini b/languages/ca.ini
index c285cefc18e..b5541e9f0b4 100644
--- a/languages/ca.ini
+++ b/languages/ca.ini
@@ -1002,4 +1002,4 @@ Your search terms = "Termes de cerca"
 Your Tags = "Etiquetes"
 your_match_would_be_here = "La teva cerca hauria d'estar aquí."
 Zip = "Zip"
-zoom = "Ampliar"
\ No newline at end of file
+zoom = "Ampliar"
diff --git a/languages/cs.ini b/languages/cs.ini
index 60a6f9a2a77..3a48f5478eb 100644
--- a/languages/cs.ini
+++ b/languages/cs.ini
@@ -1038,4 +1038,4 @@ Your search terms = "Vyhledávané termíny"
 Your Tags = "Vaše tagy"
 your_match_would_be_here = "Zadaný výraz by se nacházel zde, pokud by v databázi existoval."
 Zip = "PSČ"
-zoom = "Přiblížit"
\ No newline at end of file
+zoom = "Přiblížit"
diff --git a/languages/cy.ini b/languages/cy.ini
index fcc1fa02665..bc154f4fab1 100644
--- a/languages/cy.ini
+++ b/languages/cy.ini
@@ -1000,4 +1000,4 @@ Your search terms = "Fy Eitemau Chwilio"
 Your Tags = "Tagiau"
 your_match_would_be_here = "Byddai'r gair yma."
 Zip = "Zip"
-zoom = "Chwyddo"
\ No newline at end of file
+zoom = "Chwyddo"
diff --git a/languages/da.ini b/languages/da.ini
index 7ba3bcd0b52..00e6d462af5 100644
--- a/languages/da.ini
+++ b/languages/da.ini
@@ -678,4 +678,4 @@ Your Lists = "Dine lister"
 Your Profile = "Din profil"
 Your search terms = "Dine søgeord"
 Your Tags = "Dine Tags"
-Zip = "Zip ø"
\ No newline at end of file
+Zip = "Zip ø"
diff --git a/languages/de.ini b/languages/de.ini
index f088c0d00e5..49b03b71449 100644
--- a/languages/de.ini
+++ b/languages/de.ini
@@ -1039,4 +1039,4 @@ Your search terms = "Ihre Suchbegriffe"
 Your Tags = "Ihre Tags"
 your_match_would_be_here = "Ihr Treffer würde hier aufgelistet."
 Zip = "PLZ, Ort"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/el.ini b/languages/el.ini
index 97dc34b4652..c785c4f14da 100644
--- a/languages/el.ini
+++ b/languages/el.ini
@@ -1040,4 +1040,4 @@ Your search terms = "Οι αναζητήσεις μου"
 Your Tags = "Οι ετικέτες μου"
 your_match_would_be_here = "Το αποτέλεσμά σας θα ήταν εδώ."
 Zip = "Τ. Κ."
-zoom = "Μεγέθυνση"
\ No newline at end of file
+zoom = "Μεγέθυνση"
diff --git a/languages/en-gb.ini b/languages/en-gb.ini
index 83295ac9c8c..ad0cc2e8604 100644
--- a/languages/en-gb.ini
+++ b/languages/en-gb.ini
@@ -61,4 +61,4 @@ storage_retrieval_request_place_fail_missing = "Your request failed. Some data w
 storage_retrieval_request_profile_html = "For storage retrieval request information, please establish your <a href="%%url%%">Library Catalogue Profile</a>."
 too_many_favorites = "This list is too large to display all at once. Try rearranging your favourites into more lists or limiting using tags."
 You do not have any saved resources = "You do not have any saved resources. Perform a search and use the Add to Favourites button to save items."
-Your Favorites = "Your Favourites"
\ No newline at end of file
+Your Favorites = "Your Favourites"
diff --git a/languages/en.ini b/languages/en.ini
index c7b73ef1a07..fe75f7fda7a 100644
--- a/languages/en.ini
+++ b/languages/en.ini
@@ -1039,4 +1039,4 @@ Your search terms = "Your search terms"
 Your Tags = "Your Tags"
 your_match_would_be_here = "Your match would be here."
 Zip = "Zip"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/es.ini b/languages/es.ini
index d5563bf7552..ee17baf5598 100644
--- a/languages/es.ini
+++ b/languages/es.ini
@@ -1000,4 +1000,4 @@ Your search terms = "Sus términos de búsqueda"
 Your Tags = "Sus Etiquetas"
 your_match_would_be_here = "Su coincidencia estaría aquí"
 Zip = "Código Postal"
-zoom = "Enfocar"
\ No newline at end of file
+zoom = "Enfocar"
diff --git a/languages/eu.ini b/languages/eu.ini
index 2463fdcad7e..5660bc6d8f8 100644
--- a/languages/eu.ini
+++ b/languages/eu.ini
@@ -1588,4 +1588,4 @@ Your Profile = "Zure profila"
 Your search terms = "Bilatu dituzun hitzak"
 Your Tags = "Zure etiketak"
 Zip = "Posta kodea"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/fi.ini b/languages/fi.ini
index c56f57641af..5bfd0eeed12 100644
--- a/languages/fi.ini
+++ b/languages/fi.ini
@@ -1038,4 +1038,4 @@ Your search terms = "Hakuehdot"
 Your Tags = "Tagit"
 your_match_would_be_here = "Osuma olisi tässä."
 Zip = "Postitoimipaikka"
-zoom = "Zoomaa"
\ No newline at end of file
+zoom = "Zoomaa"
diff --git a/languages/fr.ini b/languages/fr.ini
index 231e5e31c31..01c6a00e86c 100644
--- a/languages/fr.ini
+++ b/languages/fr.ini
@@ -999,4 +999,4 @@ Your search terms = "Vos termes de recherche"
 Your Tags = "Vos tags"
 your_match_would_be_here = "Votre correspondance devrait être ici."
 Zip = "Zip"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/ga.ini b/languages/ga.ini
index 97c21ba6c3f..baf218ce44d 100644
--- a/languages/ga.ini
+++ b/languages/ga.ini
@@ -665,4 +665,4 @@ Your Lists = "Do Liostaí"
 Your Profile = "Do Phróifíl"
 Your search terms = "Do Théarmaí Cuardaigh"
 Your Tags = "Do Chlibeanna"
-Zip = "Cód Post"
\ No newline at end of file
+Zip = "Cód Post"
diff --git a/languages/he.ini b/languages/he.ini
index f00daa285ed..054280b6f0e 100644
--- a/languages/he.ini
+++ b/languages/he.ini
@@ -777,4 +777,4 @@ Your Profile = "הפרופיל שלך"
 Your search terms = "מילות החיפוש שלך"
 Your Tags = "התגים שלך"
 Zip = "מיקוד"
-zoom = "זום"
\ No newline at end of file
+zoom = "זום"
diff --git a/languages/it.ini b/languages/it.ini
index c5239a07288..a4aa27af74d 100644
--- a/languages/it.ini
+++ b/languages/it.ini
@@ -1039,4 +1039,4 @@ Your search terms = "I tuoi termini di ricerca"
 Your Tags = "I tuoi tag"
 your_match_would_be_here = "L'oggetto della tua ricerca starebbe qui."
 Zip = "CAP"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/ja.ini b/languages/ja.ini
index e45edba3cfa..071d1a3082c 100644
--- a/languages/ja.ini
+++ b/languages/ja.ini
@@ -1040,4 +1040,4 @@ Your search terms = "指定した検索語"
 Your Tags = "指定タグ"
 your_match_would_be_here = "指定した語はこの位置にマッチします"
 Zip = "郵便番号"
-zoom = "ズーム"
\ No newline at end of file
+zoom = "ズーム"
diff --git a/languages/native.ini b/languages/native.ini
index 45d014c8bb1..bd4aba0e23c 100644
--- a/languages/native.ini
+++ b/languages/native.ini
@@ -24,4 +24,4 @@ Slovene = "slovenščina"
 Spanish = "Español"
 Swedish = "Svenska"
 Turkish = "Türkçe"
-Welsh = "Cymraeg"
\ No newline at end of file
+Welsh = "Cymraeg"
diff --git a/languages/nl.ini b/languages/nl.ini
index 5aeb54e8f73..d129dafa89d 100644
--- a/languages/nl.ini
+++ b/languages/nl.ini
@@ -1019,4 +1019,4 @@ Your search terms = "Jouw zoektermen"
 Your Tags = "Jouw tags"
 your_match_would_be_here = "Hier zou je resultaat gestaan hebben."
 Zip = "Zip"
-zoom = "Zoom"
\ No newline at end of file
+zoom = "Zoom"
diff --git a/languages/pl.ini b/languages/pl.ini
index 75443a46c71..36cea31202d 100644
--- a/languages/pl.ini
+++ b/languages/pl.ini
@@ -1101,4 +1101,4 @@ Your search terms = "Twoje hasła"
 Your Tags = "Twoje etykiety"
 your_match_would_be_here = "Tożsamość byłaby tutaj."
 Zip = "Kod pocztowy"
-zoom = "Powiększ"
\ No newline at end of file
+zoom = "Powiększ"
diff --git a/languages/pt-br.ini b/languages/pt-br.ini
index b52cb316d94..e05ab05a7c0 100644
--- a/languages/pt-br.ini
+++ b/languages/pt-br.ini
@@ -1039,4 +1039,4 @@ Your search terms = "Termos de busca"
 Your Tags = "As suas Tags"
 your_match_would_be_here = "Sua correspondência pode estar aqui."
 Zip = "Cód. Postal"
-zoom = "Ampliar"
\ No newline at end of file
+zoom = "Ampliar"
diff --git a/languages/pt.ini b/languages/pt.ini
index cbee5ce7bf1..cc75e8c2729 100644
--- a/languages/pt.ini
+++ b/languages/pt.ini
@@ -1000,4 +1000,4 @@ Your search terms = "Termos de pesquisa"
 Your Tags = "As suas Tags"
 your_match_would_be_here = "Os resultados encontrados estariam aqui."
 Zip = "Cód. Postal"
-zoom = "Ampliar"
\ No newline at end of file
+zoom = "Ampliar"
diff --git a/languages/ru.ini b/languages/ru.ini
index 21eac6b2938..5a57310d4da 100644
--- a/languages/ru.ini
+++ b/languages/ru.ini
@@ -1056,4 +1056,4 @@ Your search terms = "Термины Вашего поиска"
 Your Tags = "Ваши метки"
 your_match_would_be_here = "Ваше соответствие было бы здесь."
 Zip = "Zip"
-zoom = "Масштаб изображения"
\ No newline at end of file
+zoom = "Масштаб изображения"
diff --git a/languages/sl.ini b/languages/sl.ini
index 2ac47f8e024..06f77f87ad6 100644
--- a/languages/sl.ini
+++ b/languages/sl.ini
@@ -835,4 +835,4 @@ Your Profile = "Vaš profil"
 Your search terms = "Vaši iskalni izrazi"
 Your Tags = "Vaše oznake"
 Zip = "Zip"
-zoom = "Povečaj"
\ No newline at end of file
+zoom = "Povečaj"
diff --git a/languages/sv.ini b/languages/sv.ini
index b53a6539714..6cb72ad038f 100644
--- a/languages/sv.ini
+++ b/languages/sv.ini
@@ -1038,4 +1038,4 @@ Your search terms = "Sökvillkor"
 Your Tags = "Taggar"
 your_match_would_be_here = "Din träff skulle vara här."
 Zip = "Postanstalt"
-zoom = "Zooma"
\ No newline at end of file
+zoom = "Zooma"
diff --git a/languages/tr.ini b/languages/tr.ini
index 25aa1a3b966..b6a153f0ec1 100644
--- a/languages/tr.ini
+++ b/languages/tr.ini
@@ -1050,4 +1050,4 @@ Your search terms = "Tarama Terimlerim"
 Your Tags = "Etiketlerim"
 your_match_would_be_here = "EÅŸleÅŸmeleriniz burada olacak."
 Zip = "Posta Kodu"
-zoom = "Yakınlaştır"
\ No newline at end of file
+zoom = "Yakınlaştır"
diff --git a/languages/zh-cn.ini b/languages/zh-cn.ini
index 62dee64aadf..c872f309948 100644
--- a/languages/zh-cn.ini
+++ b/languages/zh-cn.ini
@@ -665,4 +665,4 @@ Your Lists = "我的清单"
 Your Profile = "您的个人资料"
 Your search terms = "您的搜索字词"
 Your Tags = "您的标签"
-Zip = "邮编"
\ No newline at end of file
+Zip = "邮编"
diff --git a/languages/zh.ini b/languages/zh.ini
index 493fae19c9e..dd7eaf22b78 100644
--- a/languages/zh.ini
+++ b/languages/zh.ini
@@ -665,4 +665,4 @@ Your Lists = "我的清單"
 Your Profile = "您的個人資料"
 Your search terms = "您的搜索字詞"
 Your Tags = "您的標簽"
-Zip = "郵編"
\ No newline at end of file
+Zip = "郵編"
diff --git a/module/VuFind/src/VuFind/I18n/ExtendedIniNormalizer.php b/module/VuFind/src/VuFind/I18n/ExtendedIniNormalizer.php
index 8550616af6a..6ed02514d48 100644
--- a/module/VuFind/src/VuFind/I18n/ExtendedIniNormalizer.php
+++ b/module/VuFind/src/VuFind/I18n/ExtendedIniNormalizer.php
@@ -130,7 +130,7 @@ class ExtendedIniNormalizer
         foreach ($input as $key => $value) {
             $output .= "$key = \"$value\"\n";
         }
-        return trim($output);
+        return trim($output) . "\n";
     }
 
     /**
-- 
GitLab