├── .gitattributes
├── .gitignore
├── App.xaml
├── App.xaml.cs
├── Assets
├── BadgeLogo.scale-100.png
├── BadgeLogo.scale-125.png
├── BadgeLogo.scale-150.png
├── BadgeLogo.scale-200.png
├── BadgeLogo.scale-400.png
├── LargeTile.scale-100.png
├── LargeTile.scale-125.png
├── LargeTile.scale-150.png
├── LargeTile.scale-200.png
├── LargeTile.scale-400.png
├── LockScreenLogo.scale-200.png
├── SmallTile.scale-100.png
├── SmallTile.scale-125.png
├── SmallTile.scale-150.png
├── SmallTile.scale-200.png
├── SmallTile.scale-400.png
├── SplashScreen.scale-100.png
├── SplashScreen.scale-125.png
├── SplashScreen.scale-150.png
├── SplashScreen.scale-200.png
├── SplashScreen.scale-400.png
├── Square150x150Logo.scale-100.png
├── Square150x150Logo.scale-125.png
├── Square150x150Logo.scale-150.png
├── Square150x150Logo.scale-200.png
├── Square150x150Logo.scale-400.png
├── Square44x44Logo.altform-lightunplated_targetsize-16.png
├── Square44x44Logo.altform-lightunplated_targetsize-24.png
├── Square44x44Logo.altform-lightunplated_targetsize-256.png
├── Square44x44Logo.altform-lightunplated_targetsize-32.png
├── Square44x44Logo.altform-lightunplated_targetsize-48.png
├── Square44x44Logo.altform-unplated_targetsize-16.png
├── Square44x44Logo.altform-unplated_targetsize-256.png
├── Square44x44Logo.altform-unplated_targetsize-32.png
├── Square44x44Logo.altform-unplated_targetsize-48.png
├── Square44x44Logo.scale-100.png
├── Square44x44Logo.scale-125.png
├── Square44x44Logo.scale-150.png
├── Square44x44Logo.scale-200.png
├── Square44x44Logo.scale-400.png
├── Square44x44Logo.targetsize-16.png
├── Square44x44Logo.targetsize-24.png
├── Square44x44Logo.targetsize-24_altform-unplated.png
├── Square44x44Logo.targetsize-256.png
├── Square44x44Logo.targetsize-32.png
├── Square44x44Logo.targetsize-48.png
├── StoreLogo.backup.png
├── StoreLogo.scale-100.png
├── StoreLogo.scale-125.png
├── StoreLogo.scale-150.png
├── StoreLogo.scale-200.png
├── StoreLogo.scale-400.png
├── Wide310x150Logo.scale-100.png
├── Wide310x150Logo.scale-125.png
├── Wide310x150Logo.scale-150.png
├── Wide310x150Logo.scale-200.png
├── Wide310x150Logo.scale-400.png
└── logowtext.png
├── MainPage.xaml
├── MainPage.xaml.cs
├── Package.appxmanifest
├── Properties
├── AssemblyInfo.cs
└── Default.rd.xml
├── README.md
├── ReverseBooleanConverter.cs
├── SubPages
├── HistoryPage.xaml
└── HistoryPage.xaml.cs
├── TransLib
├── Methods.cs
├── Properties
│ ├── AssemblyInfo.cs
│ └── TransLib.rd.xml
├── TransLib.csproj
├── Translation.cs
├── TranslationObject.cs
└── Variables.cs
├── Transhef.csproj
├── Transhef.sln
└── transhefhero.png
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Runtime.InteropServices.WindowsRuntime;
6 | using Windows.ApplicationModel;
7 | using Windows.ApplicationModel.Activation;
8 | using Windows.Foundation;
9 | using Windows.Foundation.Collections;
10 | using Windows.UI.Xaml;
11 | using Windows.UI.Xaml.Controls;
12 | using Windows.UI.Xaml.Controls.Primitives;
13 | using Windows.UI.Xaml.Data;
14 | using Windows.UI.Xaml.Input;
15 | using Windows.UI.Xaml.Media;
16 | using Windows.UI.Xaml.Navigation;
17 |
18 | namespace Transhef
19 | {
20 | sealed partial class App : Application
21 | {
22 | public App()
23 | {
24 | this.InitializeComponent();
25 | this.Suspending += OnSuspending;
26 | }
27 | protected override void OnLaunched(LaunchActivatedEventArgs e)
28 | {
29 | bool canEnablePrelaunch = Windows.Foundation.Metadata.ApiInformation.IsMethodPresent("Windows.ApplicationModel.Core.CoreApplication", "EnablePrelaunch");
30 |
31 | Frame rootFrame = Window.Current.Content as Frame;
32 | if (rootFrame == null)
33 | {
34 | rootFrame = new Frame();
35 |
36 | rootFrame.NavigationFailed += OnNavigationFailed;
37 |
38 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
39 | { }
40 |
41 | Window.Current.Content = rootFrame;
42 | }
43 |
44 | if (e.PrelaunchActivated == false)
45 | {
46 | if (canEnablePrelaunch)
47 | {
48 | Windows.ApplicationModel.Core.CoreApplication.EnablePrelaunch(true);
49 | }
50 |
51 | if (rootFrame.Content == null)
52 | {
53 | rootFrame.Navigate(typeof(MainPage), e.Arguments);
54 | }
55 | Window.Current.Activate();
56 | }
57 | }
58 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
59 | {
60 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
61 | }
62 | private void OnSuspending(object sender, SuspendingEventArgs e)
63 | {
64 | var deferral = e.SuspendingOperation.GetDeferral();
65 | deferral.Complete();
66 | }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/Assets/BadgeLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/BadgeLogo.scale-100.png
--------------------------------------------------------------------------------
/Assets/BadgeLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/BadgeLogo.scale-125.png
--------------------------------------------------------------------------------
/Assets/BadgeLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/BadgeLogo.scale-150.png
--------------------------------------------------------------------------------
/Assets/BadgeLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/BadgeLogo.scale-200.png
--------------------------------------------------------------------------------
/Assets/BadgeLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/BadgeLogo.scale-400.png
--------------------------------------------------------------------------------
/Assets/LargeTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LargeTile.scale-100.png
--------------------------------------------------------------------------------
/Assets/LargeTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LargeTile.scale-125.png
--------------------------------------------------------------------------------
/Assets/LargeTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LargeTile.scale-150.png
--------------------------------------------------------------------------------
/Assets/LargeTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LargeTile.scale-200.png
--------------------------------------------------------------------------------
/Assets/LargeTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LargeTile.scale-400.png
--------------------------------------------------------------------------------
/Assets/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Assets/SmallTile.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SmallTile.scale-100.png
--------------------------------------------------------------------------------
/Assets/SmallTile.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SmallTile.scale-125.png
--------------------------------------------------------------------------------
/Assets/SmallTile.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SmallTile.scale-150.png
--------------------------------------------------------------------------------
/Assets/SmallTile.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SmallTile.scale-200.png
--------------------------------------------------------------------------------
/Assets/SmallTile.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SmallTile.scale-400.png
--------------------------------------------------------------------------------
/Assets/SplashScreen.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SplashScreen.scale-100.png
--------------------------------------------------------------------------------
/Assets/SplashScreen.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SplashScreen.scale-125.png
--------------------------------------------------------------------------------
/Assets/SplashScreen.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SplashScreen.scale-150.png
--------------------------------------------------------------------------------
/Assets/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Assets/SplashScreen.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/SplashScreen.scale-400.png
--------------------------------------------------------------------------------
/Assets/Square150x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square150x150Logo.scale-100.png
--------------------------------------------------------------------------------
/Assets/Square150x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square150x150Logo.scale-125.png
--------------------------------------------------------------------------------
/Assets/Square150x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square150x150Logo.scale-150.png
--------------------------------------------------------------------------------
/Assets/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/Square150x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square150x150Logo.scale-400.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-unplated_targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-unplated_targetsize-16.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-unplated_targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-unplated_targetsize-256.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-unplated_targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-unplated_targetsize-32.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.altform-unplated_targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.altform-unplated_targetsize-48.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.scale-100.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.scale-125.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.scale-150.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.scale-400.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-16.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-24.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-256.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-32.png
--------------------------------------------------------------------------------
/Assets/Square44x44Logo.targetsize-48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Square44x44Logo.targetsize-48.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.backup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.backup.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.scale-100.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.scale-125.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.scale-150.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.scale-200.png
--------------------------------------------------------------------------------
/Assets/StoreLogo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/StoreLogo.scale-400.png
--------------------------------------------------------------------------------
/Assets/Wide310x150Logo.scale-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Wide310x150Logo.scale-100.png
--------------------------------------------------------------------------------
/Assets/Wide310x150Logo.scale-125.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Wide310x150Logo.scale-125.png
--------------------------------------------------------------------------------
/Assets/Wide310x150Logo.scale-150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Wide310x150Logo.scale-150.png
--------------------------------------------------------------------------------
/Assets/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Assets/Wide310x150Logo.scale-400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/Wide310x150Logo.scale-400.png
--------------------------------------------------------------------------------
/Assets/logowtext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/Assets/logowtext.png
--------------------------------------------------------------------------------
/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
15 |
16 |
18 |
24 |
29 |
30 |
32 |
34 |
36 |
37 |
45 |
52 |
53 |
58 |
59 |
61 |
63 |
65 |
67 |
69 |
70 |
74 |
75 |
78 |
89 |
90 |
93 |
94 |
95 |
96 |
107 |
111 |
112 |
115 |
124 |
125 |
126 |
127 |
128 |
139 |
144 |
156 |
161 |
170 |
171 |
172 |
173 |
--------------------------------------------------------------------------------
/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Runtime.InteropServices.WindowsRuntime;
6 | using Windows.ApplicationModel.Core;
7 | using Windows.Foundation;
8 | using Windows.Foundation.Collections;
9 | using Windows.UI.ViewManagement;
10 | using Windows.UI;
11 | using Windows.UI.Xaml;
12 | using Windows.UI.Xaml.Controls;
13 | using Windows.UI.Xaml.Controls.Primitives;
14 | using Windows.UI.Xaml.Data;
15 | using Windows.UI.Xaml.Input;
16 | using Windows.UI.Xaml.Media;
17 | using Windows.UI.Xaml.Navigation;
18 | using Transhef.SubPages;
19 | using Windows.UI.WindowManagement;
20 | using Windows.UI.Xaml.Hosting;
21 | using TransLib;
22 | using Windows.ApplicationModel.DataTransfer;
23 |
24 | namespace Transhef
25 | {
26 | public sealed partial class MainPage : Page
27 | {
28 | public MainPage()
29 | {
30 | this.InitializeComponent();
31 | ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(600, 500));
32 | Window.Current.SetTitleBar(TTB);
33 | CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
34 | ApplicationViewTitleBar titleBar = ApplicationView.GetForCurrentView().TitleBar;
35 | titleBar.ButtonBackgroundColor = Colors.Transparent;
36 | titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
37 | foreach (KeyValuePair lang in TransLib.Variables.LanguagePairs) {
38 | InputLanguageScroller.Items.Add(lang.Key);
39 | OutputLanguageScroller.Items.Add(lang.Key);
40 | }
41 | }
42 |
43 | private void Copy_Clicked(object sender, RoutedEventArgs e) {
44 | System.Diagnostics.Debug.WriteLine(outputBox.Text);
45 | DataPackage dataPackage = new DataPackage();
46 | dataPackage.SetText(outputBox.Text);
47 | Clipboard.SetContent(dataPackage);
48 | }
49 |
50 | private void Switch_Clicked(object sender, RoutedEventArgs e) {
51 | string temp;
52 | temp = InputLanguageScroller.Text;
53 | InputLanguageScroller.Text = OutputLanguageScroller.Text;
54 | OutputLanguageScroller.Text = temp;
55 |
56 | if (!string.IsNullOrEmpty(InputLanguageScroller.Text)) {
57 | InputLanguageScroller.Text = FindClosestMatch(InputLanguageScroller.Text, TransLib.Variables.LanguagePairs.Keys);
58 | }
59 | if (!string.IsNullOrEmpty(OutputLanguageScroller.Text)) {
60 | OutputLanguageScroller.Text = FindClosestMatch(OutputLanguageScroller.Text, TransLib.Variables.LanguagePairs.Keys);
61 | }
62 | }
63 |
64 | private async void Translate_Clicked(object sender, RoutedEventArgs e) {
65 | if (!string.IsNullOrEmpty(InputLanguageScroller.Text)) {
66 | InputLanguageScroller.Text = FindClosestMatch(InputLanguageScroller.Text, TransLib.Variables.LanguagePairs.Keys);
67 | }
68 | if (!string.IsNullOrEmpty(OutputLanguageScroller.Text)) {
69 | OutputLanguageScroller.Text = FindClosestMatch(OutputLanguageScroller.Text, TransLib.Variables.LanguagePairs.Keys);
70 | }
71 |
72 | if (!string.IsNullOrEmpty(inputBox.Text) && !string.IsNullOrEmpty(InputLanguageScroller.Text) && !string.IsNullOrEmpty(OutputLanguageScroller.Text)) {
73 | (sender as Button).IsEnabled = false;
74 | TranslationObject obj = new TranslationObject() { input = inputBox.Text, inputLanguageorCode = InputLanguageScroller.Text.ToString(), outputLanguageorCode = OutputLanguageScroller.Text.ToString() };
75 | try {
76 | Translation translation = await Methods.TranslateAsync(obj);
77 | outputBox.Text = translation.output;
78 | if (!translation.savedToHistory) { ShowError(null, "Unfortunately, your translation was too long to add to history. Otherwise, it went fine."); }
79 | }
80 | catch (Exception ex) { ShowError(ex); }
81 | (sender as Button).IsEnabled = true;
82 | }
83 | else {
84 | ShowError(null, "One or more required parameters are empty. Check if you selected both an input and output language and you entered a query in the input box.");
85 | }
86 | }
87 |
88 | internal async void ShowError(Exception ex = null, string alterror = null) {
89 | if (ex != null) {
90 | await (new ContentDialog() { Title = "An error occured!", Content = ex.Message, PrimaryButtonText = "OK" }).ShowAsync();
91 | }
92 | else if (alterror != null) {
93 | await (new ContentDialog() { Title = "An error occured!", Content = alterror, PrimaryButtonText = "OK" }).ShowAsync();
94 | }
95 | }
96 | private string FindClosestMatch(string input, IEnumerable options) {
97 | if (string.IsNullOrEmpty(input)) {
98 | return string.Empty;
99 | }
100 | return options.OrderBy(option => LevenshteinDistance(input, option)).FirstOrDefault();
101 | }
102 |
103 | private int LevenshteinDistance(string a, string b) {
104 | if (string.IsNullOrEmpty(a))
105 | return string.IsNullOrEmpty(b) ? 0 : b.Length;
106 | if (string.IsNullOrEmpty(b))
107 | return a.Length;
108 |
109 | int[,] costs = new int[a.Length + 1, b.Length + 1];
110 |
111 | for (int i = 0; i <= a.Length; i++)
112 | costs[i, 0] = i;
113 | for (int j = 0; j <= b.Length; j++)
114 | costs[0, j] = j;
115 |
116 | for (int i = 1; i <= a.Length; i++) {
117 | for (int j = 1; j <= b.Length; j++) {
118 | int cost = (b[j - 1] == a[i - 1]) ? 0 : 1;
119 | costs[i, j] = Math.Min(Math.Min(costs[i - 1, j] + 1, costs[i, j - 1] + 1), costs[i - 1, j - 1] + cost);
120 | }
121 | }
122 |
123 | return costs[a.Length, b.Length];
124 | }
125 | private void InputLanguageScroller_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args) {
126 | if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput) {
127 | var suggestions = TransLib.Variables.LanguagePairs.Keys
128 | .Where(p => p.StartsWith(sender.Text, StringComparison.OrdinalIgnoreCase))
129 | .ToList();
130 | sender.ItemsSource = suggestions;
131 | }
132 | }
133 |
134 | private void OutputLanguageScroller_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args) {
135 | if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput) {
136 | var suggestions = TransLib.Variables.LanguagePairs.Keys
137 | .Where(p => p.StartsWith(sender.Text, StringComparison.OrdinalIgnoreCase))
138 | .ToList();
139 | sender.ItemsSource = suggestions;
140 | }
141 | }
142 |
143 | private void inputBox_TextChanged(object sender, TextChangedEventArgs e) {
144 | outputBox.Text = string.Empty;
145 | }
146 |
147 | }
148 | }
149 |
--------------------------------------------------------------------------------
/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
13 |
14 |
15 |
16 |
17 | Transhef
18 | shefer's labs
19 | Assets\StoreLogo.png
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | [assembly: AssemblyTitle("Transhef")]
5 | [assembly: AssemblyDescription("")]
6 | [assembly: AssemblyConfiguration("")]
7 | [assembly: AssemblyCompany("")]
8 | [assembly: AssemblyProduct("Transhef")]
9 | [assembly: AssemblyCopyright("Copyright © 2024")]
10 | [assembly: AssemblyTrademark("")]
11 | [assembly: AssemblyCulture("")]
12 |
13 |
14 | [assembly: AssemblyVersion("1.0.0.0")]
15 | [assembly: AssemblyFileVersion("1.0.0.0")]
16 | [assembly: ComVisible(false)]
--------------------------------------------------------------------------------
/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | ### Features
10 | - Google Translate-like horizontal language selector
11 | - Very quick translation and startup
12 | - Multiple translation providers (soon!)
13 | - Translation history
14 | - Customizable for all your needs
15 |
16 | ### Installation
17 | #### Recommended method
18 | Use the above button to go to the Microsoft Store and download there.
19 | #### Prebuilt
20 | - Go to the Releases tab and download both the `.msixbundle` nad `.cer` files.
21 | - Make sure you have App Installer on your machine (Alternative methods of installation or "debloated" machines are not supported.)
22 | - Open the `.cer` file, install in for either all users and choose "Trusted people" as the certificate store (manually!)
23 | - Open and `.msixbundle` file with App Installer and click "Install"
24 | - Done!
25 | #### From source
26 | - Open the repo in Visual Studio (in my case, 2022 Community)
27 | - make sure you have the UWP workload and Windows 11 10.0.22621.0 SDK installed.
28 | - Click F5 or choose "Local Machine" in the options on top.
29 | - Done!
30 |
31 | ### Contribution
32 | Feel free to submit PRs to issues that haven't been solved and feature requests have been tagged as "planned". If you have a feature request, open an issue. I do not accept translations yet because the app is in a very early stage and it has not been modified to support different languages yet (ironic, isn't it?).
33 |
34 | #### Contributors
35 |
36 | - [Bruno R. (shef3r)](https://github.com/shef3r/) (me!)
37 |
--------------------------------------------------------------------------------
/ReverseBooleanConverter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using Windows.UI.Xaml.Data;
7 |
8 | namespace Transhef
9 | {
10 | class ReverseBooleanConverter : IValueConverter
11 | {
12 | public object Convert(object value, Type targetType, object parameter, string language) {
13 | return !(bool)value;
14 | }
15 | public object ConvertBack(object value, Type targetType, object parameter, string language) {
16 | return !(bool)value;
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/SubPages/HistoryPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/SubPages/HistoryPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Reflection;
6 | using System.Runtime.InteropServices.WindowsRuntime;
7 | using System.Windows.Input;
8 | using TransLib;
9 | using Windows.ApplicationModel.DataTransfer;
10 | using Windows.Data.Json;
11 | using Windows.Foundation;
12 | using Windows.Foundation.Collections;
13 | using Windows.Storage;
14 | using Windows.UI.Xaml;
15 | using Windows.UI.Xaml.Controls;
16 | using Windows.UI.Xaml.Controls.Primitives;
17 | using Windows.UI.Xaml.Data;
18 | using Windows.UI.Xaml.Input;
19 | using Windows.UI.Xaml.Media;
20 | using Windows.UI.Xaml.Navigation;
21 |
22 | namespace Transhef.SubPages
23 | {
24 | public sealed partial class HistoryPage : Page
25 | {
26 | public HistoryPage()
27 | {
28 | this.InitializeComponent();
29 | historyList.ItemsSource = Methods.RetrieveHistory();
30 | }
31 | private void Copy(object sender, RoutedEventArgs e)
32 | {
33 | string text = ((sender as AppBarButton).CommandParameter as string);
34 | DataPackage dataPackage = new DataPackage();
35 | dataPackage.SetText(text);
36 | Clipboard.SetContent(dataPackage);
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/TransLib/Methods.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Net.Http;
5 | using System.Text;
6 | using System.Text.Json;
7 | using System.Threading.Tasks;
8 | using Windows.Foundation.Collections;
9 | using Windows.Storage;
10 |
11 | namespace TransLib {
12 | public static class Methods {
13 | public static async Task TranslateAsync(TranslationObject obj) {
14 | if (obj == null)
15 | throw new ArgumentOutOfRangeException();
16 |
17 | string iLangCode = GetLanguageCode(obj.inputLanguageorCode);
18 | string oLangCode = GetLanguageCode(obj.outputLanguageorCode);
19 |
20 | string[] lines = obj.input.Split(new[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);
21 | StringBuilder translatedText = new StringBuilder();
22 |
23 | var client = new HttpClient();
24 |
25 | foreach (var line in lines) {
26 | if (string.IsNullOrWhiteSpace(line))
27 | continue;
28 |
29 | string url = $"https://translate.googleapis.com/translate_a/single?client=gtx&sl={iLangCode}&tl={oLangCode}&dt=t&q={Uri.EscapeDataString(line)}";
30 | var request = new HttpRequestMessage(HttpMethod.Get, url);
31 | var response = await client.SendAsync(request);
32 | response.EnsureSuccessStatusCode();
33 |
34 | string jsonString = await response.Content.ReadAsStringAsync();
35 | string translatedLine = ExtractTranslation(jsonString);
36 | translatedText.AppendLine(translatedLine);
37 | }
38 |
39 | Translation translation = new Translation {
40 | input = obj.input,
41 | inputLanguage = Variables.LanguagePairs.FirstOrDefault(x => x.Value == iLangCode).Key,
42 | output = translatedText.ToString().Trim(),
43 | outputLanguage = Variables.LanguagePairs.FirstOrDefault(x => x.Value == oLangCode).Key,
44 | savedToHistory = true
45 | };
46 |
47 | try { AddToHistory(translation); }
48 | catch { translation.savedToHistory = false; }
49 |
50 | return translation;
51 | }
52 |
53 | internal static string ExtractTranslation(string jsonString) {
54 | JsonDocument jsonDoc = JsonDocument.Parse(jsonString);
55 | JsonElement root = jsonDoc.RootElement;
56 | StringBuilder translationBuilder = new StringBuilder();
57 |
58 | if (root.ValueKind == JsonValueKind.Array && root.GetArrayLength() > 0) {
59 | JsonElement mainTranslations = root[0];
60 | if (mainTranslations.ValueKind == JsonValueKind.Array) {
61 | foreach (JsonElement translationUnit in mainTranslations.EnumerateArray()) {
62 | if (translationUnit.ValueKind == JsonValueKind.Array &&
63 | translationUnit.GetArrayLength() > 0) {
64 | JsonElement translationPart = translationUnit[0];
65 | if (translationPart.ValueKind == JsonValueKind.String) {
66 | string translatedLine = translationPart.GetString().Trim();
67 | translationBuilder.AppendLine(translatedLine);
68 | }
69 | }
70 | }
71 | }
72 | }
73 |
74 | return translationBuilder.ToString().Trim();
75 | }
76 |
77 | internal static void AddToHistory(Translation translation) {
78 | IPropertySet localSettings = ApplicationData.Current.LocalSettings.Values;
79 |
80 | if (localSettings != null) {
81 | List historyList = new List();
82 |
83 | if (localSettings.ContainsKey("history")) {
84 | string historyJson = localSettings["history"] as string;
85 | if (!string.IsNullOrEmpty(historyJson)) {
86 | historyList = JsonSerializer.Deserialize>(historyJson);
87 | }
88 | }
89 |
90 | historyList.Add(translation);
91 | localSettings["history"] = JsonSerializer.Serialize(historyList);
92 | }
93 | }
94 |
95 | public static List RetrieveHistory() {
96 | IPropertySet localSettings = ApplicationData.Current.LocalSettings.Values;
97 | if (localSettings != null && localSettings.ContainsKey("history")) {
98 | string historyJson = localSettings["history"] as string;
99 | if (!string.IsNullOrEmpty(historyJson)) {
100 | return JsonSerializer.Deserialize>(historyJson);
101 | }
102 | }
103 | return new List();
104 | }
105 |
106 | private static string GetLanguageCode(string languageOrCode) {
107 | if (Variables.LanguagePairs.ContainsValue(languageOrCode))
108 | return languageOrCode;
109 | else if (Variables.LanguagePairs.ContainsKey(languageOrCode))
110 | return Variables.LanguagePairs[languageOrCode];
111 | else
112 | throw new ArgumentOutOfRangeException();
113 | }
114 | }
115 | }
--------------------------------------------------------------------------------
/TransLib/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | [assembly: AssemblyTitle("TransLib")]
6 | [assembly: AssemblyDescription("")]
7 | [assembly: AssemblyConfiguration("")]
8 | [assembly: AssemblyCompany("")]
9 | [assembly: AssemblyProduct("TransLib")]
10 | [assembly: AssemblyCopyright("Copyright © 2024")]
11 | [assembly: AssemblyTrademark("")]
12 | [assembly: AssemblyCulture("")]
13 |
14 | [assembly: AssemblyVersion("1.0.0.0")]
15 | [assembly: AssemblyFileVersion("1.0.0.0")]
16 | [assembly: ComVisible(false)]
--------------------------------------------------------------------------------
/TransLib/Properties/TransLib.rd.xml:
--------------------------------------------------------------------------------
1 |
2 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/TransLib/TransLib.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}
8 | Library
9 | Properties
10 | TransLib
11 | TransLib
12 | pl-PL
13 | UAP
14 | 10.0.22621.0
15 | 10.0.17763.0
16 | 14
17 | 512
18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
19 |
20 |
21 | AnyCPU
22 | true
23 | full
24 | false
25 | bin\Debug\
26 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
27 | prompt
28 | 4
29 |
30 |
31 | AnyCPU
32 | pdbonly
33 | true
34 | bin\Release\
35 | TRACE;NETFX_CORE;WINDOWS_UWP
36 | prompt
37 | 4
38 |
39 |
40 | x86
41 | true
42 | bin\x86\Debug\
43 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
44 | ;2008
45 | full
46 | false
47 | prompt
48 |
49 |
50 | x86
51 | bin\x86\Release\
52 | TRACE;NETFX_CORE;WINDOWS_UWP
53 | true
54 | ;2008
55 | pdbonly
56 | false
57 | prompt
58 |
59 |
60 | ARM
61 | true
62 | bin\ARM\Debug\
63 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
64 | ;2008
65 | full
66 | false
67 | prompt
68 |
69 |
70 | ARM
71 | bin\ARM\Release\
72 | TRACE;NETFX_CORE;WINDOWS_UWP
73 | true
74 | ;2008
75 | pdbonly
76 | false
77 | prompt
78 |
79 |
80 | ARM64
81 | true
82 | bin\ARM64\Debug\
83 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
84 | ;2008
85 | full
86 | false
87 | prompt
88 |
89 |
90 | ARM64
91 | bin\ARM64\Release\
92 | TRACE;NETFX_CORE;WINDOWS_UWP
93 | true
94 | ;2008
95 | pdbonly
96 | false
97 | prompt
98 |
99 |
100 | x64
101 | true
102 | bin\x64\Debug\
103 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
104 | ;2008
105 | full
106 | false
107 | prompt
108 |
109 |
110 | x64
111 | bin\x64\Release\
112 | TRACE;NETFX_CORE;WINDOWS_UWP
113 | true
114 | ;2008
115 | pdbonly
116 | false
117 | prompt
118 |
119 |
120 | PackageReference
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 | 6.2.14
133 |
134 |
135 | 9.0.1
136 |
137 |
138 |
139 | 14.0
140 |
141 |
142 |
149 |
--------------------------------------------------------------------------------
/TransLib/Translation.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace TransLib
4 | {
5 | [Serializable]
6 | public class Translation
7 | {
8 | public string inputLanguage { get; set; }
9 | public string input { get; set; }
10 | public string outputLanguage { get; set; }
11 | public string output { get; set; }
12 | public bool savedToHistory { get; set; }
13 | }
14 | }
--------------------------------------------------------------------------------
/TransLib/TranslationObject.cs:
--------------------------------------------------------------------------------
1 | namespace TransLib
2 | {
3 | public class TranslationObject
4 | {
5 | public string input;
6 | public string inputLanguageorCode;
7 | public string outputLanguageorCode;
8 | }
9 | }
--------------------------------------------------------------------------------
/TransLib/Variables.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace TransLib
4 | {
5 | public static class Variables
6 | {
7 | public static readonly Dictionary LanguagePairs = new Dictionary() {
8 | { "Afrikaans", "af" },
9 | { "Albanian", "sq" },
10 | { "Amharic", "am" },
11 | { "Arabic", "ar" },
12 | { "Armenian", "hy" },
13 | { "Assamese", "as" },
14 | { "Aymara", "ay" },
15 | { "Azerbaijani", "az" },
16 | { "Bambara", "bm" },
17 | { "Basque", "eu" },
18 | { "Belarusian", "be" },
19 | { "Bengali", "bn" },
20 | { "Bhojpuri", "bho" },
21 | { "Bosnian", "bs" },
22 | { "Bulgarian", "bg" },
23 | { "Catalan", "ca" },
24 | { "Cebuano", "ceb" },
25 | { "Chinese (Simplified)", "zh" },
26 | { "Chinese (Traditional)", "zh-TW" },
27 | { "Corsican", "co" },
28 | { "Croatian", "hr" },
29 | { "Czech", "cs" },
30 | { "Danish", "da" },
31 | { "Dhivehi", "dv" },
32 | { "Dogri", "doi" },
33 | { "Dutch", "nl" },
34 | { "English", "en" },
35 | { "Esperanto", "eo" },
36 | { "Estonian", "et" },
37 | { "Ewe", "ee" },
38 | { "Filipino (Tagalog)", "fil" },
39 | { "Finnish", "fi" },
40 | { "French", "fr" },
41 | { "Frisian", "fy" },
42 | { "Galician", "gl" },
43 | { "Georgian", "ka" },
44 | { "German", "de" },
45 | { "Greek", "el" },
46 | { "Guarani", "gn" },
47 | { "Gujarati", "gu" },
48 | { "Haitian Creole", "ht" },
49 | { "Hausa", "ha" },
50 | { "Hawaiian", "haw" },
51 | { "Hebrew", "he" },
52 | { "Hindi", "hi" },
53 | { "Hmong", "hmn" },
54 | { "Hungarian", "hu" },
55 | { "Icelandic", "is" },
56 | { "Igbo", "ig" },
57 | { "Ilocano", "ilo" },
58 | { "Indonesian", "id" },
59 | { "Irish", "ga" },
60 | { "Italian", "it" },
61 | { "Japanese", "ja" },
62 | { "Javanese", "jv" },
63 | { "Kannada", "kn" },
64 | { "Kazakh", "kk" },
65 | { "Khmer", "km" },
66 | { "Kinyarwanda", "rw" },
67 | { "Konkani", "gom" },
68 | { "Korean", "ko" },
69 | { "Krio", "kri" },
70 | { "Kurdish", "ku" },
71 | { "Kurdish (Sorani)", "ckb" },
72 | { "Kyrgyz", "ky" },
73 | { "Lao", "lo" },
74 | { "Latin", "la" },
75 | { "Latvian", "lv" },
76 | { "Lingala", "ln" },
77 | { "Lithuanian", "lt" },
78 | { "Luganda", "lg" },
79 | { "Luxembourgish", "lb" },
80 | { "Macedonian", "mk" },
81 | { "Maithili", "mai" },
82 | { "Malagasy", "mg" },
83 | { "Malay", "ms" },
84 | { "Malayalam", "ml" },
85 | { "Maltese", "mt" },
86 | { "Maori", "mi" },
87 | { "Marathi", "mr" },
88 | { "Meiteilon (Manipuri)", "mni-Mtei" },
89 | { "Mizo", "lus" },
90 | { "Mongolian", "mn" },
91 | { "Myanmar (Burmese)", "my" },
92 | { "Nepali", "ne" },
93 | { "Norwegian", "no" },
94 | { "Nyanja (Chichewa)", "ny" },
95 | { "Odia (Oriya)", "or" },
96 | { "Oromo", "om" },
97 | { "Pashto", "ps" },
98 | { "Persian", "fa" },
99 | { "Polish", "pl" },
100 | { "Portuguese (Portugal, Brazil)", "pt" },
101 | { "Punjabi", "pa" },
102 | { "Quechua", "qu" },
103 | { "Romanian", "ro" },
104 | { "Russian", "ru" },
105 | { "Samoan", "sm" },
106 | { "Sanskrit", "sa" },
107 | { "Scots Gaelic", "gd" },
108 | { "Sepedi", "nso" },
109 | { "Serbian", "sr" },
110 | { "Sesotho", "st" },
111 | { "Shona", "sn" },
112 | { "Sindhi", "sd" },
113 | { "Sinhala (Sinhalese)", "si" },
114 | { "Slovak", "sk" },
115 | { "Slovenian", "sl" },
116 | { "Somali", "so" },
117 | { "Spanish", "es" },
118 | { "Sundanese", "su" },
119 | { "Swahili", "sw" },
120 | { "Swedish", "sv" },
121 | { "Tagalog (Filipino)", "tl" },
122 | { "Tajik", "tg" },
123 | { "Tamil", "ta" },
124 | { "Tatar", "tt" },
125 | { "Telugu", "te" },
126 | { "Thai", "th" },
127 | { "Tigrinya", "ti" },
128 | { "Tsonga", "ts" },
129 | { "Turkish", "tr" },
130 | { "Turkmen", "tk" },
131 | { "Twi (Akan)", "ak" },
132 | { "Ukrainian", "uk" },
133 | { "Urdu", "ur" },
134 | { "Uyghur", "ug" },
135 | { "Uzbek", "uz" },
136 | { "Vietnamese", "vi" },
137 | { "Welsh", "cy" },
138 | { "Xhosa", "xh" },
139 | { "Yiddish", "yi" },
140 | { "Yoruba", "yo" },
141 | { "Zulu", "zu" }
142 | };
143 | }
144 | }
--------------------------------------------------------------------------------
/Transhef.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | x86
7 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}
8 | AppContainerExe
9 | Properties
10 | Transhef
11 | Transhef
12 | en-US
13 | UAP
14 | 10.0.22621.0
15 | 10.0.17763.0
16 | 14
17 | 512
18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
19 | true
20 | True
21 | False
22 | Transhef_TemporaryKey.pfx
23 | SHA256
24 | False
25 | C:\Users\Bruno\Desktop\
26 | True
27 | False
28 | Always
29 | x86|x64|arm64
30 | 0
31 | True
32 |
33 |
34 | true
35 | bin\x86\Debug\
36 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
37 | ;2008
38 | full
39 | x86
40 | false
41 | prompt
42 | true
43 |
44 |
45 | bin\x86\Release\
46 | TRACE;NETFX_CORE;WINDOWS_UWP
47 | true
48 | ;2008
49 | pdbonly
50 | x86
51 | false
52 | prompt
53 | true
54 | true
55 |
56 |
57 | true
58 | bin\ARM\Debug\
59 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
60 | ;2008
61 | full
62 | ARM
63 | false
64 | prompt
65 | true
66 |
67 |
68 | bin\ARM\Release\
69 | TRACE;NETFX_CORE;WINDOWS_UWP
70 | true
71 | ;2008
72 | pdbonly
73 | ARM
74 | false
75 | prompt
76 | true
77 | true
78 |
79 |
80 | true
81 | bin\ARM64\Debug\
82 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
83 | ;2008
84 | full
85 | ARM64
86 | false
87 | prompt
88 | true
89 | true
90 |
91 |
92 | bin\ARM64\Release\
93 | TRACE;NETFX_CORE;WINDOWS_UWP
94 | true
95 | ;2008
96 | pdbonly
97 | ARM64
98 | false
99 | prompt
100 | true
101 | true
102 |
103 |
104 | true
105 | bin\x64\Debug\
106 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
107 | ;2008
108 | full
109 | x64
110 | false
111 | prompt
112 | true
113 |
114 |
115 | bin\x64\Release\
116 | TRACE;NETFX_CORE;WINDOWS_UWP
117 | true
118 | ;2008
119 | pdbonly
120 | x64
121 | false
122 | prompt
123 | true
124 | true
125 |
126 |
127 | PackageReference
128 |
129 |
130 |
131 | App.xaml
132 |
133 |
134 |
135 | MainPage.xaml
136 |
137 |
138 |
139 | HistoryPage.xaml
140 |
141 |
142 |
143 |
144 | Designer
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 | MSBuild:Compile
210 | Designer
211 |
212 |
213 | MSBuild:Compile
214 | Designer
215 |
216 |
217 | Designer
218 | MSBuild:Compile
219 |
220 |
221 |
222 |
223 | 6.2.14
224 |
225 |
226 | 2.8.6
227 |
228 |
229 |
230 |
231 | {1c318aa2-194c-4228-80ed-19e52db20fd4}
232 | TransLib
233 |
234 |
235 |
236 | 14.0
237 |
238 |
239 |
246 |
--------------------------------------------------------------------------------
/Transhef.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.8.34330.188
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Transhef", "Transhef.csproj", "{6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransLib", "TransLib\TransLib.csproj", "{1C318AA2-194C-4228-80ED-19E52DB20FD4}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|ARM = Debug|ARM
14 | Debug|ARM64 = Debug|ARM64
15 | Debug|x64 = Debug|x64
16 | Debug|x86 = Debug|x86
17 | Release|Any CPU = Release|Any CPU
18 | Release|ARM = Release|ARM
19 | Release|ARM64 = Release|ARM64
20 | Release|x64 = Release|x64
21 | Release|x86 = Release|x86
22 | EndGlobalSection
23 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
24 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|Any CPU.Build.0 = Debug|Any CPU
26 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
27 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM.ActiveCfg = Debug|ARM
28 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM.Build.0 = Debug|ARM
29 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM.Deploy.0 = Debug|ARM
30 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM64.ActiveCfg = Debug|ARM64
31 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM64.Build.0 = Debug|ARM64
32 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|ARM64.Deploy.0 = Debug|ARM64
33 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x64.ActiveCfg = Debug|x64
34 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x64.Build.0 = Debug|x64
35 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x64.Deploy.0 = Debug|x64
36 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x86.ActiveCfg = Debug|x86
37 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x86.Build.0 = Debug|x86
38 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Debug|x86.Deploy.0 = Debug|x86
39 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|Any CPU.ActiveCfg = Release|Any CPU
40 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|Any CPU.Build.0 = Release|Any CPU
41 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|Any CPU.Deploy.0 = Release|Any CPU
42 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM.ActiveCfg = Release|ARM
43 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM.Build.0 = Release|ARM
44 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM.Deploy.0 = Release|ARM
45 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM64.ActiveCfg = Release|ARM64
46 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM64.Build.0 = Release|ARM64
47 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|ARM64.Deploy.0 = Release|ARM64
48 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x64.ActiveCfg = Release|x64
49 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x64.Build.0 = Release|x64
50 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x64.Deploy.0 = Release|x64
51 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x86.ActiveCfg = Release|x86
52 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x86.Build.0 = Release|x86
53 | {6F77EA8A-8C4F-4AC3-82D9-02BF6F360992}.Release|x86.Deploy.0 = Release|x86
54 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
55 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|Any CPU.Build.0 = Debug|Any CPU
56 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|ARM.ActiveCfg = Debug|ARM
57 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|ARM.Build.0 = Debug|ARM
58 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|ARM64.ActiveCfg = Debug|ARM64
59 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|ARM64.Build.0 = Debug|ARM64
60 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|x64.ActiveCfg = Debug|x64
61 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|x64.Build.0 = Debug|x64
62 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|x86.ActiveCfg = Debug|x86
63 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Debug|x86.Build.0 = Debug|x86
64 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|Any CPU.ActiveCfg = Release|Any CPU
65 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|Any CPU.Build.0 = Release|Any CPU
66 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|ARM.ActiveCfg = Release|ARM
67 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|ARM.Build.0 = Release|ARM
68 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|ARM64.ActiveCfg = Release|ARM64
69 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|ARM64.Build.0 = Release|ARM64
70 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|x64.ActiveCfg = Release|x64
71 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|x64.Build.0 = Release|x64
72 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|x86.ActiveCfg = Release|x86
73 | {1C318AA2-194C-4228-80ED-19E52DB20FD4}.Release|x86.Build.0 = Release|x86
74 | EndGlobalSection
75 | GlobalSection(SolutionProperties) = preSolution
76 | HideSolutionNode = FALSE
77 | EndGlobalSection
78 | GlobalSection(ExtensibilityGlobals) = postSolution
79 | SolutionGuid = {BE594440-0E3F-404E-B539-EF362CADD432}
80 | EndGlobalSection
81 | EndGlobal
82 |
--------------------------------------------------------------------------------
/transhefhero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shef3r/Transhef/72f534bbf60734a39dca789be4d2770c77318c90/transhefhero.png
--------------------------------------------------------------------------------