Skip to content

Commit

Permalink
Merge pull request #31 from curzel-it/tags-translations
Browse files Browse the repository at this point in the history
Tags translations
  • Loading branch information
curzel-it authored Mar 9, 2023
2 parents 535ddcc + 0d669d6 commit 599e932
Show file tree
Hide file tree
Showing 10 changed files with 113 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Sources/macOS/DesktopPets.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@
CODE_SIGN_ENTITLEMENTS = Resources/macOS/DesktopPets.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 204010;
CURRENT_PROJECT_VERSION = 204011;
DEVELOPMENT_TEAM = 9L5V9XNS25;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand Down Expand Up @@ -1863,7 +1863,7 @@
CODE_SIGN_ENTITLEMENTS = Resources/macOS/DesktopPets.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 204010;
CURRENT_PROJECT_VERSION = 204011;
DEVELOPMENT_TEAM = 9L5V9XNS25;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand Down
19 changes: 18 additions & 1 deletion Sources/macOS/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"appName" = "Desktop Pets";
"backgrounds.BackgroundMountainDay" = "Mountain, Day";
"backgrounds.BackgroundMountainDynamic" = "Mountain";
"backgrounds.BackgroundMountainNight" = "Mountain, Notte";
"backgrounds.BackgroundMountainNight" = "Mountain, Night";
"backgrounds.title" = "Background";
"cancel" = "Cancel";
"contributors.artist" = "Artist";
Expand Down Expand Up @@ -178,6 +178,23 @@
"species.name.trex_violet" = "Violet T-Rex";
"species.name.trex_yellow" = "Golden T-Rex";
"species.name.ufo" = "UFO";
"tag.aliens" = "Aliens";
"tag.all" = "All";
"tag.bear" = "Bears";
"tag.birds" = "Birds";
"tag.cats" = "Cats";
"tag.decorations" = "Decorations";
"tag.dinos" = "Dinos";
"tag.dogs" = "Dogs";
"tag.emoji" = "Emoji";
"tag.farm" = "Farm";
"tag.forest" = "Forest";
"tag.jungle" = "Jungle";
"tag.memes" = "Memes";
"tag.plants" = "Plants";
"tag.pokèmon" = "Pokèmon";
"tag.slowmotion" = "Slow Motion";
"tag.water" = "Water";
"urls.appStore" = "https://apps.apple.com/app/desktop-pets/id1575542220";
"urls.customPetsDocs" = "https://curzel.it/pet-therapy/custompets";
"urls.discord" = "https://discord.gg/MCdEgXKSH5";
Expand Down
17 changes: 17 additions & 0 deletions Sources/macOS/Resources/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,23 @@
"species.name.trex_violet" = "T-Rex violet";
"species.name.trex_yellow" = "T-Rex doré";
"species.name.ufo" = "OVNI";
"tag.aliens" = "Extraterrestres";
"tag.all" = "Tous";
"tag.bear" = "Ours";
"tag.birds" = "Des oiseaux";
"tag.cats" = "Chats";
"tag.decorations" = "Décorations";
"tag.dinos" = "Dinos";
"tag.dogs" = "Chiens";
"tag.emoji" = "Emoji";
"tag.farm" = "Cultiver";
"tag.forest" = "Forêt";
"tag.jungle" = "Jungle";
"tag.memes" = "Mèmes";
"tag.plants" = "Végétaux";
"tag.pokèmon" = "Pokèmon";
"tag.slowmotion" = "Ralenti";
"tag.water" = "Eau";
"urls.appStore" = "https://apps.apple.com/app/desktop-pets/id1575542220";
"urls.customPetsDocs" = "https://curzel.it/pet-therapy/custompets";
"urls.discord" = "https://discord.gg/MCdEgXKSH5";
Expand Down
17 changes: 17 additions & 0 deletions Sources/macOS/Resources/id.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,23 @@
"species.name.trex_violet" = "T-Rex Ungu";
"species.name.trex_yellow" = "T-Rex Emas";
"species.name.ufo" = "UFO";
"tag.aliens" = "Alien";
"tag.all" = "Setiap orang";
"tag.bear" = "Beruang";
"tag.birds" = "Burung-burung";
"tag.cats" = "Kucing";
"tag.decorations" = "Dekorasi";
"tag.dinos" = "Dinos";
"tag.dogs" = "Anjing";
"tag.emoji" = "Emoji";
"tag.farm" = "Peternakan";
"tag.forest" = "Hutan";
"tag.jungle" = "Hutan";
"tag.memes" = "Meme";
"tag.plants" = "Tanaman";
"tag.pokèmon" = "Pokèmon";
"tag.slowmotion" = "Gerak lambat";
"tag.water" = "Air";
"urls.appStore" = "https://apps.apple.com/app/desktop-pets/id1575542220";
"urls.customPetsDocs" = "https://curzel.it/pet-therapy/custompets";
"urls.discord" = "https://discord.gg/MCdEgXKSH5";
Expand Down
17 changes: 17 additions & 0 deletions Sources/macOS/Resources/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,23 @@
"species.name.trex_violet" = "T-Rex Viola";
"species.name.trex_yellow" = "T-Rex Dorato";
"species.name.ufo" = "UFO";
"tag.aliens" = "Alieni";
"tag.all" = "Tutti";
"tag.bear" = "Orsi";
"tag.birds" = "Uccelli";
"tag.cats" = "Gatti";
"tag.decorations" = "Decorazioni";
"tag.dinos" = "Dinos";
"tag.dogs" = "Cani";
"tag.emoji" = "Emoji";
"tag.farm" = "Fattoria";
"tag.forest" = "Foresta";
"tag.jungle" = "Giungla";
"tag.memes" = "Meme";
"tag.plants" = "Impianti";
"tag.pokèmon" = "Pokèmon";
"tag.slowmotion" = "Rallentatore";
"tag.water" = "Acqua";
"urls.appStore" = "https://apps.apple.com/app/desktop-pets/id1575542220";
"urls.customPetsDocs" = "https://curzel.it/pet-therapy/custompets";
"urls.discord" = "https://discord.gg/MCdEgXKSH5";
Expand Down
19 changes: 18 additions & 1 deletion Sources/macOS/Resources/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"screen" = "屏幕";
"select" = "选择";
"settings.anonymousTracking" = "启用匿名统计";
"settings.anonymousTrackingMessage" = "不会获取任何的个人信息,我们只会跟踪一些匿名的使用情况统计信息。\n\n您可能会问为什么这很重要?\n它让我们能够知道一些最简单的问题,例如哪种宠物最受欢迎..";
"settings.anonymousTrackingMessage" = "不会获取任何的个人信息,我们只会跟踪一些匿名的使用情况统计信息。\n\n您可能会问为什么这很重要?\n它让我们能够知道一些最简单的问题,例如哪种宠物最受欢迎.. . 这听起来很关键,不是吗? 😂\n\n通过 Firebase 收集和存储统计数据。";
"settings.anonymousTrackingTitle" = "匿名统计";
"settings.desktopInteractionsMessage" = "允许宠物在其他应用程序窗口的标题栏上行走。\n这很酷吧,但很抱歉仅当你有只一个显示器时才生效!";
"settings.desktopInteractionsTitle" = "窗口互动";
Expand Down Expand Up @@ -178,6 +178,23 @@
"species.name.trex_violet" = "紫色霸王龙";
"species.name.trex_yellow" = "金色霸王龙";
"species.name.ufo" = "UFO";
"tag.aliens" = "外星人";
"tag.all" = "每个人";
"tag.bear" = "熊";
"tag.birds" = "鸟类";
"tag.cats" = "猫";
"tag.decorations" = "装饰";
"tag.dinos" = "恐龙";
"tag.dogs" = "小狗";
"tag.emoji" = "表情符号";
"tag.farm" = "农场";
"tag.forest" = "森林";
"tag.jungle" = "丛林";
"tag.memes" = "模因";
"tag.plants" = "植物";
"tag.pokèmon" = "神奇宝贝";
"tag.slowmotion" = "慢动作";
"tag.water" = "水";
"urls.appStore" = "https://apps.apple.com/app/desktop-pets/id1575542220";
"urls.customPetsDocs" = "https://curzel.it/pet-therapy/custompets";
"urls.discord" = "https://discord.gg/MCdEgXKSH5";
Expand Down
20 changes: 20 additions & 0 deletions Sources/macOS/Sources/Models/Lang.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,26 @@ enum Lang {
static let useImageInterpolation = "settings.useImageInterpolation".localized()
}

enum Tag {
static let aliens = "tag.aliens".localized()
static let all = "tag.all".localized()
static let bear = "tag.bear".localized()
static let birds = "tag.birds".localized()
static let cats = "tag.cats".localized()
static let decorations = "tag.decorations".localized()
static let dinos = "tag.dinos".localized()
static let dogs = "tag.dogs".localized()
static let emoji = "tag.emoji".localized()
static let farm = "tag.farm".localized()
static let forest = "tag.forest".localized()
static let jungle = "tag.jungle".localized()
static let memes = "tag.memes".localized()
static let plants = "tag.plants".localized()
static let pokèmon = "tag.pokèmon".localized()
static let slowmotion = "tag.slowmotion".localized()
static let water = "tag.water".localized()
}

enum Urls {
static let appStore = "urls.appStore".localized()
static let customPetsDocs = "urls.customPetsDocs".localized()
Expand Down
3 changes: 2 additions & 1 deletion Sources/macOS/Sources/PetsSelection/PetPreview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ struct PetPreview: View {
}
Text(viewModel.title).multilineTextAlignment(.center)
}
.frame(width: size)
.frame(minWidth: size)
.frame(maxWidth: .infinity)
.frame(minHeight: size)
.onTapGesture {
selectionViewModel.showDetails(of: viewModel.species)
Expand Down
2 changes: 1 addition & 1 deletion Species/snail.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dragPath": "front",
"fps": 1,
"zIndex": 0,
"tags": ["slow motion", "memes"],
"tags": ["slowmotion", "memes"],
"id": "snail",
"movementPath": "front",
"speed": 0.2
Expand Down
2 changes: 1 addition & 1 deletion Species/snail_nicky.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dragPath": "front",
"fps": 1,
"zIndex": 0,
"tags": ["slow motion", "memes"],
"tags": ["slowmotion", "memes"],
"id": "snail_nicky",
"movementPath": "front",
"speed": 0.2
Expand Down

0 comments on commit 599e932

Please sign in to comment.