Skip to content

Commit 82ecf84

Browse files
Merge pull request #147 from InvisibleManVPN/develop
InvisibleMan XRay version 2.6.3
2 parents a575165 + 5d6cfe0 commit 82ecf84

49 files changed

Lines changed: 925 additions & 226 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

InvisibleMan-XRay/App.xaml.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace InvisibleManXRay
44
{
55
using Managers;
6+
using Handlers;
67
using Factories;
78

89
public partial class App : Application
@@ -13,6 +14,7 @@ public partial class App : Application
1314
protected override void OnStartup(StartupEventArgs e)
1415
{
1516
InitializeAppManager();
17+
InitializeNotifyIcon();
1618
InitializeWindowFactory();
1719
InitializeMainWindow();
1820
HandlePipes();
@@ -23,6 +25,11 @@ void InitializeAppManager()
2325
appManager.Initialize();
2426
}
2527

28+
void InitializeNotifyIcon()
29+
{
30+
appManager.HandlersManager.GetHandler<NotifyHandler>().InitializeNotifyIcon();
31+
}
32+
2633
void InitializeWindowFactory()
2734
{
2835
windowFactory = appManager.WindowFactory;
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
xmlns:system="clr-namespace:System;assembly=System.Runtime">
4+
5+
<FlowDirection x:Key="Lang.Direction">LeftToRight</FlowDirection>
6+
7+
<system:String x:Key="Lang.Run">RUN</system:String>
8+
<system:String x:Key="Lang.Stop">STOP</system:String>
9+
<system:String x:Key="Lang.Cancel">CANCEL</system:String>
10+
11+
<system:String x:Key="Lang.Status.Stopped">Stopped</system:String>
12+
<system:String x:Key="Lang.Status.Running">Running</system:String>
13+
<system:String x:Key="Lang.Status.WaitForRun">Wait for run</system:String>
14+
15+
<system:String x:Key="Lang.Button.Import">IMPORT</system:String>
16+
<system:String x:Key="Lang.Button.Confirm">CONFIRM</system:String>
17+
<system:String x:Key="Lang.Button.Update">UPDATE</system:String>
18+
<system:String x:Key="Lang.Button.Cancel">CANCEL</system:String>
19+
<system:String x:Key="Lang.Button.TryAgain">TRY AGAIN</system:String>
20+
<system:String x:Key="Lang.Button.Back">BACK</system:String>
21+
<system:String x:Key="Lang.Button.Close">CLOSE</system:String>
22+
<system:String x:Key="Lang.Button.ChooseFile">CHOOSE FILE</system:String>
23+
24+
<system:String x:Key="Lang.Window.Main.ManageServerConfiguration">Manage server configuration</system:String>
25+
26+
<system:String x:Key="Lang.Window.About.WindowTitle">About</system:String>
27+
<system:String x:Key="Lang.Window.About.Title">ABOUT</system:String>
28+
<system:String x:Key="Lang.Window.About.Subtitle">About Invisible Man XRay</system:String>
29+
<system:String x:Key="Lang.Window.About.ApplicationVersion">Application version:</system:String>
30+
<system:String x:Key="Lang.Window.About.XrayCoreVersion">Xray-core version:</system:String>
31+
<system:String x:Key="Lang.Window.About.Description">is an open source and free client that supports xray core. It provides an easy-to-use interface to configure and manage proxies and allows users to switch between different server locations.</system:String>
32+
<system:String x:Key="Lang.Window.About.VisitWebsite">Please visit the website to download the latest version or to get help and information.</system:String>
33+
<system:String x:Key="Lang.Window.About.SubmitIssuePart1">If you have any problem or you want to report a bug or suggestion, feel free to submit them in our</system:String>
34+
<system:String x:Key="Lang.Window.About.SubmitIssuePart2">issue tracker</system:String>
35+
<system:String x:Key="Lang.Window.About.SubmitIssuePart3">section.</system:String>
36+
<system:String x:Key="Lang.Window.About.ContactUs">Also, you can contact us by sending an email. We will try to respond to you as soon as possible!</system:String>
37+
<system:String x:Key="Lang.Window.About.Thanks" xml:space="preserve">Thanks for using Invisible Man XRay&#10;Hope you enjoy it</system:String>
38+
39+
<system:String x:Key="Lang.Window.Policy.WindowTitle">Policy</system:String>
40+
<system:String x:Key="Lang.Window.Policy.Title">POLICY</system:String>
41+
<system:String x:Key="Lang.Window.Policy.Subtitle">Data Analytics policy</system:String>
42+
<system:String x:Key="Lang.Window.Policy.DescriptionPart1">At</system:String>
43+
<system:String x:Key="Lang.Window.Policy.DescriptionPart2">Invisible Man</system:String>
44+
<system:String x:Key="Lang.Window.Policy.DescriptionPart3">we are committed to providing you with an exceptional user experience. As part of our efforts to continuously improve our services, we utilize analytics data to gain insights and make informed decisions that benefit all our users. This policy outlines our approach to data analytics and our commitment to protecting your privacy.</system:String>
45+
<system:String x:Key="Lang.Window.Policy.PurposeOfAnalyticsTitle">1. Purpose of Analytics:</system:String>
46+
<system:String x:Key="Lang.Window.Policy.PurposeOfAnalyticsDescription">We use analytics to better understand how our app is being used, identify areas for improvement, and optimize our features and functionalities. By analyzing user behavior patterns, we can enhance the overall user experience and tailor our app to better meet your needs.</system:String>
47+
<system:String x:Key="Lang.Window.Policy.DataCollectionTitle">2. Data Collection:</system:String>
48+
<system:String x:Key="Lang.Window.Policy.DataCollectionDescription">The data we collect is strictly limited to non-personal, aggregated information. This means that we do not collect or process any personal information that can directly identify you. We respect your privacy and are committed to protecting your personal data.</system:String>
49+
<system:String x:Key="Lang.Window.Policy.DataAnonymizationTitle">3. Data Anonymization:</system:String>
50+
<system:String x:Key="Lang.Window.Policy.DataAnonymizationDescription">To ensure your privacy, any data we collect is anonymized and aggregated. This means that it is combined with data from other users and cannot be linked back to any specific individual. Rest assured that your identity remains completely anonymous throughout the analytics process.</system:String>
51+
<system:String x:Key="Lang.Window.Policy.DataSecurityTitle">4. Data Security:</system:String>
52+
<system:String x:Key="Lang.Window.Policy.DataSecurityDescription">We take the security of your data seriously. We have implemented industry-standard security measures to safeguard the analytics data we collect. Our systems are designed to protect against unauthorized access, use, or disclosure of your information.</system:String>
53+
<system:String x:Key="Lang.Window.Policy.ThirdPartyProvidersTitle">5. Third-Party Providers:</system:String>
54+
<system:String x:Key="Lang.Window.Policy.ThirdPartyProvidersDescription">We use Google Analytics as our third-party analytics provider to assist us in collecting and analyzing data. This provider is carefully selected and complies with our privacy and security standards.</system:String>
55+
<system:String x:Key="Lang.Window.Policy.YourChoicesTitle">6. Your Choices:</system:String>
56+
<system:String x:Key="Lang.Window.Policy.YourChoicesDescription">We respect your right to control your data. If you do not wish to participate in our analytics program, you can opt-out at any time through the app settings. Please note that opting out may impact our ability to enhance your user experience.</system:String>
57+
<system:String x:Key="Lang.Window.Policy.AcknowledgeAnalyticsUse">By continuing to use our app, you acknowledge and consent to our use of analytics data in accordance with this policy. If you have any questions or concerns about our data analytics practices, please contact our support team at:</system:String>
58+
<system:String x:Key="Lang.Window.Policy.Thanks">Thank you for choosing Invisible Man XRay. We appreciate your trust and look forward to providing you with an exceptional user experience.</system:String>
59+
60+
<system:String x:Key="Lang.Window.Server.WindowTitle">Server config</system:String>
61+
<system:String x:Key="Lang.Window.Server.Title">SERVER CONFIG</system:String>
62+
<system:String x:Key="Lang.Window.Server.Subtitle">Manage server configuration</system:String>
63+
<system:String x:Key="Lang.Window.Server.Tab.Configuration">Configuration</system:String>
64+
<system:String x:Key="Lang.Window.Server.Tab.Subscription">Subscription</system:String>
65+
<system:String x:Key="Lang.Window.Server.Import.File">Import config file</system:String>
66+
<system:String x:Key="Lang.Window.Server.Import.Link">Import from link</system:String>
67+
<system:String x:Key="Lang.Window.Server.Import.Remarks">Remarks</system:String>
68+
<system:String x:Key="Lang.Window.Server.Import.SubscriptionLink">Subscription link</system:String>
69+
70+
<system:String x:Key="Lang.Window.Settings.WindowTitle">Settings</system:String>
71+
<system:String x:Key="Lang.Window.Settings.Title">SETTINGS</system:String>
72+
<system:String x:Key="Lang.Window.Settings.Subtitle">Customize your settings</system:String>
73+
<system:String x:Key="Lang.Window.Settings.Tab.Basic">Basic</system:String>
74+
<system:String x:Key="Lang.Window.Settings.Tab.Port">Port</system:String>
75+
<system:String x:Key="Lang.Window.Settings.Tab.TUN">TUN</system:String>
76+
<system:String x:Key="Lang.Window.Settings.Tab.Log">Log</system:String>
77+
<system:String x:Key="Lang.Window.Settings.Basic.Language">Language</system:String>
78+
<system:String x:Key="Lang.Window.Settings.Basic.Mode">Mode</system:String>
79+
<system:String x:Key="Lang.Window.Settings.Basic.Protocol">Protocol</system:String>
80+
<system:String x:Key="Lang.Window.Settings.Basic.UseSystemProxy">Use system proxy</system:String>
81+
<system:String x:Key="Lang.Window.Settings.Basic.EnbleUdp">Enable UDP</system:String>
82+
<system:String x:Key="Lang.Window.Settings.Basic.SendAnalyticsPart1">Allow the app to send</system:String>
83+
<system:String x:Key="Lang.Window.Settings.Basic.SendAnalyticsPart2">Analytics</system:String>
84+
<system:String x:Key="Lang.Window.Settings.Basic.SendAnalyticsPart3">events</system:String>
85+
<system:String x:Key="Lang.Window.Settings.Basic.RunAtStartup">Run automatically at startup</system:String>
86+
<system:String x:Key="Lang.Window.Settings.Port.Proxy">Proxy port</system:String>
87+
<system:String x:Key="Lang.Window.Settings.Port.TUN">TUN port</system:String>
88+
<system:String x:Key="Lang.Window.Settings.Port.Test">Test port</system:String>
89+
<system:String x:Key="Lang.Window.Settings.Tun.DeviceIp">Device IP</system:String>
90+
<system:String x:Key="Lang.Window.Settings.Tun.Dns">DNS</system:String>
91+
<system:String x:Key="Lang.Window.Settings.Log.Level">Log level</system:String>
92+
<system:String x:Key="Lang.Window.Settings.Log.Path">Log path</system:String>
93+
94+
<system:String x:Key="Lang.Window.Update.WindowTitle">Update</system:String>
95+
<system:String x:Key="Lang.Window.Update.Title">UPDATE</system:String>
96+
<system:String x:Key="Lang.Window.Update.Subtitle">Check for updates</system:String>
97+
98+
<system:String x:Key="Lang.Config.Status.NotChecked">Not checked</system:String>
99+
<system:String x:Key="Lang.Config.Status.Timeout">Timeout</system:String>
100+
<system:String x:Key="Lang.Config.Status.Available">Available</system:String>
101+
102+
<system:String x:Key="Lang.ToolTip.About">About</system:String>
103+
<system:String x:Key="Lang.ToolTip.Settings">Settings</system:String>
104+
<system:String x:Key="Lang.ToolTip.BugReporting">Bug reporting</system:String>
105+
<system:String x:Key="Lang.ToolTip.CheckForUpdates">Check for updates</system:String>
106+
<system:String x:Key="Lang.ToolTip.SourceCodeOnGitHub">Source code on GitHub</system:String>
107+
<system:String x:Key="Lang.ToolTip.AddNewConfiguration">Add new configuration</system:String>
108+
<system:String x:Key="Lang.ToolTip.AddNewSubscription">Add new subscription</system:String>
109+
<system:String x:Key="Lang.ToolTip.Edit">Edit</system:String>
110+
<system:String x:Key="Lang.ToolTip.Delete">Delete</system:String>
111+
<system:String x:Key="Lang.ToolTip.Log">Log</system:String>
112+
<system:String x:Key="Lang.ToolTip.Share">Share</system:String>
113+
<system:String x:Key="Lang.ToolTip.Check">Check</system:String>
114+
<system:String x:Key="Lang.ToolTip.Update">Update</system:String>
115+
116+
<system:String x:Key="Lang.Notify.Open">Open Invisible Man XRay</system:String>
117+
<system:String x:Key="Lang.Notify.Mode">Mode</system:String>
118+
<system:String x:Key="Lang.Notify.Update">Check for updates</system:String>
119+
<system:String x:Key="Lang.Notify.About">About</system:String>
120+
<system:String x:Key="Lang.Notify.Close">Close</system:String>
121+
122+
<system:String x:Key="Lang.Message.AppAlreadyRunning">The application is already running.</system:String>
123+
<system:String x:Key="Lang.Message.DeleteConfirmation">Are you sure you want to delete {0}?</system:String>
124+
<system:String x:Key="Lang.Message.ConfigHint">Tap the plus to add a new one</system:String>
125+
<system:String x:Key="Lang.Message.NoServerConfiguration">No server configuration</system:String>
126+
<system:String x:Key="Lang.Message.ThereIsNoConfiguration">There is no configuration</system:String>
127+
<system:String x:Key="Lang.Message.ThereIsNoSubscription">There is no subscription</system:String>
128+
<system:String x:Key="Lang.Message.NoFileChoosen">No file chosen...</system:String>
129+
<system:String x:Key="Lang.Message.PleaseWait">Please wait...</system:String>
130+
<system:String x:Key="Lang.Message.WaitingForServerResponse">Waiting for the server response...</system:String>
131+
<system:String x:Key="Lang.Message.UpdateAvailable">A new version is available!</system:String>
132+
<system:String x:Key="Lang.Message.YouHaveLatestVersion">You already have the latest version</system:String>
133+
<system:String x:Key="Lang.Message.CantConnectToServer">Can't connect to the server</system:String>
134+
<system:String x:Key="Lang.Message.CantConnectToTunnelService">The application can't connect to the tunnel service.</system:String>
135+
<system:String x:Key="Lang.Message.CantProxySystem">The application can't proxy the system.</system:String>
136+
<system:String x:Key="Lang.Message.CantTunnelSystem">The application can't tunnel the system.</system:String>
137+
<system:String x:Key="Lang.Message.NoConfigsFound" xml:space="preserve">No configurations were found.&#10;Please add a new server configuration.</system:String>
138+
<system:String x:Key="Lang.Message.InvalidConfig" xml:space="preserve">Invalid configuration.&#10;Please check it again.</system:String>
139+
<system:String x:Key="Lang.Message.InvalidSubscription" xml:space="preserve">Invalid subscription.&#10;Please check it again.</system:String>
140+
<system:String x:Key="Lang.Message.NoConfigFileSelected" xml:space="preserve">No file was selected.&#10;Add a server configuration file.</system:String>
141+
<system:String x:Key="Lang.Message.NoConfigLinkEntered" xml:space="preserve">No link was entered.&#10;Add a server configuration link.</system:String>
142+
<system:String x:Key="Lang.Message.NoSubscriptionLinkEntered" xml:space="preserve">No link was entered.&#10;Add a subscription link.</system:String>
143+
<system:String x:Key="Lang.Message.NoSubscriptionRemarksEntered" xml:space="preserve">No remarks was entered.&#10;Please fill remarks.</system:String>
144+
<system:String x:Key="Lang.Message.FileDoesntExists" xml:space="preserve">This file doesn't exists.&#10;Maybe it has been deleted.</system:String>
145+
<system:String x:Key="Lang.Message.UnsopportedConfigLink" xml:space="preserve">This link wasn't supported.&#10;Try another configuration link.</system:String>
146+
<system:String x:Key="Lang.Message.UnsopportedSubscriptionLink" xml:space="preserve">This link wasn't supported.&#10;Try another subscription link.</system:String>
147+
<system:String x:Key="Lang.Message.NoLogFile" xml:space="preserve">There is no log file for this config.&#10;You can manage the log files from the settings menu.</system:String>
148+
</ResourceDictionary>

0 commit comments

Comments
 (0)