Commit 58b65dbf authored by Taddeus Kroes's avatar Taddeus Kroes

Removed locations from locale file, added error translation

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