This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 09326aa  This branch is no longer master so don't skip import of 
English
09326aa is described below

commit 09326aa44f6510b14544c0066063683683ef72cf
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Mar 27 13:21:51 2020 +0000

    This branch is no longer master so don't skip import of English
---
 java/org/apache/tomcat/buildutil/translate/Import.java | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/java/org/apache/tomcat/buildutil/translate/Import.java 
b/java/org/apache/tomcat/buildutil/translate/Import.java
index 3cf4d62..b471f8c 100644
--- a/java/org/apache/tomcat/buildutil/translate/Import.java
+++ b/java/org/apache/tomcat/buildutil/translate/Import.java
@@ -43,12 +43,8 @@ public class Import {
     private static void processFile(File f) throws IOException {
         String language = Utils.getLanguage(f.getName());
 
-        // Skip the original
-        if (language.length() == 0) {
-            // Comment this line out if the originals needs to be exported.
-            return;
-        }
-
+        // Unlike the master branch, don't skip the original so we can import
+        // updates to the English translations
         Properties props = Utils.load(f);
         Object[] objKeys = props.keySet().toArray();
         Arrays.sort(objKeys);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to