Commit Graph

23 Commits

Author SHA1 Message Date
Saul Abreu
901042c9ac Massive cleanup of text localization code and its uses. REVIEW API CHANGES FOR RELEASE NOTES.
[CL 2514827 by Saul Abreu in Main branch]
2015-04-16 15:39:05 -04:00
Joe Conley
d9adeb10e4 Translation Editor:
- When saving, if source control is disabled, try write the file anyway.
- Remove the blank icons from the tabs, at least until we get proper icons.

[CL 2482858 by Joe Conley in Main branch]
2015-03-18 06:03:00 -04:00
Marc Audy
79f610442c Fix shadowed variables
[CL 2467803 by Marc Audy in Main branch]
2015-03-03 12:30:55 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Joe Conley
fe95a6969b Translation Editor changes:
- Translation picker mode that allows you to click on text in the Editor UI and translate it in place
- No longer loads history on startup, can press the "Get History" button in the History tab to retrieve history on demand

[CL 2363086 by Joe Conley in Main branch]
2014-11-18 03:20:09 -05:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Robert Manuszewski
55f4bd6581 Removed [URL] GameName=Name from ini as we no longer need it for anything else than fixing the game name case (passed from command line)
#change Removed GGameName usage from code and replaced it with FApp::*GameName API
#change Added FApp::SetGameName(), FApp::IsGameNameEmpty()
#change Added IFileManager::GetFilenameOnDisk to get the correct case of a filename on disk
#change Renamed GGameName to GInternalGameName

[CL 2328446 by Robert Manuszewski in Main branch]
2014-10-14 10:31:43 -04:00
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