Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragrajaghh <agrajaghh@gmail.com>2016-09-30 11:05:50 +0300
committeragrajaghh <agrajaghh@gmail.com>2016-09-30 11:05:50 +0300
commit23f7cd25d13c240367f7ed802893f933805b8bbc (patch)
tree472f2cd54d582fde24c7f92fd0d625fc03e16ed3 /BuildTools
parentbf3d3ec1005c0a6264f669785cbeca53b8822088 (diff)
replace \ with / in location
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/LocalizationTool2/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/LocalizationTool2/Program.cs b/BuildTools/LocalizationTool2/Program.cs
index fbb3fd156..2e664f694 100644
--- a/BuildTools/LocalizationTool2/Program.cs
+++ b/BuildTools/LocalizationTool2/Program.cs
@@ -66,7 +66,7 @@ namespace LocalizationTool2
File.WriteAllLines(
Path.Combine(targetfolder, "localization.po"),
map.OrderBy(x => x.Key).Select(x => x.Value).SelectMany(x => new string[] {
- "#: " + x.SourceLocations.FirstOrDefault(),
+ "#: " + x.SourceLocations.FirstOrDefault().Replace("\\", "/"),
string.Format("msgid \"{0}\"", (x.SourceString ?? "")),
string.Format("msgstr \"{0}\"", (x.SourceString ?? "")),
""
@@ -79,7 +79,7 @@ namespace LocalizationTool2
/*File.WriteAllLines(
Path.Combine(sourcefolder, "localization-by-file.po"),
map.OrderBy(x => x.Value.SourceLocations.FirstOrDefault()).Select(x => x.Value).SelectMany(x => new string[] {
- "#: " + x.SourceLocations.FirstOrDefault(),
+ "#: " + x.SourceLocations.FirstOrDefault().Replace("\\", "/"),
string.Format("msgid \"{0}\"", (x.SourceString ?? "")),
string.Format("msgstr \"{0}\"", (x.SourceString ?? "")),
""