Uploaded image for project: 'XWiki Infrastructure'
  1. XWiki Infrastructure
  2. XINFRA-280

Ignore XWiki pages with empty content in weblate translations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • l10n.xwiki.org
    • None
    • Unknown
    • N/A
    • N/A

    Description

      A file such as:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <!--
       * See the NOTICE file distributed with this work for additional
       * information regarding copyright ownership.
       *
       * This is free software; you can redistribute it and/or modify it
       * under the terms of the GNU Lesser General Public License as
       * published by the Free Software Foundation; either version 2.1 of
       * the License, or (at your option) any later version.
       *
       * This software is distributed in the hope that it will be useful,
       * but WITHOUT ANY WARRANTY; without even the implied warranty of
       * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
       * Lesser General Public License for more details.
       *
       * You should have received a copy of the GNU Lesser General Public
       * License along with this software; if not, write to the Free
       * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
       * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
      -->
      
      <xwikidoc>
        <web>XWiki</web>
        <name>XWikiSyntaxEscapes</name>
        <language>ru</language>
        <defaultLanguage>en</defaultLanguage>
        <translation>1</translation>
        <parent>XWiki.XWikiSyntax</parent>
        <creator>xwiki:XWiki.Admin</creator>
        <author>xwiki:XWiki.Admin</author>
        <customClass/>
        <contentAuthor>xwiki:XWiki.Admin</contentAuthor>
        <version>1.1</version>
        <title>XWikiSyntaxEscapes</title>
        <defaultTemplate/>
        <validationScript/>
        <comment/>
        <minorEdit>false</minorEdit>
        <syntaxId>xwiki/2.1</syntaxId>
        <hidden>true</hidden>
      
        <content></content>
      </xwikidoc>
      

      shouldn't be pushed as a part of a weblate translation since its content is empty.

      Attachments

        Activity

          People

            surli Simon Urli
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: