Commit 6ea9e2b
committed
* refactor(LocalizedDropdown.cs): extract duplicated code to OnEnable method
* fix(LocalizedDropdown.cs): call UpdateCurrentLanguage method in OnEnable instead of Start method
* refactor(LocalizedText.cs): remove unused variables and comments
* fix(LocalizedText.cs): update OnDrawGizmos method to check for null or empty currentText before calling UpdateCurrentLanguage method
* fix(LocalizedText.cs): update UpdateLocalizedDataText method to directly set the text value instead of using a temporary variable
* fix(LocalizedText.cs): update UpdateLocalizedDataText method to replace the wordReplace value in the text value
* fix(LocalizedText.cs): update UpdateCurrentLanguage method to remove unused variable and add missing null check
* refactor(LocalizedText.cs): remove commented out code
* chore(LocalizedText.cs): add whitespace for readability
* feat(LocalizedText.cs): add SetValue method to update localized text value by word replace
* refactor(LocalizationConfig.cs): rename GetPretranslate method to GetPreTranslated and add targetLanguage parameter
* refactor(LocalizationConfig.cs): update GetPreTranslated method to return null if localized data is not found
* refactor(LocalizationController.cs): move LocalizationController to Laputa.Localization namespace
* feat(LocalizationController.cs): add Singleton pattern to LocalizationController
* feat(LocalizationController.cs): add localizationConfig field to LocalizationController
* feat(LocalizationController.cs): add GetPreTranslatedText method to LocalizationController
* chore(default-2022.dwlt): update layout for Font Asset Creator window
* fix(default-2022.dwlt): fix EditorHideFlags for MonoBehaviour 2
* fix(default-2022.dwlt): fix PixelRect and ShowMode for MonoBehaviour 1
* fix(default-2022.dwlt): fix PixelRect, ShowMode, and RootView for MonoBehaviour 3
* chore(Layouts): update default-2022.dwlt layout file
* chore(default-2022.dwlt): update layout dimensions and sizes
* chore(default-2022.dwlt): update layout settings
* refactor(default-2022.dwlt): change GameView position and size
* refactor(default-2022.dwlt): change the position and size of two other views
* chore(default-2022.dwlt): update window layout
* chore(default-2022.dwlt): change LocalizationWindowEditor to InspectorWindow
* chore(default-2022.dwlt): change Font Asset Creator window position and size
* chore(default-2022.dwlt): change Texture2D Preview window position and size
* chore(default-2022.dwlt): update layout settings
* fix(default-2022.dwlt): adjust m_HBaseRangeMin and m_VBaseRangeMin values
* fix(default-2022.dwlt): adjust m_HBaseRangeMax and m_VBaseRangeMax values
* fix(default-2022.dwlt): adjust m_LastWindowPixelSize values
* fix(default-2022.dwlt): adjust m_Pos values
* fix(default-2022.dwlt): adjust snapOffset and snapCorner values
* fix(default-2022.dwlt): adjust m_Size values
* chore(Layouts/default-2022.dwlt): update layout file
* fix(Layouts/default-2022.dwlt): fix x and width values in m_Pos serialized data
* fix(Layouts/default-2022.dwlt): update m_LastProjectPath value
* fix(Layouts/default-2022.dwlt): update m_ExpandedIDs values in m_FolderTreeState and m_AssetTreeState
* fix(Layouts/default-2022.dwlt): update m_ClientGUIView value in m_RenameOverlay of m_AssetTreeState
* chore(default-2022.dwlt): update layout positions and sizes1 parent 098da88 commit 6ea9e2b
File tree
5 files changed
+277
-181
lines changed- Assets/Laputa/Localization
- Components
- UserSettings/Layouts
5 files changed
+277
-181
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
42 | 46 | | |
43 | 47 | | |
44 | | - | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
125 | 138 | | |
126 | 139 | | |
127 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
12 | 23 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
16 | 41 | | |
17 | | - | |
| 42 | + | |
0 commit comments