<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - duplicate message definitions in some .pot files"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107611">107611</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>duplicate message definitions in some .pot files
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ml.nishibori.kiyotaka@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
There are duplicate message definitions in some .pot files When I extract them
with "make translations" command.

Steps to Reproduce:
1. build LibreOffice from source: make
2. extract .pot files: make translations
3. verify .pot files: for i in `find pot -name "*.pot" -print|sort`; do
msgmerge -cv -o /dev/null $i >> pots-status 2>&1; done; grep --before-context=0
--after-context=1 -e 'definition' pots-status > pots-errors

Actual Results:  
the result of "pots-errors":

pot/basic/source/classes.pot:893: duplicate message definition...
pot/basic/source/classes.pot:814: ...this is the location of the first
definition
msgfmt: found 1 fatal error
--
pot/formula/source/core/resource.pot:193: duplicate message definition...
pot/formula/source/core/resource.pot:184: ...this is the location of the first
definition
pot/formula/source/core/resource.pot:413: duplicate message definition...
pot/formula/source/core/resource.pot:224: ...this is the location of the first
definition
msgfmt: found 2 fatal errors
--
pot/sc/source/ui/src.pot:24279: duplicate message definition...
pot/sc/source/ui/src.pot:24260: ...this is the location of the first definition
pot/sc/source/ui/src.pot:24689: duplicate message definition...
pot/sc/source/ui/src.pot:24670: ...this is the location of the first definition
pot/sc/source/ui/src.pot:24739: duplicate message definition...
pot/sc/source/ui/src.pot:24720: ...this is the location of the first definition
pot/sc/source/ui/src.pot:24789: duplicate message definition...
pot/sc/source/ui/src.pot:24770: ...this is the location of the first definition
msgfmt: found 4 fatal errors
--
pot/scaddins/source/analysis.pot:2165: duplicate message definition...
pot/scaddins/source/analysis.pot:2146: ...this is the location of the first
definition
pot/scaddins/source/analysis.pot:2265: duplicate message definition...
pot/scaddins/source/analysis.pot:2256: ...this is the location of the first
definition
pot/scaddins/source/analysis.pot:2285: duplicate message definition...
pot/scaddins/source/analysis.pot:2276: ...this is the location of the first
definition
msgfmt: found 3 fatal errors
--
pot/sd/source/core.pot:574: duplicate message definition...
pot/sd/source/core.pot:565: ...this is the location of the first definition
msgfmt: found 1 fatal error
--
pot/svtools/source/misc.pot:611: duplicate message definition...
pot/svtools/source/misc.pot:602: ...this is the location of the first
definition
msgfmt: found 1 fatal error
--
pot/svx/source/dialog.pot:4385: duplicate message definition...
pot/svx/source/dialog.pot:4236: ...this is the location of the first definition
pot/svx/source/dialog.pot:4485: duplicate message definition...
pot/svx/source/dialog.pot:4476: ...this is the location of the first definition
msgfmt: found 2 fatal errors
--
pot/svx/source/src.pot:63: duplicate message definition...
pot/svx/source/src.pot:54: ...this is the location of the first definition
pot/svx/source/src.pot:133: duplicate message definition...
pot/svx/source/src.pot:124: ...this is the location of the first definition
pot/svx/source/src.pot:363: duplicate message definition...
pot/svx/source/src.pot:304: ...this is the location of the first definition
pot/svx/source/src.pot:825: duplicate message definition...
pot/svx/source/src.pot:816: ...this is the location of the first definition
msgfmt: found 4 fatal errors
--


Expected Results:
No duplicate message definitions in any .pot files.


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.4.0.0.alpha1+
Build ID: 6d424f07701bf26d8fb173563b567d5f097c33e2
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale:  ja-JP (ja_JP.UTF-8); Calc: CL


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/58.0.3029.96 Safari/537.36</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>