branchrust_reboot/main/arabiccancel
30 Commits over 0 Days - ∞cph!
Moved back the font ttf files to the Fonts root folder so community UI can load them correctly
Fallback to TMP default font if the font loading failed
Minor legacy text finder editor window NRE fix
Fixed player corpse looting interaction using 'loot' phrase instead of 'loot_corpse'
'loot' is used as a noun in other screens and can't be used as a verb in this context, because the noun and verb are different words in some languages - which has caused translation confusion for ages
Converted texts from the following loot panels to RustText:
- recycler
- mixing table
- attack heli rockets
- attack heli turret
- bigwheel
+ localized a few missing strings
Converted texts from the following loot panels to RustText:
- horse storage
- auto turret
- fuel
- fuse
- generics
- player corpse
- fish trap
- lantern
- locker
Fixed some loot panels showing "Loot" in their header instead of their actual name
Applied the auto size settings from
103449 to the new accessibility colour dropdowns
Boosts active vitals SetText isLocalized = true
Localized "Boosts active" vital
Reverted server rules text to use Unity's legacy text, so symbol characters work out of the box
servers rules aren't localized anyway, so there's no need to use RustText here
Restored "Player Slots" label in server browser filtering
Restored Wounded screen text positions
+ localized unlocalized strings
Restored inventory "Skins" label position
Reduced UI options labels min size so long strings can fit
Fixed RustText in GameUI.Inventory missing font asset bricking the language switch
Reverted WaterCamera and TOD_Sky changes
(Plastic you piece of shit selecting my hidden changes by default)
Various improvements to the legacy text finder window
Added Translate.GetCurrentCulture to use when formatting numbers
RustText localized text formatting
Adjusted NotoSans bold font character spacing to avoid the noticeable character overlap when the text alpha is <1
Take into account this spacing when calculating RustText preferred width
Converted Backpack, Team UI and Spraycan skin select texts to RustText
Also fixed truncated texts in some languages
Converted Sleeping bag rename, Sleeping screen and map Sleeping bag cluster texts to RustText
Converted crafting menu texts to RustText
Added NotoSansArabic-Regular font as a fallback for RobotoCondensed-Regular so Arabic doesnt always appear bold
Set Descent Line to 0 to fix vertically misaligned texts
Converted assign to friend and HBHF config prefabs texts, localized unlocalized strings
+ research table loot panel code changes missing from
103392
Various RTL language support fixes
- Better handling of strings mixing both RTL and english characters
- Consider [] as tags (for input binds)
- Added TextUtils.ContainsRTLInput
Added a tool to find and list localized legacy and TMP texts in prefabs
Converted research table loot panel texts to RustText
Fixed truncated strings
Changed the library we use to support Arabic for a much better one, RTLTMPro
Fixes the messed up color tags and other rich text formatting
Will also help support other right to left languages like Hebrew