Commit Graph

15 Commits

Author SHA1 Message Date
Dan Hertzka
f3092790eb Window menu refactor & polish
- Window menu is now sectioned and labeled based on the current editor. There's now a local workspace root member in FTabManager and a workspace category in FAssetEditorToolkit (both are FWorkspaceItem objects). Individual editors attach their local category to the tab manager's local root. Workflow app modes have their own category members that are swapped out when the mode changes.

- Finally, the AssetEditorCategory of FWorkspaceMenuStructure has been removed entirely.

- Replaced the AddMenuSeparator() call in FTabManager::PopulateSpawnerMenu_Helper() with a section of the same title as the workspace category.

- Tab spawner menu entries for the local editor now properly show the icon of the associated tab. To accomplish this it was necessary to change FWorkflowTabFactory::TabIcon to be an FSlateIcon instead of an FSlateBrush*. All factory instances have been updated accordingly.

- Added & updated lots of icons! (those missing will be TTP'd)

- The nomad tab spawner section (named "General" in the menu) has been largely compressed into the Developer Tools submenu, which has also been organized into sections for readability.

- Unreal frontend options were also moved into a context menu within the General section

- Moved all experimental tools to their own section of the Window menu. When they're no longer experimental they should register as nomads in the appropriate category

- Undo history now under Edit menu

[CL 2324285 by Dan Hertzka in Main branch]
2014-10-09 12:34:55 -04:00
Joe Conley
dbf43376a4 InternationalizationExportCommandlet: Added bUseCultureDirectory flag. Defaults to true, but for translation editor, we need to not add that because we need to pick the exact file path with the file open dialog, and not have a culture path added to that later.
#codereview Saul.Abreu

[CL 2301109 by Joe Conley in Main branch]
2014-09-17 11:51:38 -04:00
Joe Conley
d96332fe52 Fix to comply with CL 2276830 "Consistent localization-related commandlet path-handling with regards to relative paths. From now on, please specify paths relative to to the project's directory or the Engine directory."
[CL 2294119 by Joe Conley in Main branch]
2014-09-11 16:10:24 -04:00
Joe Conley
041adae9c6 Fix to comply with CL 2276830 "Consistent localization-related commandlet path-handling with regards to relative paths. From now on, please specify paths relative to to the project's directory or the Engine directory."
Changed SourcePath for the temp InternationalizationExport.ini to be ./Content/... instead of ../../../Engine/Content/...

[CL 2284412 by Joe Conley in Main branch]
2014-09-04 09:39:37 -04:00
Joe Conley
9495677307 Translation Editor & Internationalization Export Commandlet fixes:
Translation Editor:
- Added some NULL checks on UTranslationUnit objects
- Added setting for PortaleObjectName for export/import

Internationlization Export:
- Fixed handling of Filename
- Make sure the strings importing aren't marked as changed if they only contain whitespace

[CL 2060784 by Joe Conley in Main branch]
2014-05-01 00:16:11 -04:00
Joe Conley
38aa411592 Translation Editor:
- Added "Import from .PO" option
- Displays a new tab after import showing you what changed
- Various other fixes related to importing / exporting

[CL 2048098 by Joe Conley in Main branch]
2014-04-23 19:14:07 -04:00
Joe Conley
f1766ce77a TranslationEditor:
- Added InternationalizationExportSettings UObject to use to serialize to a file for the InternationalizationExportCommandlet
- Fixed "Export to .po" to only export the currently loaded project & language combination, to a file the user can now specify

[CL 2047342 by Joe Conley in Main branch]
2014-04-23 19:06:27 -04:00
Joe Conley
99fbe8b774 Translation Editor:
- Fixed a bug where updating Context and History tables based on your selection wouldn't work properly if you arranged the tabs containing translation units (Untranslated, Needs Review etc) in separate tab wells or windows.

[CL 2046709 by Joe Conley in Main branch]
2014-04-23 18:54:03 -04:00
Joe Conley
c1bbde38f6 Translation Editor:
- Added Search functionality to Translation Editor with a new Search tab.

[CL 2046164 by Joe Conley in Main branch]
2014-04-23 18:48:34 -04:00
Joe Conley
bb9193b03a TranslationEditor:
- Removed TranslationDataObject and converted TranslationUnit to a UObject instead of UStruct.
- Needed to do this to show the same TranslationUnit in multiple PropertyTables

[CL 2045861 by Joe Conley in Main branch]
2014-04-23 18:47:10 -04:00
Joe Conley
3fb5de494b Translation Editor:
- Export to PortableObject (.po) format button is now functional for Editor & Engine strings
- For now just uses settings in Engine\\Config\\Localization\\PortableObjectExport.ini, and exports both projects in ja, ko, zh

[CL 2043549 by Joe Conley in Main branch]
2014-04-23 18:20:15 -04:00
Joe Conley
651593fcdb Translation Editor UI
- New toolbar button to Preview all translation strings in the editor

[CL 2041235 by Joe Conley in Main branch]
2014-04-23 17:49:26 -04:00
Joe Conley
2e5bdb80d5 Translation Editor:
- Fixed some crashes that occured if certain tabs were closed.
- Fixed issue where connection to source control would fail in some cases, but warning popup would not display
- Fixed bug where Completed, Needs Review, and Untranslated tabs could not be re-opened if closed.

[CL 2040938 by Joe Conley in Main branch]
2014-04-23 17:47:40 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00