Skip to content

Commit

Permalink
make all links in nav title case
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Aug 7, 2024
1 parent 15fed1d commit 6b40495
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions admin_ui/src/components/NavDropDownMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<DropDownMenu>
<li>
<a href="#" v-on:click.prevent="logout" data-uitest="logout_button">
<font-awesome-icon icon="sign-out-alt" />{{ $t("Log out") }}
<font-awesome-icon icon="sign-out-alt" />{{ $t("Log Out") }}
</a>
</li>
<li>
<router-link
:to="{
name: 'changePassword'
}"
><font-awesome-icon icon="key" />{{ $t("Change password") }}
><font-awesome-icon icon="key" />{{ $t("Change Password") }}
</router-link>
</li>
<li v-if="darkMode">
Expand Down
4 changes: 2 additions & 2 deletions admin_ui/src/views/ChangePassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="inner">
<BackButton />
<div class="heading">
<h1>{{ $t("Change password") }}</h1>
<h1>{{ $t("Change Password") }}</h1>
</div>
<form v-on:submit.prevent="changePassword">
<label>{{ $t("Current password") }}</label>
Expand All @@ -21,7 +21,7 @@
:value="confirmNewPassword"
@input="confirmNewPassword = $event"
/>
<button>{{ $t("Change password") }}</button>
<button>{{ $t("Change Password") }}</button>
</form>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions e2e/test_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_row_listing_filter(playwright: Playwright, dev_server) -> None:
page.get_by_role("button", name="Sort").click()
page.get_by_title("piccolo").click()
page.once("dialog", lambda dialog: dialog.dismiss())
page.get_by_text("Log out").click()
page.get_by_text("Log Out").click()
# ---------------------
context.close()
browser.close()
Expand Down Expand Up @@ -73,7 +73,7 @@ def test_custom_form(playwright: Playwright, dev_server) -> None:
page.get_by_role("link", name="Back to home page").click()
page.get_by_title("piccolo").click()
page.once("dialog", lambda dialog: dialog.dismiss())
page.get_by_text("Log out").click()
page.get_by_text("Log Out").click()
# ---------------------
context.close()
browser.close()
Expand Down Expand Up @@ -101,7 +101,7 @@ def test_bulk_update(playwright: Playwright, dev_server) -> None:
page.get_by_role("button", name="Update").click()
page.get_by_title("piccolo").click()
page.once("dialog", lambda dialog: dialog.dismiss())
page.get_by_text("Log out").click()
page.get_by_text("Log Out").click()
# ---------------------
context.close()
browser.close()
Expand All @@ -122,7 +122,7 @@ def test_custom_links(playwright: Playwright, dev_server) -> None:
page.get_by_role("link", name="7", exact=True).click()
page.get_by_role("link", name="piccolo", exact=True).click()
page.once("dialog", lambda dialog: dialog.dismiss())
page.get_by_role("link", name="Log out", exact=True).click()
page.get_by_role("link", name="Log Out", exact=True).click()
# ---------------------
context.close()
browser.close()
52 changes: 26 additions & 26 deletions piccolo_admin/translations/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"Ascending": "Ascending",
"Back to home page": "Back to home page",
"Back": "Back",
"Change password": "Change password",
"Change Password": "Change Password",
"Clear filters": "Clear filters",
"Close": "Close",
"Comma": "Comma",
Expand Down Expand Up @@ -62,7 +62,7 @@
"Light Mode": "Light Mode",
"Links": "Links",
"Loading": "Loading",
"Log out": "Log out",
"Log Out": "Log Out",
"Login": "Login",
"Minutes": "Minutes",
"New password confirmation": "New password confirmation",
Expand Down Expand Up @@ -115,7 +115,7 @@
"Ascending": "Esgynnol",
"Back to home page": "Yn ôl i'r dudalen gartref",
"Back": "Ol",
"Change password": "Newid cyfrinair",
"Change Password": "Newid cyfrinair",
"Clear filters": "Clirio hidlwyr",
"Close": "Cau",
"Comma": "Coma",
Expand Down Expand Up @@ -143,7 +143,7 @@
"Light Mode": "Modd Golau",
"Links": "Dolenni",
"Loading": "Llwytho",
"Log out": "Allgofnodi",
"Log Out": "Allgofnodi",
"Login": "Mewngofnodi",
"Minutes": "Munudau",
"New password confirmation": "Cadarnhad cyfrinair newydd",
Expand Down Expand Up @@ -195,7 +195,7 @@
"Ascending": "Uzlazno",
"Back to home page": "Vrati se na početnu stranicu",
"Back": "Natrag",
"Change password": "Promijeni lozinku",
"Change Password": "Promijeni lozinku",
"Clear filters": "Obriši filtere",
"Close": "Zatvori",
"Comma": "Zarez",
Expand Down Expand Up @@ -223,7 +223,7 @@
"Light Mode": "Svijetli način rada",
"Links": "Poveznice",
"Loading": "Učitavanje",
"Log out": "Odjava",
"Log Out": "Odjava",
"Login": "Prijaviti se",
"Minutes": "Minute",
"New password confirmation": "Potvrda nove lozinke",
Expand Down Expand Up @@ -276,7 +276,7 @@
"Ascending": "Ascendente",
"Back to home page": "Voltar à página inicial",
"Back": "Voltar atrás",
"Change password": "Mudar senha",
"Change Password": "Mudar senha",
"Clear filters": "Limpar Filtros",
"Close": "Fechar",
"Comma": "Vírgula",
Expand Down Expand Up @@ -304,7 +304,7 @@
"Light Mode": "Modo claro",
"Links": "Links",
"Loading": "Carregando",
"Log out": "Sair",
"Log Out": "Sair",
"Login": "Conecte-se",
"Minutes": "Minutos",
"New password confirmation": "Nova confirmação de senha",
Expand Down Expand Up @@ -357,7 +357,7 @@
"Ascending": "Aufsteigend",
"Back to home page": "Zurück zur Startseite",
"Back": "Zurück",
"Change password": "Passwort ändern",
"Change Password": "Passwort ändern",
"Clear filters": "Filter löschen",
"Close": "Schließen",
"Comma": "Komma",
Expand Down Expand Up @@ -385,7 +385,7 @@
"Light Mode": "Heller Modus",
"Links": "Links",
"Loading": "Wird geladen",
"Log out": "Ausloggen",
"Log Out": "Ausloggen",
"Login": "Anmeldung",
"Minutes": "Minuten",
"New password confirmation": "Neues Passwort bestätigen",
Expand Down Expand Up @@ -438,7 +438,7 @@
"Ascending": "Croissant",
"Back to home page": "Retour à la page d'accueil",
"Back": "Retour",
"Change password": "Changer le mot de passe",
"Change Password": "Changer le mot de passe",
"Clear filters": "Supprimer les filtres",
"Close": "Fermer",
"Create": "Créer",
Expand Down Expand Up @@ -466,7 +466,7 @@
"Light Mode": "Mode léger",
"Links": "Liens",
"Loading": "Chargement",
"Log out": "Se déconnecter",
"Log Out": "Se déconnecter",
"Login": "Connexion",
"Minutes": "Minutes",
"New password confirmation": "Confirmation du nouveau mot de passe",
Expand Down Expand Up @@ -519,7 +519,7 @@
"Ascending": "Ascendente",
"Back to home page": "Volver a la página de inicio",
"Back": "atrás",
"Change password": "Cambia la contraseña",
"Change Password": "Cambia la contraseña",
"Clear filters": "Eliminar filtros",
"Close": "Cerca",
"Comma": "Coma",
Expand Down Expand Up @@ -547,7 +547,7 @@
"Light Mode": "Modo de luz",
"Links": "Enlaces",
"Loading": "Cargando",
"Log out": "Cerrar sesión",
"Log Out": "Cerrar sesión",
"Login": "Acceso",
"Minutes": "Minutos",
"New password confirmation": "Nueva confirmación de contraseña",
Expand Down Expand Up @@ -599,7 +599,7 @@
"Ascending": "Nouseva",
"Back to home page": "Takaisin pääsivulle",
"Back": "Takaisin",
"Change password": "Vaihda salasana",
"Change Password": "Vaihda salasana",
"Clear filters": "Nollaa suodattimet",
"Close": "Sulje",
"Comma": "Pilkku",
Expand Down Expand Up @@ -627,7 +627,7 @@
"Light Mode": "Vaalea tila",
"Links": "Linkkejä",
"Loading": "Latautuu",
"Log out": "Kirjaudu ulos",
"Log Out": "Kirjaudu ulos",
"Login": "Kirjaudu",
"Minutes": "Minuutit",
"New password confirmation": "Uusi salasana hyväksyntä",
Expand Down Expand Up @@ -679,7 +679,7 @@
"Ascending": "По возрастанию",
"Back to home page": "Вернуться на главную страницу",
"Back": "Назад",
"Change password": "Сменить пароль",
"Change Password": "Сменить пароль",
"Clear filters": "Сбросить фильтры",
"Close": "Закрыть",
"Comma": "Запятая",
Expand Down Expand Up @@ -707,7 +707,7 @@
"Light Mode": "Светлая тема",
"Links": "Cсылки",
"Loading": "Загрузка",
"Log out": "Выйти",
"Log Out": "Выйти",
"Login": "Войти",
"Minutes": "Минуты",
"New password confirmation": "Повторите новый пароль",
Expand Down Expand Up @@ -759,7 +759,7 @@
"Ascending": "За зростанням",
"Back to home page": "Повернутися на головну сторінку",
"Back": "Назад",
"Change password": "Змінити пароль",
"Change Password": "Змінити пароль",
"Clear filters": "Очистити фільтри",
"Close": "Закрити",
"Comma": "Кома",
Expand Down Expand Up @@ -787,7 +787,7 @@
"Light Mode": "Світла тема",
"Links": "Посилання",
"Loading": "Завантаження",
"Log out": "Вийти",
"Log Out": "Вийти",
"Login": "Увійти",
"Minutes": "Хвилини",
"New password confirmation": "Підтвердіть новий пароль",
Expand Down Expand Up @@ -839,7 +839,7 @@
"Ascending": "正序",
"Back to home page": "返回主页",
"Back": "返回",
"Change password": "修改密码",
"Change Password": "修改密码",
"Clear filters": "清除过滤器",
"Close": "关闭",
"Comma": "逗号",
Expand Down Expand Up @@ -867,7 +867,7 @@
"Light Mode": "白天模式",
"Links": "链接",
"Loading": "加载中",
"Log out": "登出",
"Log Out": "登出",
"Login": "登录",
"Minutes": "分钟",
"New password confirmation": "确认新密码",
Expand Down Expand Up @@ -920,7 +920,7 @@
"Ascending": "升冪排序",
"Back to home page": "返回首頁",
"Back": "返回",
"Change password": "修改密碼",
"Change Password": "修改密碼",
"Clear filters": "清除篩選器",
"Close": "關閉",
"Comma": "逗號",
Expand Down Expand Up @@ -948,7 +948,7 @@
"Light Mode": "淺色模式",
"Links": "連結",
"Loading": "載入中",
"Log out": "登出",
"Log Out": "登出",
"Login": "登入",
"Minutes": "分鐘",
"New password confirmation": "確認新密碼",
Expand Down Expand Up @@ -1000,7 +1000,7 @@
"Ascending": "Artan sırada",
"Back to home page": "Anasayfaya geri dön",
"Back": "Geri dön",
"Change password": "Şifreyi değiştir",
"Change Password": "Şifreyi değiştir",
"Clear filters": "Filtreleri temizle",
"Close": "Kapat",
"Comma": "Virgül",
Expand Down Expand Up @@ -1028,7 +1028,7 @@
"Light Mode": "Gündüz Modu",
"Links": "Bağlantılar",
"Loading": "Yükleniyor",
"Log out": "Çıkış yap",
"Log Out": "Çıkış yap",
"Login": "Giriş",
"Minutes": "Dakikalar",
"New password confirmation": "Yeni şifre tekrarı",
Expand Down

0 comments on commit 6b40495

Please sign in to comment.