Strings update.

Code cleanup.
This commit is contained in:
Lorenz Cuno Klopfenstein 2011-03-28 23:23:30 +02:00
parent 4d842bfe6d
commit 69ce36fb75
10 changed files with 757 additions and 638 deletions

12
OnTopReplica/CREDITS.txt Normal file
View file

@ -0,0 +1,12 @@
OnTopReplica credits
--------------------
This application was inspired by Switcher (http://insentient.net) and other DWM based application.
All Aero controls are part of the open-source WindowsFormsAero (http://windowsformsaero.codeplex.com) library for .NET.
Some DWM example code has ben taken from user Ookii (http://www.ookii.org) on Channel 9 MSDN.
The NativeToolstripRenderer class has been taken from asztal.net (http://wp.asztal.net/2007/12/vista-style-menus-in-dotnet).
Some of the icons used by OnTopReplica have been taken from VistaICO.com and the Xiao icon set.

2
OnTopReplica/LICENSE.txt Normal file
View file

@ -0,0 +1,2 @@
Microsoft Reciprocal License (Ms-RL)
http://opensource.org/licenses/ms-rl.html

View file

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OnTopReplica {
/// <summary>
/// Simple tuple with two values.
/// </summary>
struct Pair<T1, T2> {
public T1 Item1;
public T2 Item2;
public Pair(T1 value1, T2 value2) {
Item1 = value1;
Item2 = value2;
}
}
}

View file

@ -60,6 +60,24 @@ namespace OnTopReplica {
}
}
/// <summary>
/// Looks up a localized string similar to Created by: %..
/// </summary>
internal static string AboutAuthor {
get {
return ResourceManager.GetString("AboutAuthor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Lorenz Cuno Klopfenstein.
/// </summary>
internal static string AboutAuthorContent {
get {
return ResourceManager.GetString("AboutAuthorContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Abort update process..
/// </summary>
@ -97,45 +115,83 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to &lt;html&gt;
/// &lt;head&gt;
/// &lt;style type=&quot;text/css&quot;&gt;
///body {
/// font-family: Segoe UI, Arial, sans-serif;
/// font-size: 0.8em;
/// margin: 0;
///padding: 0.75em;
///}
///h1 {
/// font-size: 1.4em;
/// font-weight: bold;
///
/// margin: 1em 0 0.4em 0;
/// padding: 0;
///}
///p {
/// margin: 0.5em 0 0.5em 1em;
/// padding: 0;
///}
///a {
/// font-weight: bold;
/// color: blue;
///}
///a:hover {
/// color: red;
///}
/// &lt;/style&gt;
/// &lt;/head&gt;
///
/// &lt;body&gt;
///
/// &lt;h1&gt;License&lt;/h1&gt;
///
/// &lt;p&gt;&lt;b&gt;OnTopReplica&lt;/b&gt; is licensed under the &lt;a href=&quot;http://opensource.org/licenses/ms-rl.html&quot;&gt;Microsoft Reciprocal [rest of string was truncated]&quot;;.
/// Looks up a localized string similar to OnTopReplica is based upon the WindowsFormsAero library and some other libraries and code sources. %..
/// </summary>
internal static string AboutDetails {
internal static string AboutCreditsSources {
get {
return ResourceManager.GetString("AboutDetails", resourceCulture);
return ResourceManager.GetString("AboutCreditsSources", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Read the full credits.
/// </summary>
internal static string AboutCreditsSourcesContent {
get {
return ResourceManager.GetString("AboutCreditsSourcesContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Credits.
/// </summary>
internal static string AboutDividerCredits {
get {
return ResourceManager.GetString("AboutDividerCredits", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Updates.
/// </summary>
internal static string AboutDividerUpdates {
get {
return ResourceManager.GetString("AboutDividerUpdates", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A lightweight, real-time, always on top thumbnail of a window of your choice..
/// </summary>
internal static string AboutSlogan {
get {
return ResourceManager.GetString("AboutSlogan", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to About OnTopReplica.
/// </summary>
internal static string AboutTitle {
get {
return ResourceManager.GetString("AboutTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Check now!.
/// </summary>
internal static string AboutUpdatesCheckNow {
get {
return ResourceManager.GetString("AboutUpdatesCheckNow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to OnTopReplica automatically checks for updates at every start up..
/// </summary>
internal static string AboutUpdatesDisclaimer {
get {
return ResourceManager.GetString("AboutUpdatesDisclaimer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Version {0}.
/// </summary>
internal static string AboutVersion {
get {
return ResourceManager.GetString("AboutVersion", resourceCulture);
}
}
@ -158,7 +214,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to &amp;Reset
/// Looks up a localized string similar to &amp;Reset
///All settings will be lost..
/// </summary>
internal static string AskResetButtonOk {
@ -222,7 +278,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to Cancel update
/// Looks up a localized string similar to Cancel update
///OnTopReplica will prompt you the next time it is started..
/// </summary>
internal static string AskUpdateButtonCancel {
@ -232,7 +288,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to Download
/// Looks up a localized string similar to Download
///Install OnTopReplica {0}..
/// </summary>
internal static string AskUpdateButtonOk {
@ -251,7 +307,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to Installed version: {0}
/// Looks up a localized string similar to Installed version: {0}
///Available version: {1}.
/// </summary>
internal static string AskUpdateExpanded {
@ -278,15 +334,6 @@ namespace OnTopReplica {
}
}
/// <summary>
/// Looks up a localized string similar to Created by: Lorenz Cuno Klopfenstein..
/// </summary>
internal static string CreatedBy {
get {
return ResourceManager.GetString("CreatedBy", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Draw regions using mouse..
/// </summary>
@ -333,8 +380,8 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to You must enable desktop composition, by selecting &apos;Windows Aero&apos; as the theme used by Windows.
///
/// Looks up a localized string similar to You must enable desktop composition, by selecting &apos;Windows Aero&apos; as the theme used by Windows.
///
///To do so, right-click on the desktop and click on Personalize..
/// </summary>
internal static string ErrorDwmOffContent {
@ -380,7 +427,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to Desktop Composition&apos; is not supported on your Operating System.
/// Looks up a localized string similar to Desktop Composition&apos; is not supported on your Operating System.
///You must run this application on Windows Vista Home Premium or better..
/// </summary>
internal static string ErrorNoDwm {
@ -597,8 +644,8 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to If this mode is enabled, OnTopReplica will forward all left mouse clicks to the window that is being cloned (this will allow you to do basic mouse operations on the cloned window without having to activate it).
///
/// Looks up a localized string similar to If this mode is enabled, OnTopReplica will forward all left mouse clicks to the window that is being cloned (this will allow you to do basic mouse operations on the cloned window without having to activate it).
///
///To exit this mode, push ESC..
/// </summary>
internal static string InfoClickForwardingContent {
@ -635,8 +682,8 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to In this mode the fullscreen window will behave as a partially transparent overlay, allowing you to click on the other windows behind it.
///
/// Looks up a localized string similar to In this mode the fullscreen window will behave as a partially transparent overlay, allowing you to click on the other windows behind it.
///
///To return to normal mode anytime, activate OnTopReplica by clicking on the task bar (or the tray icon)..
/// </summary>
internal static string InfoClickThroughInformation {
@ -646,7 +693,7 @@ namespace OnTopReplica {
}
/// <summary>
/// Looks up a localized string similar to No, thank you.
/// Looks up a localized string similar to No, thank you.
///You can enable click-through later.
/// </summary>
internal static string InfoClickThroughNo {
@ -1392,32 +1439,5 @@ namespace OnTopReplica {
return ResourceManager.GetString("SettingsTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A lightweight, real-time, always on top thumbnail of a window of your choice..
/// </summary>
internal static string Slogan {
get {
return ResourceManager.GetString("Slogan", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to OnTopReplica automatically checks for updates. No information is logged at any point..
/// </summary>
internal static string UpdateDisclaimer {
get {
return ResourceManager.GetString("UpdateDisclaimer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update now!.
/// </summary>
internal static string UpdateNow {
get {
return ResourceManager.GetString("UpdateNow", resourceCulture);
}
}
}
}

View file

@ -76,6 +76,7 @@ a:hover {
&lt;/body&gt;
&lt;/html&gt;</value>
<comment>Not needed anymore.</comment>
</data>
<data name="ApplicationName" xml:space="preserve">
<value>OnTopReplica</value>
@ -438,13 +439,13 @@ Režim "Proklikávání" je možné zvolit později v menu</value>
<data name="RightClick" xml:space="preserve">
<value>Začněte klepnutím sem pravým tlačítkem myši...</value>
</data>
<data name="Slogan" xml:space="preserve">
<value>Nenáročný a instantní náhled libovolného otevřeného okna (nebo jeho výřezu) v systému.</value>
<data name="AboutUpdatesDisclaimer" xml:space="preserve">
<value>Aplikace OnTopReplica automaticky kontroluje dostupné aktualizace.</value>
</data>
<data name="UpdateDisclaimer" xml:space="preserve">
<value>Aplikace OnTopReplica automaticky kontroluje dostupné aktualizace. Během této operace nedochází k žádnému přenosu či ukládání uživatelských informací.</value>
</data>
<data name="UpdateNow" xml:space="preserve">
<data name="AboutUpdatesCheckNow" xml:space="preserve">
<value>Zkontroluj aktualizace</value>
</data>
<data name="AboutSlogan" xml:space="preserve">
<value>Nenáročný a instantní náhled libovolného otevřeného okna (nebo jeho výřezu) v systému.</value>
</data>
</root>

View file

@ -76,6 +76,7 @@ a:hover {
&lt;/body&gt;
&lt;/html&gt;</value>
<comment>Not needed anymore.</comment>
</data>
<data name="ApplicationName" xml:space="preserve">
<value>OnTopReplica</value>
@ -433,13 +434,13 @@ Du kan aktivere gennem klik senere.</value>
<data name="RightClick" xml:space="preserve">
<value>Højreklik her for at starte...</value>
</data>
<data name="Slogan" xml:space="preserve">
<value>En letvægts, live, miniature udgave af et vindue du vælger, der altid er øverst.</value>
<data name="AboutUpdatesDisclaimer" xml:space="preserve">
<value>OnTopReplica checker automatiskt for opdateringer.</value>
</data>
<data name="UpdateDisclaimer" xml:space="preserve">
<value>OnTopReplica checker automatiskt for opdateringer. Der bliver ikke registreret nogen data på noget tidspunkt.</value>
</data>
<data name="UpdateNow" xml:space="preserve">
<data name="AboutUpdatesCheckNow" xml:space="preserve">
<value>Opdater nu!</value>
</data>
<data name="AboutSlogan" xml:space="preserve">
<value>En letvægts, live, miniature udgave af et vindue du vælger, der altid er øverst.</value>
</data>
</root>

View file

@ -12,4 +12,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AboutVersion" xml:space="preserve">
<value>Version {0}</value>
</data>
</root>

View file

@ -76,6 +76,7 @@ a:hover {
&lt;/body&gt;
&lt;/html&gt;</value>
<comment>Not needed anymore.</comment>
</data>
<data name="ApplicationName" xml:space="preserve">
<value>OnTopReplica</value>
@ -466,13 +467,13 @@ Se podrá activar Click a través más tarde</value>
<data name="RightClick" xml:space="preserve">
<value>Click derecho para empezar...</value>
</data>
<data name="Slogan" xml:space="preserve">
<value>Una copia liviana, en tiempo real y siempre encima de cualquier ventana.</value>
</data>
<data name="UpdateDisclaimer" xml:space="preserve">
<data name="AboutUpdatesDisclaimer" xml:space="preserve">
<value>OnTopReplica busca actualizaciones automáticamente.</value>
</data>
<data name="UpdateNow" xml:space="preserve">
<data name="AboutUpdatesCheckNow" xml:space="preserve">
<value>Actualizar ahora!</value>
</data>
<data name="AboutSlogan" xml:space="preserve">
<value>Una copia liviana, en tiempo real y siempre encima de cualquier ventana.</value>
</data>
</root>

File diff suppressed because it is too large Load diff

View file

@ -24,59 +24,6 @@
<data name="AboutButtonUpdateTT" xml:space="preserve">
<value>Update OnTopReplica now.</value>
</data>
<data name="AboutDetails" xml:space="preserve">
<value>&lt;html&gt;
&lt;head&gt;
&lt;style type="text/css"&gt;
body {
font-family: Segoe UI, Arial, sans-serif;
font-size: 0.8em;
margin: 0;
padding: 0.75em;
}
h1 {
font-size: 1.4em;
font-weight: bold;
margin: 1em 0 0.4em 0;
padding: 0;
}
p {
margin: 0.5em 0 0.5em 1em;
padding: 0;
}
a {
font-weight: bold;
color: blue;
}
a:hover {
color: red;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;License&lt;/h1&gt;
&lt;p&gt;&lt;b&gt;OnTopReplica&lt;/b&gt; is licensed under the &lt;a href="http://opensource.org/licenses/ms-rl.html"&gt;Microsoft Reciprocal License (Ms-RL)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The original source code can be found on the &lt;a href="http://www.codeplex.com/ontopreplica"&gt;project's homepage on CodePlex&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Credits&lt;/h1&gt;
&lt;p&gt;OnTopReplica was inspired by &lt;a href="http://insentient.net"&gt;Switcher&lt;/a&gt; and other DWM based applications.&lt;/p&gt;
&lt;p&gt;All Vista controls are part of the &lt;a href="http://www.codeplex.com/windowsformsaero"&gt;WindowsFormsAero library&lt;/a&gt; for .NET.&lt;/p&gt;
&lt;p&gt;Some example code taken from &lt;a href="http://www.ookii.org"&gt;Ookii&lt;/a&gt; on Channel9.&lt;/p&gt;
&lt;p&gt;NativeToolstripRenderer class taken from &lt;a href="http://wp.asztal.net/2007/12/vista-style-menus-in-dotnet/"&gt;asztal.net&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Some icons from &lt;a href="http://www.vistaico.com"&gt;VistaICO.com&lt;/a&gt; and the Xiao icon set.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</value>
</data>
<data name="ApplicationName" xml:space="preserve">
<value>OnTopReplica</value>
</data>
@ -130,8 +77,9 @@ Available version: {1}</value>
<data name="ButtonCancel" xml:space="preserve">
<value>&amp;Cancel</value>
</data>
<data name="CreatedBy" xml:space="preserve">
<value>Created by: Lorenz Cuno Klopfenstein.</value>
<data name="AboutAuthor" xml:space="preserve">
<value>Created by: %.</value>
<comment>Link % is replaced by string AboutAuthorContent.</comment>
</data>
<data name="DrawRegions" xml:space="preserve">
<value>Draw regions using mouse.</value>
@ -475,14 +423,14 @@ You can enable click-through later</value>
<data name="RightClick" xml:space="preserve">
<value>Right-click here to start...</value>
</data>
<data name="Slogan" xml:space="preserve">
<data name="AboutSlogan" xml:space="preserve">
<value>A lightweight, real-time, always on top thumbnail of a window of your choice.</value>
</data>
<data name="UpdateDisclaimer" xml:space="preserve">
<value>OnTopReplica automatically checks for updates. No information is logged at any point.</value>
<data name="AboutUpdatesDisclaimer" xml:space="preserve">
<value>OnTopReplica automatically checks for updates at every start up.</value>
</data>
<data name="UpdateNow" xml:space="preserve">
<value>Update now!</value>
<data name="AboutUpdatesCheckNow" xml:space="preserve">
<value>Check now!</value>
</data>
<data name="MenuSettings" xml:space="preserve">
<value>Settings...</value>
@ -517,4 +465,26 @@ You can enable click-through later</value>
<data name="SettingsTitle" xml:space="preserve">
<value>Settings</value>
</data>
<data name="AboutAuthorContent" xml:space="preserve">
<value>Lorenz Cuno Klopfenstein</value>
</data>
<data name="AboutCreditsSources" xml:space="preserve">
<value>OnTopReplica is based upon the WindowsFormsAero library and some other libraries and code sources. %.</value>
<comment>Link % is replaced by string AboutCreditsSourcesContent.</comment>
</data>
<data name="AboutCreditsSourcesContent" xml:space="preserve">
<value>Read the full credits</value>
</data>
<data name="AboutDividerCredits" xml:space="preserve">
<value>Credits</value>
</data>
<data name="AboutDividerUpdates" xml:space="preserve">
<value>Updates</value>
</data>
<data name="AboutTitle" xml:space="preserve">
<value>About OnTopReplica</value>
</data>
<data name="AboutVersion" xml:space="preserve">
<value>Version {0}</value>
</data>
</root>