Commit Graph

94 Commits

Author SHA1 Message Date
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
jamie dale
1f377db5f4 Added extra localization logging
#jira
#rb none
#rnx

[CL 25055361 by jamie dale in ue5-main branch]
2023-04-14 20:06:01 -04:00
jamie dale
0f6e125429 Exposed field filters to the Localization Dashboard
#jira
[FYI] Leon.Huang

[CL 24287949 by jamie dale in ue5-main branch]
2023-02-17 14:26:39 -05:00
jamie dale
057eeb6d49 Fixed localization meta-data gather issues
* Inherited properties are no longer gathered for each derived type.
* The OutputKeys from the dashboard no longer contains errant quotes.
* The OutputKeys formatting no longer converts to FText internally.

#jira
[FYI] Leon.Huang

[CL 24287022 by jamie dale in ue5-main branch]
2023-02-17 13:48:05 -05:00
jamie dale
e06e9b6413 Updated SearchDirectoryPaths in the source code gather to handle general filter-style wildcards
#jira
[FYI] Leon.Huang, Kevin.Jantz

[CL 24106234 by jamie dale in ue5-main branch]
2023-02-09 16:21:18 -05:00
jamie dale
c27a59d91e Updated SearchDirectoryPaths in the source code gather to handle trailing wildcards
#jira
[FYI] Leon.Huang, Kevin.Jantz

[CL 24106152 by jamie dale in ue5-main branch]
2023-02-09 16:18:26 -05:00
jamie dale
709e97ade9 Default to exporting localization files with the copyright notice set on the project
This can also be overridden using the "CopyrightNotice" option in the "CommonSettings" of a GatherText config

#preflight 63c9c142d368fed9e5d07f7a
#rb Leon.Huang

[CL 23784893 by jamie dale in ue5-main branch]
2023-01-19 20:48:37 -05:00
jamie dale
29a6e09f28 Added base support for UGC localization
UGC localization can be used to provide a simplified localization experience for basic plugins (only providing the PO files to be translated), and is primarily designed for DLC plugins where the UGC localization will be compiled during cook (see UUserGeneratedContentLocalizationSettings).

Support for non-DLC plugins can be provided via project specific tooling built upon this base API.

Support for complex plugins (such as those containing different kinds of modules, eg) a mix of game/engine and editor) are not supported via this API.

#preflight 63c70d2802024f93d87a0e32
#rb Leon.Huang, Dave.Belanger

[CL 23761684 by jamie dale in ue5-main branch]
2023-01-18 14:39:58 -05:00
jamie dale
2619d649be Removed redundant Engine dependency from the Localization module
#preflight 63bf1469af3ebedd998f5853
[FYI] Leon.Huang
#rnx

[CL 23658517 by jamie dale in ue5-main branch]
2023-01-11 20:56:04 -05:00
forsakenyang
1f3141bdff PR #9270: Bugfix: remove unnecessary quotes of OutputKeys in FooTarget_Gather.ini when gather texts from meta data via Localization Dashboard. (Contributed by forsakenyang)
#jira: UE-156187
#rb: Jamie.Dale
#preflight: 63868662b21cdd3a267b432f
#9270

[CL 23320722 by forsakenyang in ue5-main branch]
2022-11-29 19:03:04 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00
paul moore
1b960509b8 - Compile issue fix.
[CL 22636574 by paul moore in ue5-main branch]
2022-10-19 16:01:55 -04:00
daniel lamb
d4f83b4a4e Moved strings and localization to the moderation manifest.
Fixed commandline options for moderation generation commandlet.
#preflight https://horde.devtools.epicgames.com/job/635016a8047f3570ad939dea
[REVIEW] [at]Paul.Moore

[CL 22635671 by daniel lamb in ue5-main branch]
2022-10-19 15:33:31 -04:00
vincent gauthier
148b51da83 Remove/replace uses of master/slave found in Localization with base folder Developer(only comments)
#jira UE-158608
#rb trivial
#preflight 6331a3d3a4769ad714a28c8a

[CL 22188507 by vincent gauthier in ue5-main branch]
2022-09-26 13:28:46 -04:00
bryan sefcik
0beee50b45 Updated ../Engine/Source/Developer/... to inline gen.cpp files
Before:
Total CPU Time: 53783.640625 s
Total time in Parallel executor: 558.66 seconds
After:
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

#jira

[CL 22173145 by bryan sefcik in ue5-main branch]
2022-09-24 13:31:25 -04:00
bryan sefcik
de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
Ben Marsh
ab142f400f Horde: Use a parsable format for localization errors, allowing us to link files for build health issues.
#fyi leon.huang
#preflight 62912405f6625a3541a0b1ea

[CL 20400528 by Ben Marsh in ue5-main branch]
2022-05-27 18:27:52 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
Leon Huang
55f9f49684 Localization conflict reports can now be output as .csv files.
- Introduced EConflictReportFormat to determine the output format of the conflicts report.
- Updated the localization .ini files to specify the requested output format.
#jira: UE-143696
#rb: Jamie.Dale, Vincent.Gauthier
#preflight: 62573db00b7c7f0f38c6405b

[CL 19746764 by Leon Huang in ue5-main branch]
2022-04-13 18:08:19 -04:00
Josh Adams
c564febc2f - Added FDDPIRegistry::GetAllSortedPlaformInfos which returns fake and disabled platforms, while GetSortedPlatformInfos will now only return "concrete/usable" platforms (independent of SDK status, etc)
- Changed the SupportedPlatforms dialog to show all DDPI platforms, not just the ones that are compiled in currently
#rb chris.waters
#preflight 622bc87546679d56c32545cd

[CL 19361979 by Josh Adams in ue5-main branch]
2022-03-11 17:28:48 -05:00
nick darnell
61e3e22f9a Lyra/Localization - Adding some comments to the generated localization files so that people don't accidentally hand edit them thinking they are the source.
[REVIEW] [at]Jamie.Dale
#jira none
#preflight skip

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 18643354 in //UE5/Release-5.0/... via CL 18644232 via CL 18644501
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18647511 by nick darnell in ue5-main branch]
2022-01-18 16:05:07 -05:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00