<DebugSymbols>true</DebugSymbols>\r
<DebugType>full</DebugType>\r
<Optimize>false</Optimize>\r
- <OutputPath>bin\Debug\</OutputPath>\r
+ <OutputPath>..\bin\AudioRecorder\Debug\</OutputPath>\r
<DefineConstants>DEBUG;TRACE</DefineConstants>\r
<ErrorReport>prompt</ErrorReport>\r
<WarningLevel>4</WarningLevel>\r
<PlatformTarget>AnyCPU</PlatformTarget>\r
<DebugType>pdbonly</DebugType>\r
<Optimize>true</Optimize>\r
- <OutputPath>bin\Release\</OutputPath>\r
+ <OutputPath>..\bin\AudioRecorder\Release\</OutputPath>\r
<DefineConstants>TRACE</DefineConstants>\r
<ErrorReport>prompt</ErrorReport>\r
<WarningLevel>4</WarningLevel>\r
</PropertyGroup>\r
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">\r
<DebugSymbols>true</DebugSymbols>\r
- <OutputPath>bin\x64\Debug\</OutputPath>\r
+ <OutputPath>..\bin\x64\AudioRecorder\Debug\</OutputPath>\r
<DefineConstants>DEBUG;TRACE</DefineConstants>\r
<DebugType>full</DebugType>\r
<PlatformTarget>x64</PlatformTarget>\r
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>\r
</PropertyGroup>\r
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">\r
- <OutputPath>bin\x64\Release\</OutputPath>\r
+ <OutputPath>..\bin\x64\AudioRecorder\Release\</OutputPath>\r
<DefineConstants>TRACE</DefineConstants>\r
<Optimize>true</Optimize>\r
<DebugType>pdbonly</DebugType>\r
<EmbeddedResource Include="MainForm.resx">\r
<DependentUpon>MainForm.cs</DependentUpon>\r
</EmbeddedResource>\r
- <EmbeddedResource Include="Properties\Resources.resx">\r
- <Generator>ResXFileCodeGenerator</Generator>\r
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
- <SubType>Designer</SubType>\r
- </EmbeddedResource>\r
- <Compile Include="Properties\Resources.Designer.cs">\r
- <AutoGen>True</AutoGen>\r
- <DependentUpon>Resources.resx</DependentUpon>\r
- <DesignTime>True</DesignTime>\r
- </Compile>\r
<EmbeddedResource Include="Resources.resx">\r
<Generator>ResXFileCodeGenerator</Generator>\r
<LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
<None Include="Configuration\audiorecorder.json1">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
+ <None Include="Configuration\audiorecorder.en">\r
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
+ </None>\r
<None Include="nlog.config">\r
<SubType>Designer</SubType>\r
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r
<None Include="packages.config">\r
<SubType>Designer</SubType>\r
</None>\r
- <None Include="Properties\Settings.settings">\r
- <Generator>SettingsSingleFileGenerator</Generator>\r
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>\r
- </None>\r
- <Compile Include="Properties\Settings.Designer.cs">\r
- <AutoGen>True</AutoGen>\r
- <DependentUpon>Settings.settings</DependentUpon>\r
- <DesignTimeSharedInput>True</DesignTimeSharedInput>\r
- </Compile>\r
<None Include="Configuration\audiorecorder.json">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
public int PeekMeterStep { get; set; }\r
public Uri WorkingDirectory { get; set; }\r
public MetadataProvider[] Metadatas { get; set; }\r
+ public UISettings UISettings { get; set; }\r
public Target OctopusTarget { get; set; }\r
public Target TrafficTarget { get; set; }\r
}\r
--- /dev/null
+{\r
+ "RUNDOWN": "Rundown",\r
+ "FOLDER": "Story folder",\r
+ "CHOOSE": "Choose an item",\r
+ "SELECTORTITLE": "Choose an ID",\r
+ "SELECTEDID": "Selected ID",\r
+ "CANCEL": "Cancel",\r
+ "DONE": "Done"\r
+}\r
"timeout": 1000\r
}\r
},\r
+ "uiSettings": {\r
+ "uiFileName": "audiorecorder.en"\r
+ },\r
"metadatas": [\r
{\r
"$type": "NativeOctopusMetadata",\r
+ "uiFileName": "audiorecorder.en",\r
"server": {\r
"address": " http://10.10.1.11/api/v1/",\r
"userName": "mam",\r
-using System;\r
+using MaestroShared.Configuration;\r
+using System;\r
using System.Windows.Forms;\r
\r
namespace AudioRecorder {\r
public MetadataSelectorForm(AudioRecorderSettings settings) {\r
InitializeComponent();\r
metadataIDSelector.Providers = settings.Metadatas;\r
+ metadataIDSelector.Settings = settings.UISettings;\r
metadataIDSelector.OctopusIDSelector.IDChangedEvent += OctopusIDChangedEvent;\r
metadataIDSelector.NativeOctopusIDSelector.IDChangedEvent += NativeOctopusIDChangedEvent;\r
metadataIDSelector.TrafficIDSelector.IDChangedEvent += TrafficIDChangedEvent;\r
metadataIDSelector.MetadataIDText.TextChanged += OnMetadataIDChanged;\r
+ settings.UISettings = settings.UISettings ?? new UISettings();\r
+ buttonCancel.Text = settings.UISettings.Resource("CANCEL", Resources.CANCEL);\r
+ buttonOK.Text = settings.UISettings.Resource("DONE", Resources.DONE);\r
+ Text = settings.UISettings.Resource("SELECTORTITLE", Resources.SELECTORTITLE);\r
}\r
\r
private void OnMetadataIDChanged(object sender, EventArgs e) {\r
+++ /dev/null
-//------------------------------------------------------------------------------\r
-// <auto-generated>\r
-// This code was generated by a tool.\r
-// Runtime Version:4.0.30319.42000\r
-//\r
-// Changes to this file may cause incorrect behavior and will be lost if\r
-// the code is regenerated.\r
-// </auto-generated>\r
-//------------------------------------------------------------------------------\r
-\r
-namespace AudioRecorder.Properties {\r
- \r
- \r
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]\r
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]\r
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {\r
- \r
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));\r
- \r
- public static Settings Default {\r
- get {\r
- return defaultInstance;\r
- }\r
- }\r
- }\r
-}\r
+++ /dev/null
-<?xml version='1.0' encoding='utf-8'?>\r
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">\r
- <Profiles>\r
- <Profile Name="(Default)" />\r
- </Profiles>\r
- <Settings />\r
-</SettingsFile>\r
// class via a tool like ResGen or Visual Studio.\r
// To add or remove a member, edit your .ResX file then rerun ResGen\r
// with the /str option, or rebuild your VS project.\r
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]\r
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]\r
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]\r
internal class Resources {\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Mégsem.\r
+ /// </summary>\r
+ internal static string CANCEL {\r
+ get {\r
+ return ResourceManager.GetString("CANCEL", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Rendben.\r
+ /// </summary>\r
+ internal static string DONE {\r
+ get {\r
+ return ResourceManager.GetString("DONE", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Felvétel.\r
/// </summary>\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Azonosító kiválasztása.\r
+ /// </summary>\r
+ internal static string SELECTORTITLE {\r
+ get {\r
+ return ResourceManager.GetString("SELECTORTITLE", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Szunet.\r
/// </summary>\r
<data name="VALASSZON_MIKROFONT" xml:space="preserve">\r
<value>Válasszon mikrofont</value>\r
</data>\r
+ <data name="CANCEL" xml:space="preserve">\r
+ <value>Mégsem</value>\r
+ </data>\r
+ <data name="DONE" xml:space="preserve">\r
+ <value>Rendben</value>\r
+ </data>\r
+ <data name="SELECTORTITLE" xml:space="preserve">\r
+ <value>Azonosító kiválasztása</value>\r
+ </data>\r
</root>
\ No newline at end of file
},\r
"metadata": {\r
"$type": "TrafficMetadata",\r
- "uiFileName": "metadataprovider.en",\r
+ "uiFileName": "planair.en",\r
"server": {\r
"address": "Data Source=10.10.1.45;Initial Catalog=PA_Echo;Persist Security Info=True;",\r
"userName": "MAM",\r
</Compile>\r
<Content Include="DirectShowLib.dll" />\r
<Content Include="maestro.ico" />\r
- <None Include="Configuration\metadataprovider.en">\r
+ <None Include="Configuration\planair.en">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
<None Include="Configuration\dxplay.en">\r
}\r
\r
public class NativeOctopusMetadata : MetadataProvider {\r
- public ProjectSettings ProjectSettings { get; set; }\r
}\r
\r
public class TrafficMetadata : MetadataProvider {\r
public OctopusIDSelector OctopusIDSelector { get => octopusIDSelector; }\r
public NativeOctopusIDSelector NativeOctopusIDSelector { get => nativeOctopusIDSelector; }\r
public TrafficIDSelector TrafficIDSelector { get => trafficIDSelector; }\r
+ public UISettings Settings { get; set; }\r
+\r
public MetadataProvider[] Providers { get => providers;\r
set {\r
providers = value;\r
messageBus.Subscribe<MediaCubeMessage>(OnMessage);\r
}\r
\r
+ protected override void OnLoad(EventArgs e) {\r
+ base.OnLoad(e);\r
+ Settings = Settings ?? new UISettings();\r
+ labelSelectedMetadata.Text = Settings.Resource("SELECTEDID", MetadataSelector.Properties.Resources.SELECTEDID);\r
+ }\r
+\r
private void OnMessage(IMessage message) {\r
if (message is MaestroMessage nm)\r
MsgBox.Error(nm.Content);\r
<DependentUpon>MetadataIDSelector.cs</DependentUpon>\r
</Compile>\r
<Compile Include="Properties\AssemblyInfo.cs" />\r
+ <Compile Include="Properties\Resources.Designer.cs">\r
+ <AutoGen>True</AutoGen>\r
+ <DesignTime>True</DesignTime>\r
+ <DependentUpon>Resources.resx</DependentUpon>\r
+ </Compile>\r
</ItemGroup>\r
<ItemGroup>\r
<EmbeddedResource Include="MetadataIDSelector.resx">\r
<DependentUpon>MetadataIDSelector.cs</DependentUpon>\r
</EmbeddedResource>\r
+ <EmbeddedResource Include="Properties\Resources.resx">\r
+ <Generator>ResXFileCodeGenerator</Generator>\r
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
+ </EmbeddedResource>\r
</ItemGroup>\r
<ItemGroup>\r
<ProjectReference Include="..\MaestroShared\MaestroShared.csproj">\r
// </auto-generated>\r
//------------------------------------------------------------------------------\r
\r
-namespace AudioRecorder.Properties {\r
+namespace MetadataSelector.Properties {\r
using System;\r
\r
\r
// class via a tool like ResGen or Visual Studio.\r
// To add or remove a member, edit your .ResX file then rerun ResGen\r
// with the /str option, or rebuild your VS project.\r
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]\r
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]\r
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]\r
internal class Resources {\r
internal static global::System.Resources.ResourceManager ResourceManager {\r
get {\r
if (object.ReferenceEquals(resourceMan, null)) {\r
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AudioRecorder.Properties.Resources", typeof(Resources).Assembly);\r
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MetadataSelector.Properties.Resources", typeof(Resources).Assembly);\r
resourceMan = temp;\r
}\r
return resourceMan;\r
}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to Felvétel.\r
+ /// Looks up a localized string similar to Kiválasztott metaadat.\r
/// </summary>\r
- internal static string FELVETEL {\r
+ internal static string SELECTEDID {\r
get {\r
- return ResourceManager.GetString("FELVETEL", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Leállítás.\r
- /// </summary>\r
- internal static string LEALLITAS {\r
- get {\r
- return ResourceManager.GetString("LEALLITAS", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Lejátszás.\r
- /// </summary>\r
- internal static string LEJATSZAS {\r
- get {\r
- return ResourceManager.GetString("LEJATSZAS", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Szunet.\r
- /// </summary>\r
- internal static string SZUNET {\r
- get {\r
- return ResourceManager.GetString("SZUNET", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Válasszon mikrofont.\r
- /// </summary>\r
- internal static string VALASSZON_MIKROFONT {\r
- get {\r
- return ResourceManager.GetString("VALASSZON_MIKROFONT", resourceCulture);\r
+ return ResourceManager.GetString("SELECTEDID", resourceCulture);\r
}\r
}\r
}\r
\r
mimetype: application/x-microsoft.net.object.binary.base64\r
value : The object must be serialized with \r
- : System.Serialization.Formatters.Binary.BinaryFormatter\r
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter\r
: and then encoded with base64 encoding.\r
\r
mimetype: application/x-microsoft.net.object.soap.base64\r
: and then encoded with base64 encoding.\r
-->\r
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />\r
<xsd:element name="root" msdata:IsDataSet="true">\r
<xsd:complexType>\r
<xsd:choice maxOccurs="unbounded">\r
<xsd:sequence>\r
<xsd:element name="value" type="xsd:string" minOccurs="0" />\r
</xsd:sequence>\r
- <xsd:attribute name="name" type="xsd:string" />\r
+ <xsd:attribute name="name" use="required" type="xsd:string" />\r
<xsd:attribute name="type" type="xsd:string" />\r
<xsd:attribute name="mimetype" type="xsd:string" />\r
+ <xsd:attribute ref="xml:space" />\r
</xsd:complexType>\r
</xsd:element>\r
<xsd:element name="assembly">\r
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
</xsd:sequence>\r
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />\r
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />\r
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+ <xsd:attribute ref="xml:space" />\r
</xsd:complexType>\r
</xsd:element>\r
<xsd:element name="resheader">\r
<value>2.0</value>\r
</resheader>\r
<resheader name="reader">\r
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
</resheader>\r
<resheader name="writer">\r
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
</resheader>\r
+ <data name="SELECTEDID" xml:space="preserve">\r
+ <value>Kiválasztott metaadat</value>\r
+ </data>\r
</root>
\ No newline at end of file
using System.Windows.Forms;\r
using System.Collections.Generic;\r
using System.Runtime.InteropServices;\r
-using MaestroShared.Configuration;\r
using MaestroShared.Commons;\r
using MaestroShared.MessageBus;\r
using NativeOctopusClient.Model;\r
+using NativeOctopusClient.Properties;\r
\r
namespace NativeOctopusClient {\r
public delegate void OnSelectedIDChanged(string id, string name, string text);\r
treeOctopus.NodeDoubleClick = OnNodeDoubleClick;\r
}\r
\r
+ protected override void OnLoad(EventArgs e) {\r
+ base.OnLoad(e);\r
+ rbRundown.Text = parameters?.Configuration?.Resource("RUNDOWN", Resources.RUNDOWN);\r
+ rbStoryFolder.Text = parameters?.Configuration?.Resource("FOLDER", Resources.FOLDER);\r
+ }\r
+\r
private void InitializeControls() {\r
- rbRundown.Text = Properties.Resources.ADASTUKOR;\r
- rbStoryFolder.Text = Properties.Resources.MAPPA;\r
+ if (rbRundown.Text == null)\r
+ rbRundown.Text = Resources.RUNDOWN;\r
+ if (rbStoryFolder.Text == null)\r
+ rbStoryFolder.Text = Resources.FOLDER;\r
}\r
\r
public void ClearSelection() {\r
return;\r
ClearSelection();\r
Cursor.Current = Cursors.WaitCursor;\r
+ var chooseText = parameters.Configuration.Resource("CHOOSE", Resources.CHOOSE);\r
+ if (chooseText == null)\r
+ chooseText = Resources.CHOOSE;\r
if (rbRundown.Checked) {\r
dtScheduled.Enabled = true;\r
List<Rundown> rundownsResult = client.GetRundowns(dtScheduled.Value.Date)?.ToList();\r
return;\r
}\r
List<Rundown> rundowns = new List<Rundown>();\r
- rundowns.Add(new Rundown() { ID = ZERO, Name = Properties.Resources.VALASSZON_ELEMET });\r
+ rundowns.Add(new Rundown() { ID = ZERO, Name = chooseText });\r
rundowns.AddRange(rundownsResult);\r
cbFolders.DataSource = rundowns;\r
} else {\r
return;\r
}\r
List<StoryFolder> storyFolders = new List<StoryFolder>();\r
- storyFolders.Add(new StoryFolder() { ID = ZERO, Name = Properties.Resources.VALASSZON_ELEMET });\r
+ storyFolders.Add(new StoryFolder() { ID = ZERO, Name = chooseText });\r
storyFolders.AddRange(storyFoldersResult);\r
cbFolders.DataSource = storyFolders;\r
}\r
}\r
\r
private void OnNodeDoubleClick(object sender, TreeNodeMouseClickEventArgs e) {\r
- if (e.X < e.Node.Bounds.X + 5 || e.Node.Level != 0)\r
- return;\r
- Story story = e.Node.Tag as Story;\r
- if (story == null)\r
- return;\r
- ProjectSettings projectConfiguration = parameters?.Configuration?.ProjectSettings;\r
- string id = story.ParentStoryID;\r
- string text = String.IsNullOrEmpty(story.Format) ? story.Name : String.Format($"{story.Name}_{story.Format}");\r
- EdiusProject.Open(projectConfiguration, id, text, parameters.UserName);\r
+ //if (e.X < e.Node.Bounds.X + 5 || e.Node.Level != 0)\r
+ // return;\r
+ //Story story = e.Node.Tag as Story;\r
+ //if (story == null)\r
+ // return;\r
+ //ProjectSettings projectConfiguration = parameters?.Configuration?.ProjectSettings;\r
+ //string id = story.ParentStoryID;\r
+ //string text = String.IsNullOrEmpty(story.Format) ? story.Name : String.Format($"{story.Name}_{story.Format}");\r
+ //EdiusProject.Open(projectConfiguration, id, text, parameters.UserName);\r
}\r
\r
private void noFocusCueButton1_Click(object sender, EventArgs e) {\r
}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to Adástükör.\r
- /// </summary>\r
- internal static string ADASTUKOR {\r
- get {\r
- return ResourceManager.GetString("ADASTUKOR", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Archive.\r
+ /// Looks up a localized string similar to Válasszon elemet.\r
/// </summary>\r
- internal static string ARCHIVE {\r
+ internal static string CHOOSE {\r
get {\r
- return ResourceManager.GetString("ARCHIVE", resourceCulture);\r
+ return ResourceManager.GetString("CHOOSE", resourceCulture);\r
}\r
}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to Global ID.\r
+ /// Looks up a localized string similar to Mappa.\r
/// </summary>\r
- internal static string GLOBAL_ID {\r
+ internal static string FOLDER {\r
get {\r
- return ResourceManager.GetString("GLOBAL_ID", resourceCulture);\r
+ return ResourceManager.GetString("FOLDER", resourceCulture);\r
}\r
}\r
\r
}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to ID.\r
- /// </summary>\r
- internal static string ID {\r
- get {\r
- return ResourceManager.GetString("ID", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Keresés.\r
- /// </summary>\r
- internal static string KERESES {\r
- get {\r
- return ResourceManager.GetString("KERESES", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Keresés eredménye.\r
- /// </summary>\r
- internal static string KERESES_EREDMENYE {\r
- get {\r
- return ResourceManager.GetString("KERESES_EREDMENYE", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Mappa.\r
- /// </summary>\r
- internal static string MAPPA {\r
- get {\r
- return ResourceManager.GetString("MAPPA", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Mégse.\r
- /// </summary>\r
- internal static string MEGSE {\r
- get {\r
- return ResourceManager.GetString("MEGSE", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Módosítva.\r
- /// </summary>\r
- internal static string MODOSITVA {\r
- get {\r
- return ResourceManager.GetString("MODOSITVA", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to MosID.\r
- /// </summary>\r
- internal static string MOS_ID {\r
- get {\r
- return ResourceManager.GetString("MOS_ID", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Név.\r
- /// </summary>\r
- internal static string NEV {\r
- get {\r
- return ResourceManager.GetString("NEV", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Objektum ID.\r
- /// </summary>\r
- internal static string OBJECT_ID {\r
- get {\r
- return ResourceManager.GetString("OBJECT_ID", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Objektum típusa.\r
- /// </summary>\r
- internal static string OBJECT_TYPE {\r
- get {\r
- return ResourceManager.GetString("OBJECT_TYPE", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Nem lehet csatlakozni az octopus kiszolgálóhoz.\r
- /// </summary>\r
- internal static string OCTOPUS_KAPCSOLATI_HIBA {\r
- get {\r
- return ResourceManager.GetString("OCTOPUS_KAPCSOLATI_HIBA", resourceCulture);\r
- }\r
- }\r
- \r
- /// <summary>\r
- /// Looks up a localized string similar to Válasszon elemet.\r
+ /// Looks up a localized string similar to Adástükör.\r
/// </summary>\r
- internal static string VALASSZON_ELEMET {\r
+ internal static string RUNDOWN {\r
get {\r
- return ResourceManager.GetString("VALASSZON_ELEMET", resourceCulture);\r
+ return ResourceManager.GetString("RUNDOWN", resourceCulture);\r
}\r
}\r
}\r
<resheader name="writer">\r
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
</resheader>\r
- <data name="ADASTUKOR" xml:space="preserve">\r
+ <data name="RUNDOWN" xml:space="preserve">\r
<value>Adástükör</value>\r
</data>\r
- <data name="ARCHIVE" xml:space="preserve">\r
- <value>Archive</value>\r
- </data>\r
- <data name="GLOBAL_ID" xml:space="preserve">\r
- <value>Global ID</value>\r
- </data>\r
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />\r
<data name="ic_refresh_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
<value>..\resources\ic_refresh_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
</data>\r
- <data name="ID" xml:space="preserve">\r
- <value>ID</value>\r
- </data>\r
- <data name="KERESES" xml:space="preserve">\r
- <value>Keresés</value>\r
- </data>\r
- <data name="KERESES_EREDMENYE" xml:space="preserve">\r
- <value>Keresés eredménye</value>\r
- </data>\r
- <data name="MAPPA" xml:space="preserve">\r
+ <data name="FOLDER" xml:space="preserve">\r
<value>Mappa</value>\r
</data>\r
- <data name="MEGSE" xml:space="preserve">\r
- <value>Mégse</value>\r
- </data>\r
- <data name="MODOSITVA" xml:space="preserve">\r
- <value>Módosítva</value>\r
- </data>\r
- <data name="MOS_ID" xml:space="preserve">\r
- <value>MosID</value>\r
- </data>\r
- <data name="NEV" xml:space="preserve">\r
- <value>Név</value>\r
- </data>\r
- <data name="OBJECT_ID" xml:space="preserve">\r
- <value>Objektum ID</value>\r
- </data>\r
- <data name="OBJECT_TYPE" xml:space="preserve">\r
- <value>Objektum típusa</value>\r
- </data>\r
- <data name="OCTOPUS_KAPCSOLATI_HIBA" xml:space="preserve">\r
- <value>Nem lehet csatlakozni az octopus kiszolgálóhoz</value>\r
- </data>\r
- <data name="VALASSZON_ELEMET" xml:space="preserve">\r
+ <data name="CHOOSE" xml:space="preserve">\r
<value>Válasszon elemet</value>\r
</data>\r
</root>
\ No newline at end of file
\r
[STAThread]\r
static void Main(string[] args) {\r
- Console.WriteLine("Eredeti jelszó:");\r
+ Console.WriteLine("Password:");\r
string password = Console.ReadLine();\r
\r
- Console.WriteLine("Kódolt jelszó a vágólapon:");\r
+ Console.WriteLine("Encrypted password (available on clipboard):");\r
string encryptedstring = StringCipher.Encrypt(password);\r
Console.WriteLine(encryptedstring);\r
Clipboard.SetText(encryptedstring);\r
\r
string originalstring = StringCipher.Decrypt(encryptedstring);\r
- Console.WriteLine("Ellenőrzés:");\r
+ Console.WriteLine("Restored password:");\r
Console.WriteLine(originalstring);\r
Console.ReadLine();\r
}\r
using System;\r
using System.Linq;\r
using System.Collections.Generic;\r
-using LinkDotNet.MessageHandling.Contracts;\r
using MaestroShared.Commons;\r
using MaestroShared.Configuration;\r
using System.Text.RegularExpressions;\r