1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 05:19:38 +02:00

Update localization for activities and adventures; change links and placeholders

This commit is contained in:
Sean Morley 2024-11-04 19:25:07 -05:00
parent 7988ba4d68
commit 9ac4a8f4e9
17 changed files with 738 additions and 54 deletions

View file

@ -18,7 +18,7 @@
function addLink() {
// check to make it a valid URL
if (!isValidUrl(newLink)) {
warning = 'Invalid URL';
warning = $t('notes.invalid_url');
return;
} else {
warning = null;
@ -150,7 +150,7 @@
<input
type="url"
class="input input-bordered w-full mb-1"
placeholder="${$t('notes.add_a_link')} (e.g. https://example.com)"
placeholder="{$t('notes.add_a_link')} (e.g. https://example.com)"
bind:value={newLink}
on:keydown={(e) => {
if (e.key === 'Enter') {