From 0b9f733d5461c9811a8670c0a81b80987ae75ec4 Mon Sep 17 00:00:00 2001 From: Tomas Matousek Date: Mon, 1 Jul 2019 11:49:19 -0700 Subject: [PATCH 1/2] Trim trailing whitespace in .git file --- .../GitRepositoryTests.cs | 12 +++++++++--- .../GitDataReader/GitRepository.cs | 9 ++++----- src/Microsoft.Build.Tasks.Git/Resources.resx | 4 ++-- src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf | 8 ++++---- .../xlf/Resources.pt-BR.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf | 8 ++++---- src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf | 8 ++++---- .../xlf/Resources.zh-Hans.xlf | 8 ++++---- .../xlf/Resources.zh-Hant.xlf | 8 ++++---- 16 files changed, 67 insertions(+), 62 deletions(-) diff --git a/src/Microsoft.Build.Tasks.Git.UnitTests/GitRepositoryTests.cs b/src/Microsoft.Build.Tasks.Git.UnitTests/GitRepositoryTests.cs index a80c2a90..4c25eb3c 100644 --- a/src/Microsoft.Build.Tasks.Git.UnitTests/GitRepositoryTests.cs +++ b/src/Microsoft.Build.Tasks.Git.UnitTests/GitRepositoryTests.cs @@ -213,8 +213,9 @@ public void Submodules_Errors() workingDir.CreateDirectory("sub6").CreateDirectory(".git"); workingDir.CreateDirectory("sub7").CreateFile(".git").WriteAllText("xyz"); workingDir.CreateDirectory("sub8").CreateFile(".git").WriteAllText("gitdir: \0<>"); - workingDir.CreateDirectory("sub9").CreateFile(".git").WriteAllText("gitdir: ../.git/modules/sub9"); + workingDir.CreateDirectory("sub9").CreateFile(".git").WriteAllText("gitdir: ../.git/modules/sub9\r\n"); workingDir.CreateDirectory("sub10").CreateFile(".git").WriteAllText("gitdir: ../.git/modules/sub10"); + workingDir.CreateDirectory("sub11").CreateFile(".git").WriteAllText("gitdir: ../.git/modules/sub11 \t\v\r\n"); workingDir.CreateFile(".gitmodules").WriteAllText(@" [submodule ""S1""] # whitespace-only path @@ -260,6 +261,10 @@ public void Submodules_Errors() [submodule ""S10""] # sub10/.git points to directory that has commondir directory (it should be a file) path = sub10 url = http://github.com + +[submodule ""S11""] # trailing whitespace in path + path = sub11 + url = http://github.com "); var repository = new GitRepository(GitEnvironment.Empty, GitConfig.Empty, gitDir.Path, gitDir.Path, workingDir.Path); @@ -267,6 +272,7 @@ public void Submodules_Errors() AssertEx.Equal(new[] { "S10: 'sub10' 'http://github.com'", + "S11: 'sub11' 'http://github.com'", "S9: 'sub9' 'http://github.com'" }, submodules.Select(s => $"{s.Name}: '{s.WorkingDirectoryRelativePath}' '{s.Url}'")); @@ -288,7 +294,7 @@ public void Submodules_Errors() // The format of the file 'sub7\.git' is invalid. string.Format(Resources.FormatOfFileIsInvalid, Path.Combine(workingDir.Path, "sub7", ".git")), // Path specified in file 'sub8\.git' is invalid. - string.Format(Resources.PathSpecifiedInFileIsInvalid, Path.Combine(workingDir.Path, "sub8", ".git")) + string.Format(Resources.PathSpecifiedInFileIsInvalid, Path.Combine(workingDir.Path, "sub8", ".git"), "\0<>") }, diagnostics); } @@ -363,7 +369,7 @@ public void GetSubmoduleHeadCommitSha() var submoduleGitDir = temp.CreateDirectory(); var submoduleWorkingDir = workingDir.CreateDirectory("sub").CreateDirectory("abc"); - submoduleWorkingDir.CreateFile(".git").WriteAllText("gitdir: " + submoduleGitDir.Path); + submoduleWorkingDir.CreateFile(".git").WriteAllText("gitdir: " + submoduleGitDir.Path + "\t \v\f\r\n\n\r"); var submoduleRefsHeadsDir = submoduleGitDir.CreateDirectory("refs").CreateDirectory("heads"); submoduleRefsHeadsDir.CreateFile("master").WriteAllText("0000000000000000000000000000000000000000"); diff --git a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs index 4648fb0e..1ef7571b 100644 --- a/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs +++ b/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs @@ -174,7 +174,7 @@ internal static string GetWorkingDirectory(GitConfig config, string gitDirectory // Path in gitdir file must be absolute. if (!PathUtils.IsAbsolute(workingDirectory)) { - throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsNotAbsolute, gitdirFilePath)); + throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsNotAbsolute, gitdirFilePath, workingDirectory)); } try @@ -183,7 +183,7 @@ internal static string GetWorkingDirectory(GitConfig config, string gitDirectory } catch { - throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsInvalid, gitdirFilePath)); + throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsInvalid, gitdirFilePath, workingDirectory)); } } @@ -533,8 +533,7 @@ private static string ReadDotGitFile(string path) throw new InvalidDataException(string.Format(Resources.FormatOfFileIsInvalid, path)); } - // git does not trim whitespace: - var link = content.Substring(GitDirPrefix.Length); + var link = content.Substring(GitDirPrefix.Length).TrimEnd(CharUtils.AsciiWhitespace); try { @@ -543,7 +542,7 @@ private static string ReadDotGitFile(string path) } catch { - throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsInvalid, path)); + throw new InvalidDataException(string.Format(Resources.PathSpecifiedInFileIsInvalid, path, link)); } } diff --git a/src/Microsoft.Build.Tasks.Git/Resources.resx b/src/Microsoft.Build.Tasks.Git/Resources.resx index 8bf77b5b..560701e0 100644 --- a/src/Microsoft.Build.Tasks.Git/Resources.resx +++ b/src/Microsoft.Build.Tasks.Git/Resources.resx @@ -130,10 +130,10 @@ Unsupported repository version {0}. Only versions up to {1} are supported. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' The value of {0} is not a valid path: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf index 143b77e5..d1529c40 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf index 030259c4..019edf70 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf index 124014b9..d04ba75c 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf index f683c68a..1e470eda 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf index 0867a28b..d5d73256 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf index b7747a47..f7b62e48 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf index db4ce6d8..69302368 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf index 97e87bb0..2c537e44 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf index 979ecb5d..9cd10007 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf index 08a03856..8473ddce 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf index 1dc290e8..56ba53ca 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf index fdab6004..d8b4b0a3 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf index d78f74cd..f44128f6 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf @@ -63,13 +63,13 @@ - Path specified in file '{0}' is invalid. - Path specified in file '{0}' is invalid. + Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is not absolute. - Path specified in file '{0}' is not absolute. + Path specified in file '{0}' is not absolute: '{1}'. + Path specified in file '{0}' is not absolute: '{1}'. From 0aa187d33fd867d1573f0bea04db308ddbd062e7 Mon Sep 17 00:00:00 2001 From: Tomas Matousek Date: Mon, 1 Jul 2019 11:53:45 -0700 Subject: [PATCH 2/2] Fix strings --- src/Microsoft.Build.Tasks.Git/Resources.resx | 16 +++++----- .../xlf/Resources.cs.xlf | 32 +++++++++---------- .../xlf/Resources.de.xlf | 32 +++++++++---------- .../xlf/Resources.es.xlf | 32 +++++++++---------- .../xlf/Resources.fr.xlf | 32 +++++++++---------- .../xlf/Resources.it.xlf | 32 +++++++++---------- .../xlf/Resources.ja.xlf | 32 +++++++++---------- .../xlf/Resources.ko.xlf | 32 +++++++++---------- .../xlf/Resources.pl.xlf | 32 +++++++++---------- .../xlf/Resources.pt-BR.xlf | 32 +++++++++---------- .../xlf/Resources.ru.xlf | 32 +++++++++---------- .../xlf/Resources.tr.xlf | 32 +++++++++---------- .../xlf/Resources.zh-Hans.xlf | 32 +++++++++---------- .../xlf/Resources.zh-Hant.xlf | 32 +++++++++---------- 14 files changed, 216 insertions(+), 216 deletions(-) diff --git a/src/Microsoft.Build.Tasks.Git/Resources.resx b/src/Microsoft.Build.Tasks.Git/Resources.resx index 560701e0..5821d65d 100644 --- a/src/Microsoft.Build.Tasks.Git/Resources.resx +++ b/src/Microsoft.Build.Tasks.Git/Resources.resx @@ -118,10 +118,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Path must be absolute + Path must be absolute. - Path must be a file path + Path must be a file path. Error reading git repository information: {0} @@ -133,7 +133,7 @@ Path specified in file '{0}' is not absolute: '{1}'. - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. The value of {0} is not a valid path: '{1}'. @@ -160,16 +160,16 @@ Configuration file recursion exceeded maximum allowed depth of {0}. - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. Repository has no commit. @@ -190,6 +190,6 @@ The value of {0} is not a valid configuration scope: '{1}'. - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. \ No newline at end of file diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf index d1529c40..d397483a 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.cs.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf index 019edf70..9124f84b 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.de.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf index d04ba75c..8ace9881 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.es.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf index 1e470eda..3e310769 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.fr.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf index d5d73256..de7d9f5d 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.it.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf index f7b62e48..cdc81e2f 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ja.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf index 69302368..0ed975c7 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ko.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf index 2c537e44..b4c4e771 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pl.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf index 9cd10007..61f2a694 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.pt-BR.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf index 8473ddce..d7db140e 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.ru.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf index 56ba53ca..75fe413c 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.tr.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf index d8b4b0a3..06e4b64a 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hans.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit. diff --git a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf index f44128f6..5a6c0a2f 100644 --- a/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf +++ b/src/Microsoft.Build.Tasks.Git/xlf/Resources.zh-Hant.xlf @@ -18,8 +18,8 @@ - Home relative paths are not allowed when {0} is '{1}': '{2}' - Home relative paths are not allowed when {0} is '{1}': '{2}' + Home relative paths are not allowed when {0} is '{1}': '{2}'. + Home relative paths are not allowed when {0} is '{1}': '{2}'. @@ -43,28 +43,28 @@ - The path of submodule '{0}' is missing or invalid: '{1}' - The path of submodule '{0}' is missing or invalid: '{1}' + The path of submodule '{0}' is missing or invalid: '{1}'. + The path of submodule '{0}' is missing or invalid: '{1}'. - The URL of submodule '{0}' is missing or invalid: '{1}' - The URL of submodule '{0}' is missing or invalid: '{1}' + The URL of submodule '{0}' is missing or invalid: '{1}'. + The URL of submodule '{0}' is missing or invalid: '{1}'. - Path must be absolute - Path must be absolute + Path must be absolute. + Path must be absolute. - Path must be a file path - Path must be a file path + Path must be a file path. + Path must be a file path. - Path specified in file '{0}' is invalid: '{1}' - Path specified in file '{0}' is invalid: '{1}' + Path specified in file '{0}' is invalid: '{1}'. + Path specified in file '{0}' is invalid: '{1}'. @@ -98,13 +98,13 @@ - {0} -- the source code won't be available via Source Link. - {0} -- the source code won't be available via Source Link. + {0} The source code won't be available via Source Link. + {0} The source code won't be available via Source Link. - Submodule '{0}' doesn't have any commit - Submodule '{0}' doesn't have any commit + Submodule '{0}' doesn't have any commit. + Submodule '{0}' doesn't have any commit.