From 0da3145d17cf0a49ef98ca8d63942c9b53e9b9cd Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 15 Jun 2026 02:02:47 +0100 Subject: [PATCH] Remove unused Unity localization package --- .voidbot/state/aetheria.cc | Bin 94710 -> 95809 bytes Aetheria.State/README.md | 3 + Assets/Samples/Localization.meta | 8 - .../Samples/Localization/0.11.1-preview.meta | 8 - .../0.11.1-preview/Google Sheets.meta | 8 - .../0.11.1-preview/Google Sheets/.sample.json | 5 - .../0.11.1-preview/Google Sheets/Editor.meta | 8 - .../Editor/CustomColumnDataExample.cs | 53 ---- .../Editor/CustomColumnDataExample.cs.meta | 11 - .../Editor/GoogleSheetsExamples.cs | 245 ------------------ .../Editor/GoogleSheetsExamples.cs.meta | 11 - .../Google Sheets/Editor/SmartStringColumn.cs | 33 --- .../Editor/SmartStringColumn.cs.meta | 11 - Packages/manifest.json | 1 - Packages/packages-lock.json | 50 ---- docs/aetheria-perfect-machine-map.md | 9 +- 16 files changed, 11 insertions(+), 453 deletions(-) delete mode 100644 Assets/Samples/Localization.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/.sample.json delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs.meta delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs delete mode 100644 Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs.meta diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index 9953bfc7835eb031c6510c99f51d87540bb81da9..5fd23bbddfc8649c3d0c1747041f0c3689942a86 100644 GIT binary patch delta 2443 zcmb_eO>Epm6vq8Q5XvP*{YhJORFD95?ai)8+9n`K)3l=MPt;Hl6`)S+XYVxjj59Od zG^N5qoGLhgeApur1XT(ZDvBT=gb)V~h#Q<*fdt|R7cOw+jsJE-+ZzX8JobCv``-7y zH-G=W_1izU-dx%AP-|keH8Iw54n5WC{pMRcvhOxs>%Sa3VqWgelFhRJa(t}#@_{Y; zH~CxEp4@Wo`?N6yx&x9?a-K82Ok(OT&;ZEExwB`QXJAPSu7s~ioX7yKt0ao3T)y?v zd7dcn%70D?mxk;L)l6`*L=}+`i7p;%QT#_R1<{gn#Wd?e`J0KJR^f}Z&PQ%YS#;ad zHLMQx2p1$Y{{=Jx;tCH)q8JbEl75m19xfBg35#MOHG()HL=Xa*>i}p)!a=NxrcsP% z5`2)r-KwG)9xx8hU|r3eo*9p6AvYX2WL`^v1_DRcFdi36wvcg$a>RtO76@=H87SflNv1qcf>Lxo1l1T|vmmoU zW~K01hzvQ?LY7hIT*+c>emR=3(3@p3;1>shEMe(Y$DHdLut|d7w%okn#}x^HgQUo0 zcJ|6hnj@UY2-;?xTvC|Qs0Z5*Bobbdvl&r5gPcTLESVB2SChsps88FpYutJPANMyq-kcaNaP)7@bThg{p4O874N z57<#0$GV4k@0?Z2-Hwpwz*j%t_v~9A;*{MwmC=h&XK(!U@LKoBkB6R{IZb0^*%i`L zc|Bz_n|&O_O>{0ggM*a%S;m1=n(^KfC#{QXpa1gM?(EC$>;ZVFGhs=1ipC}SObU==75q2(H(i_p7c9l8P; zinS_5bd(!+F$#6i6%>$mEvU--9W%G2eqF*Ube5lGZ@#x@+&NvX3bP5yj|!a>fpNQb zk;wv4nf=w?J0sSK9r@BVx~-YUEfkorX>ZEcAWh|>Yq~Zli)w*X$#AoX5SMMKN3^bd z{EmWoMcoc6z_=eW;Muv?&0J=B8tb1Rqmu)6S{05?yQ{F;!a|D+f-zQHDb^3Wdi(cT zk3LdgXWFd`E1Cvq8UFf<`>dC@9{42RsF*9inW)vi7v3m~U0*$5HKzL)oi<*Hz}h)f z1wGu#{@T2=x7)YAu0J~5I%IA`*ZLo|d%ybD&feRBmG-}CxAQyG`oWI%&4b(OfbH=M F{{qB5i3b1x delta 1485 zcmaKsO^6&t6vyq^teC`rWYxv6;tQfNFw>dr4ko(osxKWAb;Nl@Q)o;2hQ{B~8 zRVQgZjNr+m_Mwj+j0F5ZWrf9q2M->^iy9OX%t5?*h!+v@;H&QG-VnsY4BgfBKK}pr ztNQx)**|}q{p?ET-u}wq_{w0}UtBu2`HuHM@lEILowenqYE8{tZr7IjgKF)bU5|9w zms^K-o&9#wJBcH*e0-=%(3>nYYgD#Z6E_es#x}Y?ixn#JL+N&K3RRRb2>@TqL>f~_ zme_FcK&O<6pIy7}9scdtvfC$*jhCNog5CpyJ9+V}+EicbzwB*4HR4xj3rL zA!$kv#ncqxq&kfuCa9^^063C+$IvK55*7Tx$@=#Z}-GMMN*q_(`f4cSps;Oyy8SFVMtRJLm`P)NVU3v z+&Urji$zG?k{3tnkwU;M>sB4Hmcl8=BPQjL@iDNBG-yiZf6mG;HoW~$JhoP=ATlU3 z{y&Tzf|A%?YD_pf2HKJ$Xd(|AP|I+mBgGT2Zx!Utq!^@C9;ska623Xrd9QHD%SiD zS;EN=YTW#C*NL~@*EqVqQLytTiZ`z9+cH0Xv}a}I3`;39S30=k__roEJvW!e^mZve zQHP6Lx8}CqySe(%eIMgRckOVjiyhy3^RIn#-ne`!^d3CaZFAL!rOs4i`Akh#Oo(oO zy4Sn5zvz57U#=eX9=*T4F^?{7Ua>4B5q$gggWfB%+kZdq9a`Oc+lJ!%nfaZobGh%X z&N8^*ebp`w`qg5gX6`OekG*(L6Fuk`f6UC6Kaaghn{jY-dHcNde%iegzPPygFDBX+ AF8}}l diff --git a/Aetheria.State/README.md b/Aetheria.State/README.md index a3bbf20ae..5f99d6b54 100644 --- a/Aetheria.State/README.md +++ b/Aetheria.State/README.md @@ -73,6 +73,9 @@ owner. The old generated `GameData/KeyboardLayouts/*.msgpack` cache and the checked-in `ansi104.json` display file are deleted. Remapping and action-bar edits are owned by typed `AetheriaPlayerSettings` commits; keyboard display layout edits remain runtime-only until Verse owns a typed layout document. +The unused Unity Localization package and imported Google Sheets localization +sample have been removed; the old transitive Unity Newtonsoft package is no +longer in the manifest or package lock. The old IMGUI CultCache database editor has been deleted, and `NameTools` no longer exports `NameFile/*.msgpack`. `AetherDB.msgpack` and existing name files diff --git a/Assets/Samples/Localization.meta b/Assets/Samples/Localization.meta deleted file mode 100644 index cf7cce1ac..000000000 --- a/Assets/Samples/Localization.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5a58b667f710c354ca97fb0a0e34d8a9 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview.meta b/Assets/Samples/Localization/0.11.1-preview.meta deleted file mode 100644 index 6b1a45f41..000000000 --- a/Assets/Samples/Localization/0.11.1-preview.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 26575954ddf44b7468a03a25d56928d7 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets.meta b/Assets/Samples/Localization/0.11.1-preview/Google Sheets.meta deleted file mode 100644 index 79e190fa2..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cbb240fb1c454114c826594aa01fe588 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/.sample.json b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/.sample.json deleted file mode 100644 index b5c3ed862..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/.sample.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "displayName": "Google Sheets", - "description": "These samples show how String Table Collections can be pushed and pulled from one or more Google Sheets with custom data.", - "createSeparatePackage": false -} diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor.meta b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor.meta deleted file mode 100644 index 329e406e7..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9da122dbee2c7b74fa1443e2bf835bd2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs deleted file mode 100644 index 4bd223374..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using UnityEditor.Localization.Plugins.Google.Columns; -using UnityEngine.Localization; -using UnityEngine.Localization.Metadata; -using UnityEngine.Localization.Tables; - -namespace UnityEditor.Localization.Samples.Google -{ - [Serializable] - [DisplayName("Custom Data")] - [Metadata(AllowedTypes = MetadataType.StringTableEntry)] - public class MyCustomDataMetadata : IMetadata - { - public string someValue; - public string someNoteValue; - } - - /// - /// LocaleMetadataColumn is a version of SheetColumn just for handling Metadata. - /// This can now be added to the Column Mappings for any Push or Pull request. - /// - public class MyCustomColumn : LocaleMetadataColumn - { - public override PushFields PushFields => PushFields.ValueAndNote; // For our example we use both value and note. - - public override void PullMetadata(StringTableEntry entry, MyCustomDataMetadata metadata, string cellValue, string cellNote) - { - // Metadata will be null if the entry does not already contain any. - if (metadata == null) - { - metadata = new MyCustomDataMetadata(); - entry.AddMetadata(metadata); - } - - metadata.someValue = cellValue; - metadata.someNoteValue = cellNote; - } - - public override void PushHeader(StringTableCollection collection, out string header, out string headerNote) - { - // The title of the Google Sheet column - header = "My Custom Data"; - headerNote = null; - } - - public override void PushMetadata(MyCustomDataMetadata metadata, out string value, out string note) - { - // Metadata will never be null as this is only called if the entry contains a metadata entry. - value = metadata.someValue; - note = metadata.someNoteValue; - } - } -} diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs.meta b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs.meta deleted file mode 100644 index d79e543f8..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/CustomColumnDataExample.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d0765d08e4fd3554ebe929de5f151003 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs deleted file mode 100644 index 25d1cde41..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs +++ /dev/null @@ -1,245 +0,0 @@ -using System.Linq; -using UnityEditor.Localization.Plugins.Google; -using UnityEditor.Localization.Plugins.Google.Columns; -using UnityEditor.Localization.Reporting; -using UnityEngine; - -namespace UnityEditor.Localization.Samples.Google -{ - /// - /// These examples show various ways to sync a String Table Collection with Google Sheets. - /// These examples are illustrative and will not work as they are without correct Google Sheets credentials and String Table data. - /// - public class GoogleSheetsExamples - { - static SheetsServiceProvider GetServiceProvider() - { - // The Sheets service provider performs the authentication and keeps track of the - // authentication tokens so that we do not need to authenticate each time. - // It is recommended to have a SheetsServiceProvider asset pre-configured for - // use however in this example we will create a new one. - var sheetServiceProvider = ScriptableObject.CreateInstance(); - - // OAuth is required when making changes. See the docs for info setting up OAuth credentials. - sheetServiceProvider.SetOAuthCrendtials("some-client-id", "some-client-secret"); - return sheetServiceProvider; - } - - /// - /// It is possible for a String Table Collection to exist over several Google Sheets, for example one per Locale. - /// This example shows how you could push 1 of those Locales - /// - [MenuItem("Localization Samples/Google Sheets/Push English")] - public static void PushEnglish() - { - // Setup the connection to Google - var sheetServiceProvider = GetServiceProvider(); - var googleSheets = new GoogleSheets(sheetServiceProvider); - googleSheets.SpreadSheetId = "My spread sheet id"; // We need to provide the Spreadsheet id. This can be found in the url. See docs for further info. - - // Prepare the data we want to push. - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - - // We need configure what each column will contain in the sheet - var columnMappings = new SheetColumn[] - { - // Column A will contain the Key - new KeyColumn { Column = "A" }, - - // Column B will contain any shared comments. These are Comment Metadata in the Shared category. - new KeyCommentColumn { Column = "B" }, - - // Column C will contain the English Locale and any comments that are just for this Locale. - new LocaleColumn { Column = "C", LocaleIdentifier = "en", IncludeComments = true }, - }; - - int mySheetId = 123456; // This it the id of the sheet in the Google Spreadsheet. it will be in the url after `gid=`. - - // Now send the update. - googleSheets.PushStringTableCollection(mySheetId, tableCollection, columnMappings); - } - - /// - /// It is possible for a String Table Collection to exist over several Google Sheets, for example one per Locale. - /// This example shows how you could pull 1 of those Locales into a String Table Collection. - /// - [MenuItem("Localization Samples/Google Sheets/Pull English")] - public static void PullEnglish() - { - // Setup the connection to Google - var sheetServiceProvider = GetServiceProvider(); - var googleSheets = new GoogleSheets(sheetServiceProvider); - googleSheets.SpreadSheetId = "My spread sheet id"; // We need to provide the Spreadsheet id. This can be found in the url. See docs for further info. - - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - - // We need configure what each column contains in the sheet - var columnMappings = new SheetColumn[] - { - // Column A contains the Key - new KeyColumn { Column = "A" }, - - // Column B contains any shared comments. These are Comment Metadata in the Shared category. - new KeyCommentColumn { Column = "B" }, - - // Column C contains the English Locale and any comments that are just for this Locale. - new LocaleColumn { Column = "C", LocaleIdentifier = "en", IncludeComments = true }, - }; - - int mySheetId = 123456; // This it the id of the sheet in the Google Spreadsheet. it will be in the url after `gid=`. - googleSheets.PullIntoStringTableCollection(mySheetId, tableCollection, columnMappings); - } - - /// - /// This example shows how you can Push all the Locales in your project by using the ColumnMapper to generate the ColumnMapping data for you. - /// - [MenuItem("Localization Samples/Google Sheets/Push Project Locales")] - public static void PushProjectLocales() - { - // Setup the connection to Google - var sheetServiceProvider = GetServiceProvider(); - var googleSheets = new GoogleSheets(sheetServiceProvider); - googleSheets.SpreadSheetId = "My spread sheet id"; // We need to provide the Spreadsheet id. This can be found in the url. See docs for further info. - - // Prepare the data we want to push. - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - - // CreateDefaultMapping will create a KeyColumn and a LocaleColumn for each Locale in the project. - var columnMappings = ColumnMapping.CreateDefaultMapping(); - int mySheetId = 123456; // This it the id of the sheet in the Google Spreadsheet. it will be in the url after `gid=`. - - // Now send the update. We can pass in an optional ProgressBarReporter so that we can see updates in the Editor. - googleSheets.PushStringTableCollection(mySheetId, tableCollection, columnMappings, new ProgressBarReporter()); - } - - /// - /// This example shows how you can Pull all the Locales in your project by using the ColumnMapper to generate the ColumnMapping data for you. - /// - [MenuItem("Localization Samples/Google Sheets/Pull Project Locales")] - public static void PullProjectLocales() - { - // Setup the connection to Google - var sheetServiceProvider = GetServiceProvider(); - var googleSheets = new GoogleSheets(sheetServiceProvider); - googleSheets.SpreadSheetId = "My spread sheet id"; // We need to provide the Spreadsheet id. This can be found in the url. See docs for further info. - - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - - // CreateDefaultMapping will create a KeyColumn and a LocaleColumn for each Locale in the project. - // This assumes that the table was created and pushed to using the same column mappings. - var columnMappings = ColumnMapping.CreateDefaultMapping(); - int mySheetId = 123456; // This it the id of the sheet in the Google Spreadsheet. it will be in the url after `gid=`. - - // Now pull. - // removeMissingEntries will remove any Keys that we have in the String Table Collection that do not exist in the Pull update. - // reporter is an optional reporter that can be used to povide feedback in the editor during the Pull. - googleSheets.PullIntoStringTableCollection(mySheetId, tableCollection, columnMappings, removeMissingEntries: true, reporter: new ProgressBarReporter()); - } - - static void PushExtension(GoogleSheetsExtension googleExtension) - { - // Setup the connection to Google - var googleSheets = new GoogleSheets(googleExtension.SheetsServiceProvider); - googleSheets.SpreadSheetId = googleExtension.SpreadsheetId; - - // Now send the update. We can pass in an optional ProgressBarReporter so that we can updates in the Editor. - googleSheets.PushStringTableCollection(googleExtension.SheetId, googleExtension.TargetCollection as StringTableCollection, googleExtension.Columns, new ProgressBarReporter()); - } - - static void PullExtension(GoogleSheetsExtension googleExtension) - { - // Setup the connection to Google - var googleSheets = new GoogleSheets(googleExtension.SheetsServiceProvider); - googleSheets.SpreadSheetId = googleExtension.SpreadsheetId; - - // Now update the collection. We can pass in an optional ProgressBarReporter so that we can updates in the Editor. - googleSheets.PullIntoStringTableCollection(googleExtension.SheetId, googleExtension.TargetCollection as StringTableCollection, googleExtension.Columns, reporter: new ProgressBarReporter()); - } - - /// - /// In this example we use the data that was configured in the Google Sheets extension to perform a Push. - /// - [MenuItem("Localization Samples/Google Sheets/Push With Google Extension")] - public static void PushWithExtension() - { - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - var googleExtension = tableCollection.Extensions.FirstOrDefault(e => e is GoogleSheetsExtension) as GoogleSheetsExtension; - if (googleExtension == null) - { - Debug.LogError($"String Table Collection {tableCollection.TableCollectionName} Does not contain a Google Sheets Extension."); - return; - } - - PushExtension(googleExtension); - } - - /// - /// In this example we use the data that was configured in the Google Sheets extension to perform a Pull. - /// - [MenuItem("Localization Samples/Google Sheets/Pull With Google Extension")] - public static void PullWithExtension() - { - // You should provide your String Table Collection name here - var tableCollection = LocalizationEditorSettings.GetStringTableCollection("My Strings"); - var googleExtension = tableCollection.Extensions.FirstOrDefault(e => e is GoogleSheetsExtension) as GoogleSheetsExtension; - if (googleExtension == null) - { - Debug.LogError($"String Table Collection {tableCollection.TableCollectionName} Does not contain a Google Sheets Extension."); - return; - } - - PullExtension(googleExtension); - } - - /// - /// This example shows how we can push every String Table Collection that contains a Google Sheets extension. - /// - [MenuItem("Localization Samples/Google Sheets/Push All Google Sheets Extensions")] - public static void PushAllExtensions() - { - // Get every String Table Collection - var stringTableCollections = LocalizationEditorSettings.GetStringTableCollections(); - - foreach (var collection in stringTableCollections) - { - // Its possible a String Table Collection may have more than one GoogleSheetsExtension. - // For example if each Locale we pushed/pulled from a different sheet. - foreach (var extension in collection.Extensions) - { - if (extension is GoogleSheetsExtension googleExtension) - { - PushExtension(googleExtension); - } - } - } - } - - /// - /// This example shows how we can push every String Table Collection that contains a Google Sheets extension. - /// - [MenuItem("Localization Samples/Google Sheets/Pull All Google Sheets Extensions")] - public static void PullAllExtensions() - { - // Get every String Table Collection - var stringTableCollections = LocalizationEditorSettings.GetStringTableCollections(); - - foreach (var collection in stringTableCollections) - { - // Its possible a String Table Collection may have more than one GoogleSheetsExtension. - // For example if each Locale we pushed/pulled from a different sheet. - foreach (var extension in collection.Extensions) - { - if (extension is GoogleSheetsExtension googleExtension) - { - PullExtension(googleExtension); - } - } - } - } - } -} diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs.meta b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs.meta deleted file mode 100644 index a28b83548..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/GoogleSheetsExamples.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8e27e36d32022f242a3738ca5165e2c7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs deleted file mode 100644 index 55312567e..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEditor.Localization.Plugins.Google.Columns; -using UnityEngine.Localization; -using UnityEngine.Localization.Metadata; -using UnityEngine.Localization.Tables; - -namespace UnityEditor.Localization.Samples.Google -{ - /// - /// This is an example of how the Smart String property can be synchronized. - /// Any value in the column will cause the value to be marked as smart and leaving the field empty will indicate it should not be smart. - /// - public class SmartStringColumn : LocaleMetadataColumn - { - public override PushFields PushFields => PushFields.Value; - - public override void PullMetadata(StringTableEntry entry, SmartFormatTag metadata, string cellValue, string cellNote) - { - entry.IsSmart = !string.IsNullOrEmpty(cellValue); - } - - public override void PushHeader(StringTableCollection collection, out string header, out string headerNote) - { - header = $"{LocaleIdentifier.ToString()} - Is Smart String"; - headerNote = null; - } - - public override void PushMetadata(SmartFormatTag metadata, out string value, out string note) - { - value = "x"; // We mark here with an x but it could be anything. - note = null; - } - } -} diff --git a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs.meta b/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs.meta deleted file mode 100644 index b1f05cef0..000000000 --- a/Assets/Samples/Localization/0.11.1-preview/Google Sheets/Editor/SmartStringColumn.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1426cca1300da3b49896c46599354d6d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/manifest.json b/Packages/manifest.json index 6748b1d86..12064b716 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -12,7 +12,6 @@ "com.unity.ide.rider": "3.0.36", "com.unity.ide.visualstudio": "2.0.23", "com.unity.inputsystem": "1.14.0", - "com.unity.localization": "1.5.4", "com.unity.mathematics": "1.3.2", "com.unity.multiplayer.center": "1.0.0", "com.unity.postprocessing": "3.5.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 3a9b1c2c6..42f0f06f9 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -46,22 +46,6 @@ "com.unity.modules.uielements": "1.0.0" } }, - "com.unity.addressables": { - "version": "2.6.0", - "depth": 1, - "source": "registry", - "dependencies": { - "com.unity.profiling.core": "1.0.2", - "com.unity.test-framework": "1.4.5", - "com.unity.modules.assetbundle": "1.0.0", - "com.unity.modules.jsonserialize": "1.0.0", - "com.unity.modules.imageconversion": "1.0.0", - "com.unity.modules.unitywebrequest": "1.0.0", - "com.unity.scriptablebuildpipeline": "2.4.0", - "com.unity.modules.unitywebrequestassetbundle": "1.0.0" - }, - "url": "https://packages.unity.com" - }, "com.unity.ai.navigation": { "version": "2.0.8", "depth": 0, @@ -144,16 +128,6 @@ }, "url": "https://packages.unity.com" }, - "com.unity.localization": { - "version": "1.5.4", - "depth": 0, - "source": "registry", - "dependencies": { - "com.unity.addressables": "1.22.2", - "com.unity.nuget.newtonsoft-json": "3.0.2" - }, - "url": "https://packages.unity.com" - }, "com.unity.mathematics": { "version": "1.3.2", "depth": 0, @@ -176,13 +150,6 @@ "dependencies": {}, "url": "https://packages.unity.com" }, - "com.unity.nuget.newtonsoft-json": { - "version": "3.2.1", - "depth": 1, - "source": "registry", - "dependencies": {}, - "url": "https://packages.unity.com" - }, "com.unity.postprocessing": { "version": "3.5.0", "depth": 0, @@ -192,13 +159,6 @@ }, "url": "https://packages.unity.com" }, - "com.unity.profiling.core": { - "version": "1.0.2", - "depth": 2, - "source": "registry", - "dependencies": {}, - "url": "https://packages.unity.com" - }, "com.unity.recorder": { "version": "5.1.2", "depth": 0, @@ -210,16 +170,6 @@ }, "url": "https://packages.unity.com" }, - "com.unity.scriptablebuildpipeline": { - "version": "2.4.0", - "depth": 2, - "source": "registry", - "dependencies": { - "com.unity.test-framework": "1.4.5", - "com.unity.modules.assetbundle": "1.0.0" - }, - "url": "https://packages.unity.com" - }, "com.unity.test-framework": { "version": "1.5.1", "depth": 0, diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 079a53ece..19eaded87 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -72,6 +72,10 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. `GameData/KeyboardLayouts/*.msgpack` authority paths are disabled or deleted. The old `SavedGame`/`SavedZone` DTOs and `Galaxy` save-loader constructor are deleted. The dead `SavedStory` JSON DTO is deleted. + The unused Unity Localization package and imported Google Sheets localization + sample have also been deleted, removing the transitive Unity Newtonsoft package + from the manifest/lock. Unity's built-in `jsonserialize` module and generated + InputSystem JSON remain engine/package boundaries, not Aetheria state. `ZoneConstructionBlueprint`, body/orbit zone runtime data, item-instance runtime data, `Ship`, and `EntitySettings` remain as runtime construction/loadout/session projections, but no longer use save-file or @@ -1272,6 +1276,9 @@ First Aetheria surfaces to publish: runbook remains as a live operational surface. - Done: delete JsonKnownTypes. - Done: delete Newtonsoft dependencies and attributes from live code. + - Done: delete the unused Unity Localization package and imported localization + sample, removing the transitive Unity Newtonsoft package from the package + lock. - Done: delete old JSON backing stores. - Done: delete the broken `Economy.Shared` wrapper and tracked build output. - Done: disable legacy local save, loadout, zone, player-settings, and @@ -1346,7 +1353,7 @@ First Aetheria surfaces to publish: surfaces and make the applier prefer them over stale legacy-ID fields. Loadout items, action-bar targets, body resources, entity hulls, cargo contents, and active consumables now prove typed-key ownership in the - Unity smoke by carrying intentionally stale legacy IDs. + Unity smoke without any item legacy-ID commit fields. - Done: add package runtime catalog lookup by canonical item key and move Unity gameplay, HUD, inventory, trade, ship, and zone helper lookups off `ItemId`/`FindItemByLegacyId` detours. Legacy item lookup remains only as