diff --git a/packages/renderer/src/components/SceneList/component.tsx b/packages/renderer/src/components/SceneList/component.tsx
index b147a8c4..7c5ced79 100644
--- a/packages/renderer/src/components/SceneList/component.tsx
+++ b/packages/renderer/src/components/SceneList/component.tsx
@@ -1,5 +1,6 @@
import { useCallback } from 'react';
import { Select, MenuItem, type SelectChangeEvent, Box } from 'decentraland-ui2';
+
import { SortBy } from '/shared/types/projects';
import { t } from '/@/modules/store/translation/utils';
import { SceneCreationSelector } from '/@/components/SceneCreationSelector';
diff --git a/packages/renderer/src/components/Snackbar/MissingScenes/index.tsx b/packages/renderer/src/components/Snackbar/MissingScenes/index.tsx
index 63c520f7..6546ab89 100644
--- a/packages/renderer/src/components/Snackbar/MissingScenes/index.tsx
+++ b/packages/renderer/src/components/Snackbar/MissingScenes/index.tsx
@@ -1,6 +1,7 @@
import { useCallback, useEffect, useState } from 'react';
import { Alert } from 'decentraland-ui2';
+import { t } from '/@/modules/store/translation/utils';
import { useWorkspace } from '/@/hooks/useWorkspace';
import { Button } from '../../Button';
@@ -32,14 +33,14 @@ export function MissingScenes({ onClose }: { onClose: () => void }) {
size="small"
onClick={handleModal(true)}
>
- View
+ {t('snackbar.missing_projects.actions.view')}
>
);
@@ -50,7 +51,7 @@ export function MissingScenes({ onClose }: { onClose: () => void }) {
severity="error"
action={renderActions()}
>
- {missing.length} missing scenes found
+ {t('snackbar.missing_projects.title', { scenes: missing.length })}
(type: T): NotificationId {
- return `${type}_${Date.now()}`;
+ return `${type}_${++incrementalId}`;
}
export function createCustomNotification(type: CustomNotification['type']): CustomNotification {
diff --git a/packages/renderer/src/modules/store/translation/locales/en.json b/packages/renderer/src/modules/store/translation/locales/en.json
index ed2a7144..109bee49 100644
--- a/packages/renderer/src/modules/store/translation/locales/en.json
+++ b/packages/renderer/src/modules/store/translation/locales/en.json
@@ -78,6 +78,15 @@
}
}
},
+ "snackbar": {
+ "missing_projects": {
+ "title": "{scenes} missing {scenes, plural, one {scene} other {scenes}} found",
+ "actions": {
+ "view": "View",
+ "discard_all": "Discard all"
+ }
+ }
+ },
"option_box": {
"learn_more": "Learn more"
}
diff --git a/packages/renderer/src/modules/store/translation/locales/es.json b/packages/renderer/src/modules/store/translation/locales/es.json
index 880c21f5..8333533e 100644
--- a/packages/renderer/src/modules/store/translation/locales/es.json
+++ b/packages/renderer/src/modules/store/translation/locales/es.json
@@ -36,7 +36,7 @@
"size": "Tamaño"
},
"results": "{count} {count, plural, one {resultado} other {resultados}}",
- "parcel_count": "{parcels} {parcels, plural, one {parcel} other {parcels}}"
+ "parcel_count": "{parcels} {parcels, plural, one {parcela} other {parcelas}}"
},
"modal": {
"cancel": "Cancelar",
@@ -78,6 +78,15 @@
}
}
},
+ "snackbar": {
+ "missing_projects": {
+ "title": "{scenes} {scenes, plural, one {escena} other {escenas}} {scenes, plural, one {faltante} other {faltantes}}",
+ "actions": {
+ "view": "Ver",
+ "discard_all": "Descartar todas"
+ }
+ }
+ },
"option_box": {
"learn_more": "Learn more"
}
diff --git a/packages/renderer/src/modules/store/translation/locales/zh.json b/packages/renderer/src/modules/store/translation/locales/zh.json
index c30681fc..d7cd7c45 100644
--- a/packages/renderer/src/modules/store/translation/locales/zh.json
+++ b/packages/renderer/src/modules/store/translation/locales/zh.json
@@ -78,6 +78,15 @@
}
}
},
+ "snackbar": {
+ "missing_projects": {
+ "title": "{scenes} 丢失的 {scenes, plural, one {场景} other {场景}} 成立",
+ "actions": {
+ "view": "版本",
+ "discard_all": "全部丢弃"
+ }
+ }
+ },
"option_box": {
"learn_more": "了解更多"
}