-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from NatLibFi/SIMPLYE-210
Simplye 210
- Loading branch information
Showing
31 changed files
with
18,813 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[main] | ||
host = https://app.transifex.com | ||
|
||
[o:national-library-of-finland:p:ekirjasto-circulation-admin:r:circulationadminpo] | ||
file_filter = translations/<lang>/LC_MESSAGES/circulation-admin.po | ||
source_file = translations/en/LC_MESSAGES/circulation-admin.po | ||
type = PO | ||
minimum_perc = 0 | ||
replace_edited_strings = false | ||
keep_translations = false | ||
|
||
[o:national-library-of-finland:p:ekirjasto-circulation:r:circulationpo] | ||
file_filter = translations/<lang>/LC_MESSAGES/circulation.po | ||
source_file = translations/en/LC_MESSAGES/circulation.po | ||
type = PO | ||
minimum_perc = 0 | ||
replace_edited_strings = false | ||
keep_translations = false | ||
|
||
[o:national-library-of-finland:p:ekirjasto-circulation:r:corepo] | ||
file_filter = translations/<lang>/LC_MESSAGES/core.po | ||
source_file = translations/en/LC_MESSAGES/core.po | ||
type = PO | ||
minimum_perc = 0 | ||
replace_edited_strings = false | ||
keep_translations = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env python | ||
"""Collect translations.""" | ||
|
||
import os | ||
import sys | ||
|
||
bin_dir = os.path.split(__file__)[0] | ||
package_dir = os.path.join(bin_dir, "..", "..") | ||
sys.path.append(os.path.abspath(package_dir)) | ||
from scripts import CollectTranslationsScript | ||
|
||
CollectTranslationsScript().run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[python: core/*.py] | ||
[python: core/classifier/*.py] | ||
[python: core/util/*.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
from flask_babel import lazy_gettext as _ | ||
|
||
# DO NOT EDIT THIS FILE MANUALLY! | ||
# This file was generated by the CollectTranslationsScript class. | ||
|
||
genres = { | ||
"Adventure": _("Adventure"), | ||
"Classics": _("Classics"), | ||
"Comics & Graphic Novels": _("Comics & Graphic Novels"), | ||
"Drama": _("Drama"), | ||
"Erotica": _("Erotica"), | ||
"Fantasy": _("Fantasy"), | ||
"Epic Fantasy": _("Epic Fantasy"), | ||
"Historical Fantasy": _("Historical Fantasy"), | ||
"Urban Fantasy": _("Urban Fantasy"), | ||
"Folklore": _("Folklore"), | ||
"Historical Fiction": _("Historical Fiction"), | ||
"Horror": _("Horror"), | ||
"Gothic Horror": _("Gothic Horror"), | ||
"Ghost Stories": _("Ghost Stories"), | ||
"Vampires": _("Vampires"), | ||
"Werewolves": _("Werewolves"), | ||
"Occult Horror": _("Occult Horror"), | ||
"Humorous Fiction": _("Humorous Fiction"), | ||
"Literary Fiction": _("Literary Fiction"), | ||
"LGBTQ Fiction": _("LGBTQ Fiction"), | ||
"Mystery": _("Mystery"), | ||
"Crime & Detective Stories": _("Crime & Detective Stories"), | ||
"Hard-Boiled Mystery": _("Hard-Boiled Mystery"), | ||
"Police Procedural": _("Police Procedural"), | ||
"Cozy Mystery": _("Cozy Mystery"), | ||
"Historical Mystery": _("Historical Mystery"), | ||
"Paranormal Mystery": _("Paranormal Mystery"), | ||
"Women Detectives": _("Women Detectives"), | ||
"Poetry": _("Poetry"), | ||
"Religious Fiction": _("Religious Fiction"), | ||
"Romance": _("Romance"), | ||
"Contemporary Romance": _("Contemporary Romance"), | ||
"Gothic Romance": _("Gothic Romance"), | ||
"Historical Romance": _("Historical Romance"), | ||
"Paranormal Romance": _("Paranormal Romance"), | ||
"Western Romance": _("Western Romance"), | ||
"Romantic Suspense": _("Romantic Suspense"), | ||
"Science Fiction": _("Science Fiction"), | ||
"Dystopian SF": _("Dystopian SF"), | ||
"Space Opera": _("Space Opera"), | ||
"Cyberpunk": _("Cyberpunk"), | ||
"Military SF": _("Military SF"), | ||
"Alternative History": _("Alternative History"), | ||
"Steampunk": _("Steampunk"), | ||
"Romantic SF": _("Romantic SF"), | ||
"Media Tie-in SF": _("Media Tie-in SF"), | ||
"Short Stories": _("Short Stories"), | ||
"Suspense/Thriller": _("Suspense/Thriller"), | ||
"Historical Thriller": _("Historical Thriller"), | ||
"Espionage": _("Espionage"), | ||
"Supernatural Thriller": _("Supernatural Thriller"), | ||
"Medical Thriller": _("Medical Thriller"), | ||
"Political Thriller": _("Political Thriller"), | ||
"Psychological Thriller": _("Psychological Thriller"), | ||
"Technothriller": _("Technothriller"), | ||
"Legal Thriller": _("Legal Thriller"), | ||
"Military Thriller": _("Military Thriller"), | ||
"Urban Fiction": _("Urban Fiction"), | ||
"Westerns": _("Westerns"), | ||
"Women's Fiction": _("Women's Fiction"), | ||
"Art & Design": _("Art & Design"), | ||
"Architecture": _("Architecture"), | ||
"Art": _("Art"), | ||
"Art Criticism & Theory": _("Art Criticism & Theory"), | ||
"Art History": _("Art History"), | ||
"Design": _("Design"), | ||
"Fashion": _("Fashion"), | ||
"Photography": _("Photography"), | ||
"Biography & Memoir": _("Biography & Memoir"), | ||
"Education": _("Education"), | ||
"Personal Finance & Business": _("Personal Finance & Business"), | ||
"Business": _("Business"), | ||
"Economics": _("Economics"), | ||
"Management & Leadership": _("Management & Leadership"), | ||
"Personal Finance & Investing": _("Personal Finance & Investing"), | ||
"Real Estate": _("Real Estate"), | ||
"Parenting & Family": _("Parenting & Family"), | ||
"Family & Relationships": _("Family & Relationships"), | ||
"Parenting": _("Parenting"), | ||
"Food & Health": _("Food & Health"), | ||
"Bartending & Cocktails": _("Bartending & Cocktails"), | ||
"Cooking": _("Cooking"), | ||
"Health & Diet": _("Health & Diet"), | ||
"Vegetarian & Vegan": _("Vegetarian & Vegan"), | ||
"History": _("History"), | ||
"African History": _("African History"), | ||
"Ancient History": _("Ancient History"), | ||
"Asian History": _("Asian History"), | ||
"Civil War History": _("Civil War History"), | ||
"European History": _("European History"), | ||
"Latin American History": _("Latin American History"), | ||
"Medieval History": _("Medieval History"), | ||
"Middle East History": _("Middle East History"), | ||
"Military History": _("Military History"), | ||
"Modern History": _("Modern History"), | ||
"Renaissance & Early Modern History": _("Renaissance & Early Modern History"), | ||
"United States History": _("United States History"), | ||
"World History": _("World History"), | ||
"Hobbies & Home": _("Hobbies & Home"), | ||
"Antiques & Collectibles": _("Antiques & Collectibles"), | ||
"Crafts & Hobbies": _("Crafts & Hobbies"), | ||
"Gardening": _("Gardening"), | ||
"Games": _("Games"), | ||
"House & Home": _("House & Home"), | ||
"Pets": _("Pets"), | ||
"Humorous Nonfiction": _("Humorous Nonfiction"), | ||
"Entertainment": _("Entertainment"), | ||
"Film & TV": _("Film & TV"), | ||
"Music": _("Music"), | ||
"Performing Arts": _("Performing Arts"), | ||
"Life Strategies": _("Life Strategies"), | ||
"Literary Criticism": _("Literary Criticism"), | ||
"Periodicals": _("Periodicals"), | ||
"Philosophy": _("Philosophy"), | ||
"Political Science": _("Political Science"), | ||
"Reference & Study Aids": _("Reference & Study Aids"), | ||
"Dictionaries": _("Dictionaries"), | ||
"Foreign Language Study": _("Foreign Language Study"), | ||
"Law": _("Law"), | ||
"Study Aids": _("Study Aids"), | ||
"Religion & Spirituality": _("Religion & Spirituality"), | ||
"Body, Mind & Spirit": _("Body, Mind & Spirit"), | ||
"Buddhism": _("Buddhism"), | ||
"Christianity": _("Christianity"), | ||
"Hinduism": _("Hinduism"), | ||
"Islam": _("Islam"), | ||
"Judaism": _("Judaism"), | ||
"Science & Technology": _("Science & Technology"), | ||
"Computers": _("Computers"), | ||
"Mathematics": _("Mathematics"), | ||
"Medical": _("Medical"), | ||
"Nature": _("Nature"), | ||
"Psychology": _("Psychology"), | ||
"Science": _("Science"), | ||
"Social Sciences": _("Social Sciences"), | ||
"Technology": _("Technology"), | ||
"Self-Help": _("Self-Help"), | ||
"Sports": _("Sports"), | ||
"Travel": _("Travel"), | ||
"True Crime": _("True Crime"), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.