Skip to content
Snippets Groups Projects
Commit 58b65dbf authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Removed locations from locale file, added error translation

parent 260c7b0a
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ translations: $(patsubst %,$(LOCALE_DIR)/%/LC_MESSAGES/$(GETTEXT_DOMAIN).mo,$(LO
.PRECIOUS: $(LOCALE_DIR)/%/LC_MESSAGES/$(GETTEXT_DOMAIN).po
$(LOCALE_DIR)/%/LC_MESSAGES/$(GETTEXT_DOMAIN).po: $(SRC_FILES)
@if [ ! -e $@ ]; then mkdir -p $(@D); touch $@; fi
xgettext -L php --omit-header --join-existing -o $@ $^
xgettext -L php --omit-header --join-existing --no-location -o $@ $^
# Cleanup
......
......@@ -7,140 +7,96 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: routes/common.php:15 routes/register.php:18 routes/register.php:20
msgid "Username"
msgstr "Gebruikersnaam"
#: routes/common.php:17 routes/register.php:24 routes/register.php:26
msgid "Password"
msgstr "Wachtwoord"
#: routes/common.php:20 templates/layout.latte:3
msgid "Login"
msgstr "Inloggen"
#: routes/match.php:34 util.php:59 util.php:61
msgid "Match does not exist"
msgstr "Score bestaat niet"
#: routes/match.php:37
msgid "You are not allowed to view this match"
msgstr "Onvoldoende permissies"
#: routes/match.php:77 routes/match.php:105 routes/match.php:64
#: routes/match.php:92 routes/match.php:32 routes/match.php:60
#: routes/user.php:60 routes/user.php:109 routes/user.php:114
#: routes/user.php:106
msgid "Distance"
msgstr "Afstand"
#: routes/match.php:78 routes/match.php:65 routes/match.php:33
#: routes/user.php:61 routes/user.php:110 routes/user.php:115
#: routes/user.php:107
msgid "Select a distance"
msgstr "Selecteer een afstand"
#: routes/match.php:79 routes/match.php:66 routes/match.php:34
msgid "Tag"
msgstr "Tag"
#: routes/match.php:80 routes/match.php:67 routes/match.php:35
msgid "Select a tag"
msgstr "Selecteer een tag"
#: routes/match.php:81 routes/match.php:97 routes/match.php:68
#: routes/match.php:84 routes/match.php:36 routes/match.php:52
msgid "Name"
msgstr "Naam"
#: routes/match.php:82 routes/match.php:69 routes/user.php:52
#: routes/match.php:37 routes/user.php:65 routes/user.php:114
#: routes/user.php:119 routes/user.php:111
msgid "Filter"
msgstr "Filteren"
#: routes/match.php:99 routes/match.php:86 routes/match.php:54
msgid "Date"
msgstr "Datum"
#: routes/match.php:102 routes/match.php:89 routes/match.php:57
msgid "YYYY-MM-DD HH:MM"
msgstr "JJJJ-MM-DD UU:MM"
#: routes/match.php:103 routes/match.php:90 routes/match.php:58
msgid "Invalid date"
msgstr "Ongeldige datum"
#: routes/match.php:106 routes/match.php:93 routes/match.php:61
msgid "Distance in meters"
msgstr "Afstand in meters"
#: routes/match.php:109 routes/match.php:96 routes/match.php:64
#: routes/user.php:62 routes/user.php:111 routes/user.php:116
#: routes/user.php:108
msgid "Discipline"
msgstr "Discipline"
#: routes/match.php:112 routes/match.php:99 routes/match.php:67
msgid "Arrows"
msgstr "Pijlen"
#: routes/match.php:118 routes/match.php:105 routes/match.php:73
msgid "Turns"
msgstr "Beurten"
#: routes/match.php:123 routes/match.php:110 routes/match.php:78
msgid "Notes"
msgstr "Opmerkingen"
#: routes/match.php:124 routes/match.php:111 routes/match.php:79
msgid "Create"
msgstr "Opslaan"
#: routes/register.php:22 routes/register.php:24
msgid "Username may not contain whitespace or special characters"
msgstr "Gebruikersnaam mag geen spaties of speciale tekens bevatten"
#: routes/register.php:23 routes/register.php:25
msgid "This username has already been taken"
msgstr "Deze gebruikersnaam is al in gebruik"
#: routes/register.php:26 routes/register.php:30
msgid "Confirm password"
msgstr "Bevestig wachtwoord"
#: routes/register.php:29 routes/user.php:30 routes/register.php:33
#: routes/user.php:32
msgid "Passwords must match"
msgstr "Wachtwoorden moeten gelijk zijn"
#: routes/register.php:30 templates/layout.latte:4 templates/login.latte:13
#: routes/register.php:34
msgid "Register"
msgstr "Registreren"
#: routes/common.php:19
msgid "Remember me"
msgstr "Onthoud mij"
#: templates/layout.latte:2
msgid "Matches"
msgstr "Scores"
#: templates/layout.latte:3
msgid "Logout"
msgstr "Uitloggen"
#: templates/match/create.latte:4
msgid "Add new match"
msgstr "Nieuwe score"
#: templates/match/create.latte:9 routes/user.php:51 routes/user.php:59
#: routes/user.php:108 routes/user.php:113 routes/user.php:105
msgid "Tags"
msgstr "Tags"
#: templates/match/create.latte:28
msgid "Cancel"
msgstr "Annuleren"
......@@ -183,33 +139,22 @@ msgstr "Verwijderen"
msgid "Scores"
msgstr "Punten"
#: routes/user.php:31 routes/user.php:33
msgid "Save"
msgstr "Opslaan"
#: util.php:53 util.php:55
msgid "No access to this user"
msgstr "Geen toegang tot deze gebruiker"
#: routes/user.php:47 routes/user.php:52 routes/user.php:101
#: routes/user.php:106 routes/user.php:98
msgid "From"
msgstr "Vanaf"
#: routes/user.php:49 routes/user.php:55 routes/user.php:104
#: routes/user.php:109 routes/user.php:101
msgid "Until"
msgstr "Tot"
#: routes/match.php:25 routes/user.php:45 routes/user.php:94
#: routes/user.php:99 routes/user.php:91
#, php-format
msgid "%d meters"
msgstr "%d meter"
#: routes/user.php:54 routes/user.php:57 routes/user.php:103
#: routes/user.php:106 routes/user.php:108 routes/user.php:111
#: routes/user.php:100
msgid "YYYY-MM-DD"
msgstr "JJJJ-MM-DD"
......@@ -222,19 +167,15 @@ msgstr "Voortgangsgrafiek"
msgid "Profile"
msgstr "Profiel"
#: routes/user.php:23
msgid "Current password"
msgstr "Huidig wachtwoord"
#: routes/user.php:25
msgid "Password incorrect"
msgstr "Ongeldig wachtwoord"
#: routes/user.php:26
msgid "New password"
msgstr "Nieuw wachtwoord"
#: routes/user.php:27 routes/user.php:30
msgid "Confirm new password"
msgstr "Bevestig nieuw wachtwoord"
......@@ -250,10 +191,12 @@ msgstr "Gemiddelde wedstrijdscore"
msgid "Average arrow score"
msgstr "Gemiddelde pijlscore"
#: routes/register.php:28 routes/user.php:28
#, php-format
msgid "Password must be at least %d charachers"
msgstr "Uw wachtwoord moet minimaal %d karakters lang zijn"
msgid "Show/hide colors"
msgstr "Toon/verberg kleuren"
msgid "User not found"
msgstr "Gebruiker niet gevonden"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment