Skip to content

Commit

Permalink
Merge pull request #827 from Zagrios/823-bug-popup-modal-for-linkingu…
Browse files Browse the repository at this point in the history
…nlinking-blocks-shows-miscbloqs-missing-translation

[bugfix-823] fix blocks translations
  • Loading branch information
Zagrios authored Mar 9, 2025
2 parents c00051e + f69f937 commit 6ddf62c
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion assets/jsons/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatare",
"sabers": "Säbel",
"platforms": "Plattformen",
"blocks": "Blöcke",
"bloqs": "Blöcke",
"cancel": "Abbrechen",
"delete": "Löschen",
"accept": "Akzeptieren",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatars",
"sabers": "Sabers",
"platforms": "Platforms",
"blocks": "Blocks",
"bloqs": "Blocks",
"cancel": "Cancel",
"delete": "Delete",
"accept": "Accept",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatares",
"sabers": "Sables",
"platforms": "Plataformas",
"blocks": "Bloques",
"bloqs": "Bloques",
"cancel": "Cancelar",
"delete": "Borrar",
"accept": "Aceptar",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatars",
"sabers": "Sabres",
"platforms": "Plateformes",
"blocks": "Blocs",
"bloqs": "Blocs",
"cancel": "Annuler",
"delete": "Supprimer",
"accept": "Accepter",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatar",
"sabers": "Spade",
"platforms": "Piattaforme",
"blocks": "Blocchi",
"bloqs": "Blocchi",
"cancel": "Cancella",
"delete": "Elimina",
"accept": "Accetta",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "アバター",
"sabers": "セイバー",
"platforms": "プラットフォーム",
"blocks": "ブロック",
"bloqs": "ブロック",
"cancel": "キャンセル",
"delete": "削除",
"accept": "同意する",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "아바타",
"sabers": "세이버",
"platforms": "플랫폼",
"blocks": "블록",
"bloqs": "블록",
"cancel": "취소",
"delete": "삭제",
"accept": "동의",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatares",
"sabers": "Sabres",
"platforms": "Platformas",
"blocks": "Blocos",
"bloqs": "Blocos",
"cancel": "Cancelar",
"delete": "Deletar",
"accept": "Aceitar",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Аватары",
"sabers": "Сабли",
"platforms": "Платформы",
"blocks": "Блоки",
"bloqs": "Блоки",
"cancel": "Отмена",
"delete": "Удалить",
"accept": "Принять",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Avatars",
"sabers": "Sabers",
"platforms": "Platforms",
"blocks": "Blocks",
"bloqs": "Blocks",
"cancel": "Kanselahin",
"delete": "Tanggalin",
"accept": "Tanggapin",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "Аватари",
"sabers": "Шпаги",
"platforms": "Платформи",
"blocks": "Блоки",
"bloqs": "Блоки",
"cancel": "Скасувати",
"delete": "Видалити",
"accept": "Прийняти",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "頭像",
"sabers": "光劍",
"platforms": "平台",
"blocks": "方塊",
"bloqs": "方塊",
"cancel": "取消",
"delete": "刪除",
"accept": "接受",
Expand Down
2 changes: 1 addition & 1 deletion assets/jsons/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"avatars": "头像",
"sabers": "光剑",
"platforms": "平台",
"blocks": "方块",
"bloqs": "方块",
"cancel": "取消",
"delete": "删除",
"accept": "接受",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { MapsManagerService } from "renderer/services/maps-manager.service";
import { map } from "rxjs";
import { DISCORD_URL } from "shared/constants";

export const LinkContentModal: ModalComponent<void, {version: BSVersion, contentType: "maps"|"playlists"|"avatars"|"sabers"|"platforms"|"blocks"}> = ({options: { data: { version, contentType } }, resolver }) => {
export const LinkContentModal: ModalComponent<void, {version: BSVersion, contentType: "maps"|"playlists"|"avatars"|"sabers"|"platforms"|"bloqs"}> = ({options: { data: { version, contentType } }, resolver }) => {
const { text: t, element: te } = useTranslationV2();

const versionLinker = useService(VersionFolderLinkerService);
Expand All @@ -35,7 +35,7 @@ export const LinkContentModal: ModalComponent<void, {version: BSVersion, content
return window.electron.path.join(sharedPath, MODEL_TYPE_FOLDERS.saber);
case "platforms":
return window.electron.path.join(sharedPath, MODEL_TYPE_FOLDERS.platform);
case "blocks":
case "bloqs":
return window.electron.path.join(sharedPath, MODEL_TYPE_FOLDERS.bloq);
default:
return "";
Expand All @@ -54,7 +54,7 @@ export const LinkContentModal: ModalComponent<void, {version: BSVersion, content
return window.electron.path.join(version.path, MODEL_TYPE_FOLDERS.saber);
case "platforms":
return window.electron.path.join(version.path, MODEL_TYPE_FOLDERS.platform);
case "blocks":
case "bloqs":
return window.electron.path.join(version.path, MODEL_TYPE_FOLDERS.bloq);
default:
return "";
Expand Down

0 comments on commit 6ddf62c

Please sign in to comment.