• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<!--
3  Copyright (C) 2015 Free Software Foundation, Inc.
4  This file was written by Daiki Ueno <ueno@gnu.org>, 2015.
5
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 3 of the License, or
9  (at your option) any later version.
10
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  GNU General Public License for more details.
15
16  You should have received a copy of the GNU General Public License
17  along with this program.  If not, see <https://www.gnu.org/licenses/>.
18-->
19<its:rules xmlns:its="http://www.w3.org/2005/11/its"
20           xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
21           version="2.0">
22  <its:translateRule selector="/glade-interface" translate="no"/>
23  <its:translateRule
24      selector="/glade-interface//property[@translatable = 'yes'] |
25                /glade-interface//atkproperty[@translatable = 'yes'] |
26                /glade-interface//atkaction/description"
27      translate="yes"/>
28
29  <its:locNoteRule selector="/glade-interface//property[@comments] |
30                             /glade-interface//atkproperty[@comments]"
31                   locNotePointer="@comments"
32                   locNoteType="alert"/>
33  <gt:escapeRule selector="/glade-interface/property/@comments |
34                           /glade-interface//atkproperty/@comments"
35		 escape="no"/>
36
37  <gt:contextRule selector="/glade-interface//property[@context = 'yes'] |
38                            /glade-interface//property[@context = 'yes']"
39                  contextPointer="substring-before(., '|')"
40                  textPointer="substring-after(., '|')"/>
41
42  <its:preserveSpaceRule selector="/glade-interface" space="preserve"/>
43  <gt:escapeRule selector="/glade-interface" escape="no"/>
44</its:rules>
45