Set the default image name to be the original file name, and move all of the strings into the localization file (closes #10)
This commit is contained in:
parent
3a8a2092f7
commit
e98584d648
5 changed files with 18 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<div class="inputs">
|
||||
<label for="{{meta.idp}}-name">
|
||||
Name (Optional)
|
||||
{{ localize "IT.apps.ImageApp.name-label" }}
|
||||
</label>
|
||||
<input
|
||||
id="{{meta.idp}}-name"
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
>
|
||||
|
||||
<label for="{{meta.idp}}-tags">
|
||||
Tags (Optional)
|
||||
{{ localize "IT.apps.ImageApp.tags-label" }}
|
||||
</label>
|
||||
<string-tags
|
||||
id="{{meta.idp}}-tags"
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
></string-tags>
|
||||
|
||||
<label for="{{meta.idp}}-artists">
|
||||
Artists (Optional)
|
||||
{{ localize "IT.apps.ImageApp.artists-label" }}
|
||||
</label>
|
||||
<multi-select
|
||||
id="{{meta.idp}}-artists"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<header>
|
||||
<div class="row">
|
||||
<label for="{{meta.idp}}-image">
|
||||
Image
|
||||
{{ localize "IT.apps.ImageApp.image-label" }}
|
||||
</label>
|
||||
{{#if docID}}
|
||||
<input
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
type="button"
|
||||
data-action="removeEditingImage"
|
||||
>
|
||||
Clear
|
||||
{{ localize "IT.apps.ImageApp.clear" }}
|
||||
</button>
|
||||
{{else}}
|
||||
<input
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
>
|
||||
{{else}}
|
||||
<span class="placeholder">
|
||||
Select an image to see the preview
|
||||
{{ localize "IT.apps.ImageApp.preview-placeholder" }}
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue