summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurora <a.bubnyak@gmail.com>2025-07-25 14:59:36 +0200
committerGitHub <noreply@github.com>2025-07-25 14:59:36 +0200
commitf23821275efce5d36414ba599e3b5b5cb87644a1 (patch)
tree67ed917bd4f1048a2670d80b86370d8a56a75aa3 /lib
parent2a29464490233bcd9ed55f8f874362852938377f (diff)
add initial hungarian language support, see comments in hu_HU.po file (#278)
* add itial hungarian language support, see comments in hu_HU.po file that might need feedback * Update hu_HU.po "der Svájc" isn't hungarian, fixed now * added missing trailing " for hu_HU.po * removed comments that were approved/marked as resolved * I10n: updated the new pre/postfixes accordingly in hu * added 'as the crow flies' or 'beeline' translations * language.html.ep: Fix radio button for hu-HU --------- Co-authored-by: Birte Kristina Friesel <derf@finalrewind.org>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 94a88ba..66c4d58 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -441,6 +441,9 @@ sub startup {
elsif ( $lang =~ m{ ^ fr }x ) {
push( @languages, 'fr-FR' );
}
+ elsif ( $lang =~ m{ ^ hu }x ) {
+ push( @languages, 'hu-HU' );
+ }
elsif ( $lang =~ m{ ^ pl }x ) {
push( @languages, 'pl-PL' );
}