Translate intents so there are no warnings

This commit is contained in:
Garth Vander Houwen 2026-04-16 19:04:31 -07:00
parent cb279a1c31
commit 0fa63ef389
15 changed files with 556 additions and 7 deletions

View file

@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
AA000401SIRI000000000002 /* AppIntentVocabulary.plist in Resources */ = {isa = PBXBuildFile; fileRef = AA000401SIRI000000000001 /* AppIntentVocabulary.plist */; };
AA000301CPTST000000000002 /* CarPlayTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA000301CPTST000000000001 /* CarPlayTests.swift */; };
AA000201CPLAY000000000002 /* CarPlaySceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA000201CPLAY000000000001 /* CarPlaySceneDelegate.swift */; };
AA000201CPLAY000000000004 /* CarPlayIntentDonation.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA000201CPLAY000000000003 /* CarPlayIntentDonation.swift */; };
@ -357,6 +358,20 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
AA000401SIRI000000000010 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = en; path = en.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000011 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = de; path = de.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000012 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = es; path = es.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000013 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = fr; path = fr.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000014 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = it; path = it.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000015 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = ja; path = ja.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000016 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = da; path = da.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000017 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = pl; path = pl.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000018 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = ru; path = ru.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000019 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = he; path = he.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000020 /* sr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = sr; path = sr.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000021 /* se */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = se; path = se.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000022 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = zh-Hans; path = zh-Hans.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000401SIRI000000000023 /* zh-Hant-TW */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = zh-Hant-TW; path = zh-Hant-TW.lproj/AppIntentVocabulary.plist; sourceTree = "<group>"; };
AA000301CPTST000000000001 /* CarPlayTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarPlayTests.swift; sourceTree = "<group>"; };
AA000201CPLAY000000000001 /* CarPlaySceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarPlaySceneDelegate.swift; sourceTree = "<group>"; };
AA000201CPLAY000000000003 /* CarPlayIntentDonation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarPlayIntentDonation.swift; sourceTree = "<group>"; };
@ -1268,6 +1283,7 @@
children = (
237AEB8D2E1FE120003B7CE3 /* Accessory */,
AA000201CPLAY000000000005 /* CarPlay */,
AA000401SIRI000000000001 /* AppIntentVocabulary.plist */,
BCB6137F2C6728E700485544 /* AppIntents */,
D05BD108B673E15AD4B01BC8 /* Intents */,
DD1BD0EC2C603C5B008C0C70 /* Measurement */,
@ -1617,17 +1633,21 @@
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
de,
Base,
"zh-Hans",
pl,
he,
da,
de,
en,
es,
fr,
se,
sr,
he,
it,
ja,
pl,
ru,
se,
sr,
zh-Hans,
zh-Hant-TW,
);
mainGroup = DDC2E14B26CE248E0042C5E4;
packageReferences = (
@ -1660,6 +1680,7 @@
buildActionMask = 2147483647;
files = (
DDC2E15F26CE248F0042C5E4 /* Preview Assets.xcassets in Resources */,
AA000401SIRI000000000002 /* AppIntentVocabulary.plist in Resources */,
DD98EB292E7A42CC0016320A /* AppIcon_Chirpy.icon in Resources */,
25AECD4F2C2F723200862C8E /* Localizable.xcstrings in Resources */,
DDDE5A1329AFEAB900490C6C /* Assets.xcassets in Resources */,
@ -2034,6 +2055,30 @@
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
AA000401SIRI000000000001 /* AppIntentVocabulary.plist */ = {
isa = PBXVariantGroup;
children = (
AA000401SIRI000000000010 /* en */,
AA000401SIRI000000000011 /* de */,
AA000401SIRI000000000012 /* es */,
AA000401SIRI000000000013 /* fr */,
AA000401SIRI000000000014 /* it */,
AA000401SIRI000000000015 /* ja */,
AA000401SIRI000000000016 /* da */,
AA000401SIRI000000000017 /* pl */,
AA000401SIRI000000000018 /* ru */,
AA000401SIRI000000000019 /* he */,
AA000401SIRI000000000020 /* sr */,
AA000401SIRI000000000021 /* se */,
AA000401SIRI000000000022 /* zh-Hans */,
AA000401SIRI000000000023 /* zh-Hant-TW */,
);
name = AppIntentVocabulary.plist;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
25F5D5CD2C4375A8008036E3 /* Debug */ = {
isa = XCBuildConfiguration;

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Send en besked på Meshtastic</string>
<string>Send en Meshtastic-besked til Lars</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Søg efter Meshtastic-beskeder</string>
<string>Find beskeder på Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Markér Meshtastic-besked som læst</string>
<string>Markér Meshtastic-beskeder som læst</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Sende eine Nachricht über Meshtastic</string>
<string>Sende eine Meshtastic-Nachricht an Hans</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Suche Meshtastic-Nachrichten</string>
<string>Finde Nachrichten auf Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Markiere Meshtastic-Nachricht als gelesen</string>
<string>Markiere Meshtastic-Nachrichten als gelesen</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Send a message on Meshtastic</string>
<string>Send a Meshtastic message to John</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Search Meshtastic messages</string>
<string>Find messages on Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Mark Meshtastic message as read</string>
<string>Mark Meshtastic messages as read</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Enviar un mensaje en Meshtastic</string>
<string>Enviar un mensaje de Meshtastic a Juan</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Buscar mensajes de Meshtastic</string>
<string>Encontrar mensajes en Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Marcar mensaje de Meshtastic como leído</string>
<string>Marcar mensajes de Meshtastic como leídos</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Envoyer un message sur Meshtastic</string>
<string>Envoyer un message Meshtastic à Pierre</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Chercher des messages Meshtastic</string>
<string>Trouver des messages sur Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Marquer le message Meshtastic comme lu</string>
<string>Marquer les messages Meshtastic comme lus</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>שלח הודעה ב-Meshtastic</string>
<string>שלח הודעת Meshtastic לדוד</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>חפש הודעות Meshtastic</string>
<string>מצא הודעות ב-Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>סמן הודעת Meshtastic כנקראה</string>
<string>סמן הודעות Meshtastic כנקראו</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Invia un messaggio su Meshtastic</string>
<string>Invia un messaggio Meshtastic a Marco</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Cerca messaggi su Meshtastic</string>
<string>Trova messaggi su Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Segna il messaggio Meshtastic come letto</string>
<string>Segna i messaggi Meshtastic come letti</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Meshtasticでメッセージを送信</string>
<string>Meshtasticで太郎にメッセージを送って</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Meshtasticのメッセージを検索</string>
<string>Meshtasticでメッセージを探して</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Meshtasticのメッセージを既読にして</string>
<string>Meshtasticのメッセージを既読にする</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Wyślij wiadomość przez Meshtastic</string>
<string>Wyślij wiadomość Meshtastic do Jana</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Szukaj wiadomości Meshtastic</string>
<string>Znajdź wiadomości w Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Oznacz wiadomość Meshtastic jako przeczytaną</string>
<string>Oznacz wiadomości Meshtastic jako przeczytane</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Отправить сообщение через Meshtastic</string>
<string>Отправить сообщение Meshtastic Ивану</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Найти сообщения в Meshtastic</string>
<string>Поиск сообщений Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Отметить сообщение Meshtastic как прочитанное</string>
<string>Отметить сообщения Meshtastic как прочитанные</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Skicka ett meddelande på Meshtastic</string>
<string>Skicka ett Meshtastic-meddelande till Erik</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Sök Meshtastic-meddelanden</string>
<string>Hitta meddelanden på Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Markera Meshtastic-meddelande som läst</string>
<string>Markera Meshtastic-meddelanden som lästa</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>Пошаљи поруку преко Meshtastic</string>
<string>Пошаљи Meshtastic поруку Марку</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>Претражи Meshtastic поруке</string>
<string>Пронађи поруке на Meshtastic</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>Означи Meshtastic поруку као прочитану</string>
<string>Означи Meshtastic поруке као прочитане</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>通过Meshtastic发送消息</string>
<string>用Meshtastic给小明发消息</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>搜索Meshtastic消息</string>
<string>查找Meshtastic消息</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>将Meshtastic消息标记为已读</string>
<string>标记Meshtastic消息为已读</string>
</array>
</dict>
</array>
</dict>
</plist>

View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntentPhrases</key>
<array>
<dict>
<key>IntentName</key>
<string>INSendMessageIntent</string>
<key>IntentExamples</key>
<array>
<string>透過Meshtastic傳送訊息</string>
<string>用Meshtastic傳訊息給小明</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSearchForMessagesIntent</string>
<key>IntentExamples</key>
<array>
<string>搜尋Meshtastic訊息</string>
<string>尋找Meshtastic訊息</string>
</array>
</dict>
<dict>
<key>IntentName</key>
<string>INSetMessageAttributeIntent</string>
<key>IntentExamples</key>
<array>
<string>將Meshtastic訊息標記為已讀</string>
<string>標記Meshtastic訊息為已讀</string>
</array>
</dict>
</array>
</dict>
</plist>