-
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.
Fix translation for Search and add test (SEA-1390)
- Loading branch information
1 parent
9b07240
commit da3c1fb
Showing
5 changed files
with
23 additions
and
7 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE 1.0\n" | ||
"POT-Creation-Date: 2024-07-10 10:22+0200\n" | ||
"POT-Creation-Date: 2024-07-18 15:05+0200\n" | ||
"PO-Revision-Date: 2024-05-21 21:20+0200\n" | ||
"Last-Translator: cyrill <[email protected]>\n" | ||
"Language-Team: German <[email protected]>\n" | ||
|
@@ -53,6 +53,10 @@ msgstr "Nachricht" | |
msgid "Answer" | ||
msgstr "Antworten" | ||
|
||
#: src/privatim/layouts/macros.pt | ||
msgid "Search..." | ||
msgstr "Suchen..." | ||
|
||
#: src/privatim/layouts/navbar.pt src/privatim/views/activities.py | ||
msgid "Activities" | ||
msgstr "Aktivitäten" | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE 1.0\n" | ||
"POT-Creation-Date: 2024-07-10 10:22+0200\n" | ||
"POT-Creation-Date: 2024-07-18 15:05+0200\n" | ||
"PO-Revision-Date: 2024-04-11 15:53+0200\n" | ||
"Last-Translator: cyrill <[email protected]>\n" | ||
"Language-Team: French <[email protected]>\n" | ||
|
@@ -50,6 +50,10 @@ msgstr "Message" | |
msgid "Answer" | ||
msgstr "Répondre" | ||
|
||
#: src/privatim/layouts/macros.pt | ||
msgid "Search..." | ||
msgstr "Rechercher..." | ||
|
||
#: src/privatim/layouts/navbar.pt src/privatim/views/activities.py | ||
msgid "Activities" | ||
msgstr "Activités" | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE 1.0\n" | ||
"POT-Creation-Date: 2024-07-10 10:22+0200\n" | ||
"POT-Creation-Date: 2024-07-18 15:05+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -50,6 +50,10 @@ msgstr "" | |
msgid "Answer" | ||
msgstr "" | ||
|
||
#: ./src/privatim/layouts/macros.pt | ||
msgid "Search..." | ||
msgstr "" | ||
|
||
#: ./src/privatim/layouts/navbar.pt ./src/privatim/views/activities.py | ||
msgid "Activities" | ||
msgstr "" | ||
|
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,6 +1,9 @@ | ||
def test_filter(client): | ||
|
||
def test_translation_navbar(client): | ||
client.login_admin() | ||
|
||
page = client.get('/activities') | ||
form = page.forms['filter_activities'] | ||
breakpoint() | ||
form = page.pyquery('form#search')[0] | ||
input_search = form[1] | ||
assert input_search.get('placeholder') == 'Suchen...' | ||
|