Commit Graph

16 Commits

Author SHA1 Message Date
Max Preussner
6510058ee7 Core: Moved Json out of Core and into its own module
The main changes are as follows:

1. moved Json out of Core into own module 'Json'
2. moved 3 i10n classes (Json serializers) from Core into a new module 'Internationalization' *
3. fixed up 2 i10n classes in Core to not instantiate the 3 Json-based classes. instead they are now passed in as a dependency

*) (2) and (3) were required to decouple the I10n code in Core from Json. Much of the i10n code probably doesn't belong into Core in the first place, but there is no time to fix this right now.

The following cosmetic changes were also made:

- NULL to nullptr
- namespaced enums to enum classes
- renamed the three i10n Json serializer classes to comply with naming conventions
- removed file header comments (not used)
- documentation, spelling, spacing etc,

#UpgradeNotes: If your module is including Json.h then you have to add 'Json' to your Build.cs module dependencies.

#ReviewedBy: justin.sargent, saul.abreu

[CL 2310420 by Max Preussner in Main branch]
2014-09-25 18:03:04 -04:00
Joe Conley
fdb4c52378 Translation Editor: Remove all escaping and unescaping of special characters. This is now all handled by the JSON serializer.
[CL 2301560 by Joe Conley in Main branch]
2014-09-17 16:37:28 -04:00
Joe Conley
5766772963 TranslationEditor: also search Namespace, key and context when using the search tab
[CL 2298788 by Joe Conley in Main branch]
2014-09-15 17:32:46 -04:00
Richard TalbotWatkin
cae2251bba Changed all instances of notifications with a "Show Log" hyperlink to be more precise about which log they will open.
#ttp 338544 - EDITOR: Update Notifications "Show Log" to "Show Output Log"
#branch UE4
#change Changed hyperlink text to be more specific in individual instances of FNotificationInfo objects.
#reviewedby Chris.Wood

[CL 2108221 by Richard TalbotWatkin in Main branch]
2014-06-17 12:05:50 -04:00
Marc Audy
1281bea0c7 Shadow variable fixes
[CL 2085770 by Marc Audy in Main branch]
2014-05-29 17:14:20 -04:00
Joe Conley
1ca18a45b7 Translation Editor import from .po : ignore changes to leading and trailing whitespace
[CL 2071198 by Joe Conley in Main branch]
2014-05-12 23:27:09 -04:00
Joe Conley
a6ec7961d7 In the Translation Editor, UTranslationUnit objects should be added to the root set on creation to prevent them from being garbage collected, then deleted from the root set when the translation editor is closed to allow them to be garbage collected at that time.
[CL 2061844 by Joe Conley in Main branch]
2014-05-01 23:21: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
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
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
2caab794a6 Translation Editor:
- Removed check() that resulted in assert if not connected to source control.

[CL 2041229 by Joe Conley in Main branch]
2014-04-23 17:49:15 -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