-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-organize for version 1.1 and Nuget library
- Loading branch information
Showing
18 changed files
with
109 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
bin/* | ||
src/obj/* | ||
src/bin/* | ||
src/**/obj/* | ||
src/**/bin/* | ||
*.csproj.user | ||
**/.vs/* | ||
**/packages/* | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/> | ||
</startup> | ||
</configuration> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/packages.config → src/Pseudo-i18n-Processor/packages.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="FluentCommandLineParser" version="1.4.3" targetFramework="net461" /> | ||
<package id="FluentCommandLineParser" version="1.4.3" targetFramework="net47" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.0</TargetFramework> | ||
<RootNamespace>PseudoInternationalization</RootNamespace> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageProjectUrl>https://github.com/LorenzCK/Pseudo-i18n</PackageProjectUrl> | ||
<PackageLicenseUrl>https://github.com/LorenzCK/Pseudo-i18n/blob/master/LICENSE</PackageLicenseUrl> | ||
<Authors>LorenzCK</Authors> | ||
<Description>Simple pseudo-internationalization utility library: allows you to convert any latin alphabet string to a pseudo-language in order to test whether your application is localization-ready. The pseudo-strings respect links, tags, and other markup. | ||
A command-line utility that converts resource files is available from the library’s Github page. | ||
Based on John Robbin’s Pseudoizer and Scott Hanselman’s implementation.</Description> | ||
<PackageTags>i18n, internationalization, pseudo-language, pseudo-internationalization, strings</PackageTags> | ||
<PackageReleaseNotes>First release.</PackageReleaseNotes> | ||
<Company /> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
|
||
namespace PseudoInternationalization { | ||
|
||
public static class TranslatorExtensions { | ||
|
||
/// <summary> | ||
/// Converts a string to a pseudo-internationalized string. | ||
/// </summary> | ||
/// <remarks> | ||
/// Primarily for latin based languages. | ||
/// This will need updating to work with Eastern languages. | ||
/// Taken from: https://github.com/shanselman/Psuedoizer | ||
/// </remarks> | ||
/// <param name="s">The string to use as a base.</param> | ||
/// <returns>A longer and twiddled string.</returns> | ||
public static string ToPseudo(this string s) { | ||
return Translator.ConvertToFakeInternationalized(s); | ||
} | ||
|
||
} | ||
|
||
} |