Skip to content

Commit

Permalink
Merge pull request #1760 from visualize-admin/feat/login-table-improv…
Browse files Browse the repository at this point in the history
…ements

feat: Smaller login improvements
  • Loading branch information
bprusinowski authored Sep 26, 2024
2 parents 8463b1e + d0dbef0 commit 7c8d314
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 23 deletions.
8 changes: 4 additions & 4 deletions app/locales/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1368,10 +1368,6 @@ msgstr "Filter anzeigen"
msgid "login.chart.actions.unpublish"
msgstr "Veröffentlichung aufheben"

#: app/login/components/profile-tables.tsx
msgid "login.chart.copy"
msgstr "Kopieren"

#: app/login/components/profile-tables.tsx
msgid "login.chart.delete"
msgstr "Löschen"
Expand All @@ -1384,6 +1380,10 @@ msgstr "Möchten Sie diesen Entwurf wirklich löschen?"
msgid "login.chart.delete.confirmation"
msgstr "Sind Sie sicher, dass Sie diese Grafik löschen wollen?"

#: app/login/components/profile-tables.tsx
msgid "login.chart.duplicate"
msgstr "Duplizieren"

#: app/login/components/profile-tables.tsx
#: app/pages/v/[chartId].tsx
msgid "login.chart.edit"
Expand Down
8 changes: 4 additions & 4 deletions app/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1368,10 +1368,6 @@ msgstr "Show Filters"
msgid "login.chart.actions.unpublish"
msgstr "Unpublish"

#: app/login/components/profile-tables.tsx
msgid "login.chart.copy"
msgstr "Copy"

#: app/login/components/profile-tables.tsx
msgid "login.chart.delete"
msgstr "Delete"
Expand All @@ -1384,6 +1380,10 @@ msgstr "Are you sure you want to delete this draft?"
msgid "login.chart.delete.confirmation"
msgstr "Are you sure you want to delete this chart?"

#: app/login/components/profile-tables.tsx
msgid "login.chart.duplicate"
msgstr "Duplicate"

#: app/login/components/profile-tables.tsx
#: app/pages/v/[chartId].tsx
msgid "login.chart.edit"
Expand Down
8 changes: 4 additions & 4 deletions app/locales/fr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1368,10 +1368,6 @@ msgstr "Afficher les filtres"
msgid "login.chart.actions.unpublish"
msgstr "Dépublier"

#: app/login/components/profile-tables.tsx
msgid "login.chart.copy"
msgstr "Copie"

#: app/login/components/profile-tables.tsx
msgid "login.chart.delete"
msgstr "Supprimer"
Expand All @@ -1384,6 +1380,10 @@ msgstr ""
msgid "login.chart.delete.confirmation"
msgstr "Êtes-vous sûr de vouloir supprimer cette carte ?"

#: app/login/components/profile-tables.tsx
msgid "login.chart.duplicate"
msgstr "Dupliquer"

#: app/login/components/profile-tables.tsx
#: app/pages/v/[chartId].tsx
msgid "login.chart.edit"
Expand Down
8 changes: 4 additions & 4 deletions app/locales/it/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1368,10 +1368,6 @@ msgstr "Mostra i filtri"
msgid "login.chart.actions.unpublish"
msgstr "Annullare la pubblicazione"

#: app/login/components/profile-tables.tsx
msgid "login.chart.copy"
msgstr "Copia"

#: app/login/components/profile-tables.tsx
msgid "login.chart.delete"
msgstr "Cancellare"
Expand All @@ -1384,6 +1380,10 @@ msgstr ""
msgid "login.chart.delete.confirmation"
msgstr "Sei sicuro di voler cancellare questo grafico?"

#: app/login/components/profile-tables.tsx
msgid "login.chart.duplicate"
msgstr "Duplicare"

#: app/login/components/profile-tables.tsx
#: app/pages/v/[chartId].tsx
msgid "login.chart.edit"
Expand Down
8 changes: 1 addition & 7 deletions app/login/components/profile-tables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const ProfileVisualizationsRow = (props: {
{
type: "link",
href: `/${locale}/create/new?copy=${config.key}`,
label: t({ id: "login.chart.copy", message: "Copy" }),
label: t({ id: "login.chart.duplicate", message: "Duplicate" }),
iconName: "copy",
},
{
Expand All @@ -224,12 +224,6 @@ const ProfileVisualizationsRow = (props: {
iconName: "edit",
priority: !isPublished ? 0 : undefined,
},
{
type: "link",
href: publishLink,
label: t({ id: "login.chart.share", message: "Share" }),
iconName: "linkExternal",
},
isPublished
? {
type: "button",
Expand Down

0 comments on commit 7c8d314

Please sign in to comment.