Merge pull request #16601 from silentoplayz/i18n-updates
i18n.t: internationalize more strings throughout the codebase
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let value = '';
|
||||
export let placeholder = 'Select a model';
|
||||
export let placeholder = $i18n.t('Select a model');
|
||||
export let searchEnabled = true;
|
||||
export let searchPlaceholder = 'Search a model';
|
||||
export let searchPlaceholder = $i18n.t('Search a model');
|
||||
|
||||
export let items = [
|
||||
{ value: 'mango', label: 'Mango' },
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
<input
|
||||
type="text"
|
||||
class="flex-1 rounded-lg py-2 text-sm dark:text-gray-300 dark:bg-gray-850 outline-hidden border border-gray-100 dark:border-gray-850"
|
||||
placeholder="Enter hex color (e.g. #FF0000)"
|
||||
placeholder={$i18n.t("Enter hex color (e.g. #FF0000)")}
|
||||
bind:value={valves[property]}
|
||||
autocomplete="off"
|
||||
disabled
|
||||
@@ -139,7 +139,7 @@
|
||||
<input
|
||||
type="text"
|
||||
class=" w-full rounded-lg py-1 text-left text-sm dark:text-gray-300 dark:bg-gray-850 outline-hidden border border-gray-100 dark:border-gray-850"
|
||||
placeholder="Enter coordinates (e.g. 51.505, -0.09)"
|
||||
placeholder={$i18n.t("Enter hex color (e.g. #FF0000)")}
|
||||
bind:value={valves[property]}
|
||||
autocomplete="off"
|
||||
on:change={() => {
|
||||
|
||||
Reference in New Issue
Block a user