Rename the ID from token-browser to image-tagger
This commit is contained in:
parent
2fdcdf062c
commit
acc1858f44
25 changed files with 37 additions and 37 deletions
|
|
@ -142,7 +142,7 @@ export class ArtBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
if (element) {
|
||||
element.innerText = `${this.#selected.size} Selected`;
|
||||
element.innerText = _loc(
|
||||
`TB.apps.ArtBrowser.selected`,
|
||||
`IT.apps.ArtBrowser.selected`,
|
||||
{
|
||||
current: this.#selected.size,
|
||||
required: this.#selectCount,
|
||||
|
|
|
|||
|
|
@ -63,11 +63,11 @@ export class ArtistApp extends
|
|||
get title() {
|
||||
if (this._docID && this._doc.name) {
|
||||
return game.i18n.format(
|
||||
`TB.apps.ArtistApp.title.edit`,
|
||||
`IT.apps.ArtistApp.title.edit`,
|
||||
{ name: this._doc.name },
|
||||
);
|
||||
};
|
||||
return game.i18n.localize(`TB.apps.ArtistApp.title.create`);
|
||||
return game.i18n.localize(`IT.apps.ArtistApp.title.create`);
|
||||
};
|
||||
// #endregion Instance Data
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ export class ArtistApp extends
|
|||
/** @this {ArtistApp} */
|
||||
static async #addNewLink() {
|
||||
const link = await promptViaTemplate(
|
||||
`TB.dialogs.Link.title`,
|
||||
`IT.dialogs.Link.title`,
|
||||
`templates/Dialogs/Link.hbs`,
|
||||
);
|
||||
link.isNew = true;
|
||||
|
|
|
|||
|
|
@ -54,14 +54,14 @@ export class ImageApp extends
|
|||
if (this._docID) {
|
||||
if (this._doc.name) {
|
||||
return _loc(
|
||||
`TB.apps.ImageApp.title.edit-named`,
|
||||
`IT.apps.ImageApp.title.edit-named`,
|
||||
{ name: this._doc.name },
|
||||
);
|
||||
} else {
|
||||
return _loc(`TB.apps.ImageApp.title.edit-generic`);
|
||||
return _loc(`IT.apps.ImageApp.title.edit-generic`);
|
||||
}
|
||||
};
|
||||
return _loc(`TB.apps.ImageApp.title.upload`);
|
||||
return _loc(`IT.apps.ImageApp.title.upload`);
|
||||
};
|
||||
// #endregion Instance Data
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export function DBConnectorMixin(HandlebarsApp) {
|
|||
|
||||
if (documents[this._docID] == null) {
|
||||
ui.notifications.error(_loc(
|
||||
`TB.notifs.error.document-ID-404`,
|
||||
`IT.notifs.error.document-ID-404`,
|
||||
{ id: this._docID, dbType: this.dbType },
|
||||
));
|
||||
return false;
|
||||
|
|
@ -73,7 +73,7 @@ export function DBConnectorMixin(HandlebarsApp) {
|
|||
async isAbleToSave() {
|
||||
if (!game.user.can(`FILES_UPLOAD`)) {
|
||||
ui.notifications.error(
|
||||
`TB.notifs.error.no-upload-permission`,
|
||||
`IT.notifs.error.no-upload-permission`,
|
||||
{ localize: true },
|
||||
);
|
||||
return false;
|
||||
|
|
@ -84,7 +84,7 @@ export function DBConnectorMixin(HandlebarsApp) {
|
|||
const newLastModified = await lastModifiedAt(this.dbPath);
|
||||
if (newLastModified !== this.#lastModified) {
|
||||
ui.notifications.error(
|
||||
`TB.notifs.error.db-out-of-date`,
|
||||
`IT.notifs.error.db-out-of-date`,
|
||||
{ localize: true },
|
||||
);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue