Skip to content

Commit

Permalink
Add a textbox to make the update button role more clear for the user
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed May 28, 2024
1 parent c526355 commit 5a514db
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"librarySuccessfullyLoaded": "The library has been successfully loaded",
"noLibraryDetected": "No library detected",
"errorImportingLibrary": "Error importing library",
"updateThisLibrary": "Update this library",
"librarySuccessfullyUpdated": "Library successfully updated",
"libraryNotFound": "Library not found",
"libraryHasNoUpdate": "This library has no update",
Expand Down
1 change: 1 addition & 0 deletions frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"librarySuccessfullyLoaded": "La bibliothèque a été chargée avec succès",
"noLibraryDetected": "Aucune bibliothèque détectée",
"errorImportingLibrary": "Erreur lors de l'importation de la bibliothèque",
"updateThisLibrary": "Mettre à jour cette bibliothèque",
"librarySuccessfullyUpdated": "La bibliothèque a mise à jour avec succès",
"libraryNotFound": "Bibliothèque introuvable",
"libraryHasNoUpdate": "Cette bibliothèque n'a pas de mise à jour",
Expand Down
1 change: 1 addition & 0 deletions frontend/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
"librarySuccessfullyLoaded": "A biblioteca foi carregada com sucesso",
"noLibraryDetected": "Nenhuma biblioteca detectada",
"errorImportingLibrary": "Erro ao importar a biblioteca",
"updateThisLibrary": "Atualizar esta biblioteca",
"librarySuccessfullyUpdated": "Biblioteca actualizada com sucesso",
"libraryNotFound": "Biblioteca não encontrada",
"libraryHasNoUpdate": "Esta biblioteca não foi actualizada",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/lib/components/ModelTable/LibraryActions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { applyAction, deserialize, enhance } from '$app/forms';
import { invalidateAll } from '$app/navigation';
import type { ActionResult } from '@sveltejs/kit';
import * as m from '$paraglide/messages';
export let meta: any;
export let actionsURLModel: string;
Expand Down Expand Up @@ -109,7 +110,7 @@
}}
on:submit={handleSubmit}
>
<button on:click={e => e.stopPropagation()}>
<button title={m.updateThisLibrary()} on:click={e => e.stopPropagation()}>
<i class="fa-solid fa-circle-up" />
</button>
</form>
Expand Down

0 comments on commit 5a514db

Please sign in to comment.