Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Dia
Dia
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 370
    • Issues 370
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • DiaDia
  • Issues
  • #439

Closed
Open
Opened Dec 12, 2019 by Sabri Ünal@libreajans🎨Contributor

Question - How can I mark icons as translatable=no ?

There are 43 strings in several .sheet files and they have not been marked as translatable but they have been in the PO files.

For example:

#: sheets/ER.sheet:11
msgid "res:/org/gnome/Dia/ER/weakentity.png"
msgstr "res:/org/gnome/Dia/ER/weakentity.png"

The current code is:

    <object name="ER - Entity" intdata="1">
      <description>Weak entity</description>
      <icon>res:/org/gnome/Dia/ER/weakentity.png</icon>
    </object>

I marked the icon tags as translatable="no", but it had no effect on them.

    <object name="ER - Entity" intdata="1">
      <description>Weak entity</description>
      <icon translatable="no">res:/org/gnome/Dia/ER/weakentity.png</icon>
    </object>

I also added this line to /po/its/sheet.its (https://gitlab.gnome.org/GNOME/dia/blob/master/po/its/sheet.its) file but again had no effect.

<its:translateRule selector="/sheet/contents/object/icon" translate="no"/>
Edited Dec 12, 2019 by Sabri Ünal
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/dia#439