Commit 09d6a52649cf94aacec543b9852f2d6ebbfd12f9

Authored by Perry Werneck
Committed by GitHub
2 parents 5060737f 6949bfaa

Merge pull request #31 from PerryWerneck/develop

Fixes & Enhancements
.gitignore
... ... @@ -59,12 +59,15 @@ gschemas.compiled
59 59 *.gschema.xml
60 60 metainfo.xml
61 61 *.metainfo.xml
62   -
63 62 *.[0-9]
64   -
65 63 *.3270
66 64 macos/**/*.app
67 65 mime.xml
68 66 *.patch
69 67 *.orig
70 68 *.rej
  69 +ABOUT-NLS
  70 +intl
  71 +m4
  72 +po
  73 +
... ...
Makefile.in
  1 +# SPDX-License-Identifier: LGPL-3.0-or-later
1 2 #
2   -# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   -# aplicativos mainframe. Registro no INPI sob o nome G3270.
  3 +# Copyright (C) 2008 Banco do Brasil S.A.
5 4 #
6   -# Copyright (C) <2008> <Banco do Brasil S.A.>
  5 +# This program is free software: you can redistribute it and/or modify
  6 +# it under the terms of the GNU Lesser General Public License as published
  7 +# by the Free Software Foundation, either version 3 of the License, or
  8 +# (at your option) any later version.
7 9 #
8   -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   -# Free Software Foundation.
  10 +# This program is distributed in the hope that it will be useful,
  11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13 +# GNU General Public License for more details.
11 14 #
12   -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   -# obter mais detalhes.
16   -#
17   -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   -# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple
19   -# Place, Suite 330, Boston, MA, 02111-1307, USA
20   -#
21   -# Contatos:
22   -#
23   -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
24   -# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça)
  15 +# You should have received a copy of the GNU Lesser General Public License
  16 +# along with this program. If not, see <https://www.gnu.org/licenses/>.
25 17 #
26 18  
  19 +#---[ Paths ]----------------------------------------------------------------------------
  20 +
  21 +prefix=@prefix@
  22 +exec_prefix=@exec_prefix@
  23 +bindir=@bindir@
  24 +srcdir=@srcdir@
  25 +sbindir=@sbindir@
  26 +libdir=@libdir@
  27 +includedir=@includedir@
  28 +datarootdir=@datarootdir@
  29 +localedir=@localedir@
  30 +docdir=@docdir@
  31 +sysconfdir=@sysconfdir@
  32 +
27 33 #---[ Configuration ]--------------------------------------------------------------------
28 34  
29 35 PACKAGE_NAME=@PACKAGE_NAME@
30 36 PRODUCT_NAME=@PRODUCT_NAME@
31 37  
  38 +COMMON_SOURCES= \
  39 + $(wildcard $(srcdir)/src/objects/actions/*.c) \
  40 + $(wildcard $(srcdir)/src/objects/application/*.c) \
  41 + $(wildcard $(srcdir)/src/objects/application/actions/*.c) \
  42 + $(wildcard $(srcdir)/src/objects/window/*.c) \
  43 + $(wildcard $(srcdir)/src/objects/window/actions/*.c) \
  44 + $(wildcard $(srcdir)/src/objects/terminal/*.c) \
  45 + $(wildcard $(srcdir)/src/objects/toolbar/*.c) \
  46 + $(wildcard $(srcdir)/src/objects/settings/*.c) \
  47 + $(wildcard $(srcdir)/src/main/*.c) \
  48 + $(wildcard $(srcdir)/src/tools/*.c) \
  49 + $(wildcard $(srcdir)/src/objects/keypad/*.c) \
  50 +
32 51 SOURCES= \
33   - $(wildcard src/objects/actions/*.c) \
34   - $(wildcard src/objects/application/*.c) \
35   - $(wildcard src/objects/application/actions/*.c) \
36   - $(wildcard src/objects/window/*.c) \
37   - $(wildcard src/objects/window/actions/*.c) \
38   - $(wildcard src/objects/terminal/*.c) \
39   - $(wildcard src/objects/toolbar/*.c) \
40   - $(wildcard src/objects/settings/*.c) \
41   - $(wildcard src/objects/os/@OSNAME@/*.c) \
42   - $(wildcard src/main/*.c) \
43   - $(wildcard src/tools/*.c) \
44   - $(wildcard src/main/@OSNAME@/*.c) \
45   - $(wildcard src/main/@OSNAME@/*.rc) \
46   - $(wildcard src/objects/keypad/*.c)
  52 + $(COMMON_SOURCES) \
  53 + $(wildcard $(srcdir)/src/objects/os/@OSNAME@/*.c) \
  54 + $(wildcard $(srcdir)/src/main/@OSNAME@/*.c) \
  55 + $(wildcard $(srcdir)/src/main/@OSNAME@/*.rc)
47 56  
48 57 SCHEMAS= \
49   - $(wildcard schemas/@OSNAME@/*.gschema.xml) \
50   - $(wildcard schemas/common/*.gschema.xml)
  58 + $(wildcard $(srcdir)/schemas/@OSNAME@/*.gschema.xml) \
  59 + $(wildcard $(srcdir)/schemas/common/*.gschema.xml)
51 60  
52 61 #---[ Tools ]----------------------------------------------------------------------------
53 62  
... ... @@ -66,46 +75,27 @@ VALGRIND=@VALGRIND@
66 75 CONVERT=@CONVERT@
67 76 STRIP=@STRIP@
68 77  
69   -#---[ Paths ]----------------------------------------------------------------------------
  78 +#---[ Build Paths ]----------------------------------------------------------------------
70 79  
71   -prefix=@prefix@
72   -exec_prefix=@exec_prefix@
73   -bindir=@bindir@
74   -sbindir=@sbindir@
75   -libdir=@libdir@
76   -includedir=@includedir@
77   -datarootdir=@datarootdir@
78   -localedir=@localedir@
79   -docdir=@docdir@
80   -sysconfdir=@sysconfdir@
  80 +BUILDDIR=@BUILDDIR@
81 81  
82   -BASEDIR=@BASEDIR@
  82 +POTDIR=$(BUILDDIR)/.pot
83 83  
84   -POTDIR=$(BASEDIR)/.pot
85   -
86   -OBJDIR=$(BASEDIR)/.obj/$(PACKAGE_NAME)
  84 +OBJDIR=$(BUILDDIR)/.obj/$(PACKAGE_NAME)
87 85 OBJDBG=$(OBJDIR)/Debug
88 86 OBJRLS=$(OBJDIR)/Release
89 87  
90   -BINDIR=$(BASEDIR)/.bin
  88 +BINDIR=$(BUILDDIR)/.bin
91 89 BINDBG=$(BINDIR)/Debug
92 90 BINRLS=$(BINDIR)/Release
93 91  
94 92 #---[ Rules ]----------------------------------------------------------------------------
95 93  
96   -DEPENDS= \
97   - Makefile \
98   - src/include/*.h \
99   - src/include/pw3270/*.h \
100   - src/objects/toolbar/private.h \
101   - src/objects/window/private.h \
102   - src/objects/actions/private.h \
103   - src/main/private.h
104   -
105 94 CFLAGS= \
106 95 @CFLAGS@ \
107 96 -g \
108 97 -Isrc/include \
  98 + -I$(srcdir)/src/include \
109 99 -DBUILD_DATE=`date +%Y%m%d` \
110 100 @LIBV3270_CFLAGS@ \
111 101 @GTK_CFLAGS@
... ... @@ -121,9 +111,8 @@ LDFLAGS= \
121 111 #---[ Debug Rules ]----------------------------------------------------------------------
122 112  
123 113 $(OBJDBG)/%.o: \
124   - %.c \
125   - $(DEPENDS)
126   -
  114 + %.c
  115 +
127 116 @echo $< ...
128 117 @$(MKDIR) $(@D)
129 118  
... ... @@ -156,8 +145,7 @@ gschemas.compiled: \
156 145 #---[ Release Rules ]--------------------------------------------------------------------
157 146  
158 147 $(OBJRLS)/%.o: \
159   - %.c \
160   - $(DEPENDS)
  148 + %.c
161 149  
162 150 @echo $< ...
163 151 @$(MKDIR) $(dir $@)
... ... @@ -182,7 +170,7 @@ $(OBJRLS)/%.o: \
182 170  
183 171 #---[ Misc Rules ]-----------------------------------------------------------------------
184 172  
185   -$(POTDIR)/$(PACKAGE_NAME)/%.pot: \
  173 +$(POTDIR)/%.pot: \
186 174 %.c
187 175  
188 176 @echo $(notdir $@) ...
... ... @@ -198,7 +186,7 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \
198 186 $<
199 187 @touch $@
200 188  
201   -$(POTDIR)/$(PACKAGE_NAME)/%.pot: \
  189 +$(POTDIR)/%.pot: \
202 190 %.xml
203 191  
204 192 @echo $(notdir $@) ...
... ... @@ -209,21 +197,21 @@ $(POTDIR)/$(PACKAGE_NAME)/%.pot: \
209 197 $<
210 198 @touch $@
211 199  
212   -$(POTDIR)/$(PACKAGE_NAME)/%.pot: \
  200 +$(POTDIR)/%.pot: \
213 201 %.rc
214 202  
215 203 @echo $< ...
216 204 @$(MKDIR) $(@D)
217 205 @touch $@
218 206  
219   -$(OBJDIR)/schemas/%.xml:\
220   - schemas/@OSNAME@/%.xml
  207 +$(OBJDIR)/schemas/%.xml: \
  208 + $(srcdir)/schemas/@OSNAME@/%.xml
221 209  
222 210 @$(MKDIR) $(@D)
223 211 @cp "$^" "$@"
224 212  
225 213 $(OBJDIR)/schemas/%.xml:\
226   - schemas/common/%.xml
  214 + $(srcdir)/schemas/common/%.xml
227 215  
228 216 @$(MKDIR) $(@D)
229 217 @cp "$^" "$@"
... ... @@ -238,7 +226,7 @@ install-%: \
238 226 install
239 227  
240 228 %.ico: \
241   - branding/%.svg
  229 + $(srcdir)/branding/%.svg
242 230  
243 231 @echo $@ ...
244 232 @$(MKDIR) $(@D)
... ... @@ -294,53 +282,53 @@ install-application: \
294 282 install-icons
295 283  
296 284 @$(MKDIR) \
297   - $(DESTDIR)/$(libdir)/$(PRODUCT_NAME)-plugins
298   -
299   - @$(MKDIR) \
300   - $(DESTDIR)/$(datarootdir)/$(PRODUCT_NAME)/ui
  285 + $(DESTDIR)$(libdir)/$(PRODUCT_NAME)-plugins
301 286  
302 287 @$(INSTALL_DATA) \
303   - ui/*.xml \
304   - $(DESTDIR)/$(datarootdir)/$(PRODUCT_NAME)/ui
  288 + $(srcdir)/ui/@OSNAME@.ui.xml \
  289 + $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/$(PRODUCT_NAME).ui.xml
305 290  
306 291 @$(MKDIR) \
307   - $(DESTDIR)/$(datarootdir)/$(PRODUCT_NAME)/keypad
  292 + $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/keypad
308 293  
309 294 install-linux-application: \
310 295 $(BINRLS)/$(PACKAGE_NAME)@EXEEXT@
311 296  
312 297 @$(MKDIR) \
313   - $(DESTDIR)/$(bindir)
  298 + $(DESTDIR)$(bindir)
314 299  
315 300 @$(INSTALL_PROGRAM) \
316 301 $(BINRLS)/$(PACKAGE_NAME)@EXEEXT@ \
317   - $(DESTDIR)/$(bindir)/$(PRODUCT_NAME)@EXEEXT@
  302 + $(DESTDIR)$(bindir)/$(PRODUCT_NAME)@EXEEXT@
318 303  
319 304  
320 305 install-windows-application: \
321 306 strip
322 307  
323 308 @$(MKDIR) \
324   - $(DESTDIR)/$(bindir)
  309 + $(DESTDIR)$(bindir)
325 310  
326 311 @$(INSTALL_PROGRAM) \
327 312 $(BINRLS)/$(PACKAGE_NAME)@EXEEXT@ \
328   - $(DESTDIR)/$(bindir)/$(PRODUCT_NAME)@EXEEXT@
  313 + $(DESTDIR)$(bindir)/$(PRODUCT_NAME)@EXEEXT@
329 314  
330 315 install-icons:
331 316  
332 317 @$(MKDIR) \
333   - $(DESTDIR)/$(datarootdir)/$(PRODUCT_NAME)/icons
  318 + $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/icons
334 319  
335 320 @$(INSTALL_DATA) \
336   - icons/*.svg \
337   - $(DESTDIR)/$(datarootdir)/$(PRODUCT_NAME)/icons
  321 + $(srcdir)/icons/*.svg \
  322 + $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/icons
338 323  
339 324 #---[ Misc Targets ]---------------------------------------------------------------------
340 325  
341 326 locale/$(PACKAGE_NAME).pot: \
342   - $(foreach SRC, $(basename $(SOURCES)), $(POTDIR)/$(PACKAGE_NAME)/$(SRC).pot) \
343   - $(foreach SRC, $(basename $(wildcard ui/*.xml)), $(POTDIR)/$(PACKAGE_NAME)/$(SRC).pot)
  327 + $(foreach SRC, $(basename $(COMMON_SOURCES)), $(POTDIR)/$(SRC).pot) \
  328 + $(foreach SRC, $(basename $(wildcard $(srcdir)/src/objects/os/linux/*.c)), $(POTDIR)/$(SRC).pot) \
  329 + $(foreach SRC, $(basename $(wildcard $(srcdir)/src/objects/os/windows/*.c)), $(POTDIR)/$(SRC).pot) \
  330 + $(foreach SRC, $(basename $(wildcard $(srcdir)/src/objects/os/macos/*.c)), $(POTDIR)/$(SRC).pot) \
  331 + $(foreach SRC, $(basename $(wildcard $(srcdir)/ui/*.xml)), $(POTDIR)/$(SRC).pot)
344 332  
345 333 @rm -f $@
346 334 @$(MKDIR) $(@D)
... ... @@ -369,7 +357,6 @@ run: \
369 357 @G_DEBUG=fatal-warnings \
370 358 $(BINDBG)/$(PACKAGE_NAME)@EXEEXT@
371 359  
372   -
373 360 run-inspector: \
374 361 $(BINDBG)/$(PACKAGE_NAME)@EXEEXT@ \
375 362 gschemas.compiled
... ... @@ -401,7 +388,7 @@ clean: \
401 388 cleanDebug \
402 389 cleanRelease
403 390  
404   - @rm -fr $(BASEDIR)/.tmp/$(PACKAGE_NAME)
  391 + @rm -fr $(BUILDDIR)/.tmp/$(PACKAGE_NAME)
405 392 @rm -fr $(POTDIR)/$(PACKAGE_NAME)
406 393 @rm -fr src/include/marshal
407 394 @rm -f $(PRODUCT_NAME).ico
... ...
autogen.sh
1 1 #!/bin/bash
  2 +# SPDX-License-Identifier: LGPL-3.0-or-later
2 3 #
3   -# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
4   -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
5   -# aplicativos mainframe. Registro no INPI sob o nome G3270.
  4 +# Copyright (C) 2008 Banco do Brasil S.A.
6 5 #
7   -# Copyright (C) <2008> <Banco do Brasil S.A.>
  6 +# This program is free software: you can redistribute it and/or modify
  7 +# it under the terms of the GNU Lesser General Public License as published
  8 +# by the Free Software Foundation, either version 3 of the License, or
  9 +# (at your option) any later version.
8 10 #
9   -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
10   -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
11   -# Free Software Foundation.
12   -#
13   -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
14   -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
15   -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
16   -# obter mais detalhes.
17   -#
18   -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
19   -# programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
20   -# St, Fifth Floor, Boston, MA 02110-1301 USA
21   -#
22   -# Contatos:
23   -#
24   -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
25   -# erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  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.
26 15 #
  16 +# You should have received a copy of the GNU Lesser General Public License
  17 +# along with this program. If not, see <https://www.gnu.org/licenses/>.
27 18 #
28 19  
  20 +builddir=${PWD}
  21 +
29 22 test -n "$srcdir" || srcdir=`dirname "$0"`
30 23 test -n "$srcdir" || srcdir=.
31 24  
32   -olddir=`pwd`
33 25 cd "$srcdir"
34 26  
  27 +mkdir -p scripts
35 28 mkdir -p m4
36 29  
  30 +LIBTOOLIZE=$(which libtoolize)
  31 +if [ -z ${LIBTOOLIZE} ]; then
  32 + LIBTOOLIZE=$(which glibtoolize)
  33 +fi
  34 +if [ -z ${LIBTOOLIZE} ]; then
  35 + echo "Can't find libtoolize"
  36 + exit -1
  37 +fi
  38 +
  39 +${LIBTOOLIZE} --force
  40 +if test $? != 0 ; then
  41 + echo "libtoolize failed."
  42 + exit -1
  43 +fi
  44 +
37 45 aclocal
38 46 if test $? != 0 ; then
39 47 echo "aclocal failed."
40 48 exit -1
41 49 fi
42 50  
43   -autoconf
  51 +#autoheader --force
  52 +#if test $? != 0 ; then
  53 +# echo "autoheader failed."
  54 +# exit -1
  55 +#fi
  56 +
  57 +autoconf --force
44 58 if test $? != 0 ; then
45 59 echo "autoconf failed."
46 60 exit -1
47 61 fi
48 62  
49   -mkdir -p scripts
50 63 automake --add-missing 2> /dev/null | true
51 64  
52   -cd "$olddir"
53   -test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
  65 +autopoint
  66 +
  67 +cd "${builddir}"
  68 +
  69 +test -n "$NOCONFIGURE" || "$srcdir/configure" --srcdir=${srcdir} $@
54 70  
55 71  
56 72  
... ...
branding/Makefile.in
... ... @@ -34,9 +34,10 @@ prefix=@prefix@
34 34 exec_prefix=@exec_prefix@
35 35 datarootdir=@datarootdir@
36 36 bindir=@bindir@
  37 +srcdir=@srcdir@
37 38  
38   -BASEDIR=@BASEDIR@
39   -BINDIR=$(BASEDIR)/.bin
  39 +BUILDDIR=@BUILDDIR@
  40 +BINDIR=$(BUILDDIR)/.bin
40 41  
41 42 MKDIR=@MKDIR_P@
42 43 INSTALL=@INSTALL@
... ... @@ -57,7 +58,7 @@ APPSTREAMCLI=@APPSTREAMCLI@
57 58 @$(CONVERT) -density 384 -background transparent $< -define icon:auto-resize -colors 256 $@
58 59  
59 60 $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/%.svg: \
60   - %.svg
  61 + $(srcdir)/%.svg
61 62  
62 63 @echo $@ ...
63 64 @$(MKDIR) `dirname $@`
... ... @@ -71,7 +72,7 @@ endif
71 72 @chmod 644 $@
72 73  
73 74 $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/$(PRODUCT_NAME)-logo.svg: \
74   - $(PRODUCT_NAME).svg
  75 + $(srcdir)/$(PRODUCT_NAME).svg
75 76  
76 77 @echo $@ ...
77 78 @$(MKDIR) `dirname $@`
... ... @@ -85,7 +86,7 @@ endif
85 86 @chmod 644 $@
86 87  
87 88 $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/icons/%.svg: \
88   - %.svg
  89 + $(srcdir)/%.svg
89 90  
90 91 @echo $@ ...
91 92 @$(MKDIR) `dirname $@`
... ...
configure.ac
  1 +dnl SPDX-License-Identifier: LGPL-3.0-or-later
1 2 dnl
2   -dnl Software pw3270, desenvolvido com base nos códigos fontes do C3270 e X3270
3   -dnl (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   -dnl aplicativos mainframe. Registro no INPI sob o nome G3270.
  3 +dnl Copyright (C) 2008 Banco do Brasil S.A.
5 4 dnl
6   -dnl Copyright (C) <2008> <Banco do Brasil S.A.>
  5 +dnl This program is free software: you can redistribute it and/or modify
  6 +dnl it under the terms of the GNU Lesser General Public License as published
  7 +dnl by the Free Software Foundation, either version 3 of the License, or
  8 +dnl (at your option) any later version.
7 9 dnl
8   -dnl Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   -dnl os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   -dnl Free Software Foundation.
  10 +dnl This program is distributed in the hope that it will be useful,
  11 +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13 +dnl GNU General Public License for more details.
11 14 dnl
12   -dnl Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   -dnl GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   -dnl A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   -dnl obter mais detalhes.
16   -dnl
17   -dnl Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   -dnl programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple
19   -
20   -dnl Place, Suite 330, Boston, MA, 02111-1307, USA
21   -dnl
22   -dnl Contatos:
23   -dnl
24   -dnl perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
25   -dnl erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça)
  15 +dnl You should have received a copy of the GNU Lesser General Public License
  16 +dnl along with this program. If not, see <https://www.gnu.org/licenses/>.
26 17 dnl
27 18  
28 19 dnl Process this file with autoconf to produce a configure script.
... ... @@ -147,6 +138,7 @@ AC_PATH_TOOL([APPSTREAMCLI],[appstreamcli], [no])
147 138 AC_PATH_TOOL([STRIP], [strip], [true])
148 139  
149 140 AC_PATH_TOOL([DESKTOP_INSTALL],[desktop-file-install],[no])
  141 +AC_PATH_TOOL([GLIB_SCHEMA_COMPILER],[glib-compile-schemas],[false])
150 142  
151 143 PKG_CHECK_EXISTS
152 144  
... ... @@ -267,7 +259,7 @@ dnl Directory config
267 259 dnl ---------------------------------------------------------------------------
268 260  
269 261 AC_ARG_WITH([build-dir], [AS_HELP_STRING([--with-build-dir], [Setup build path])], [ app_cv_buildir="$withval" ],[ app_cv_buildir="$ac_pwd" ])
270   -AC_SUBST(BASEDIR,$app_cv_buildir)
  262 +AC_SUBST(BUILDDIR,$app_cv_buildir)
271 263  
272 264 dnl ---------------------------------------------------------------------------
273 265 dnl Configure which files to generate.
... ...
lgtm.yml
... ... @@ -22,25 +22,28 @@ extraction:
22 22  
23 23 configure:
24 24 command:
25   - - export PRE_REQS_DIR="$(readlink -f .)/pre-reqs"
  25 + - export BUILD_DIR=$(readlink -f .)
  26 + - export PRE_REQS_DIR="${BUILD_DIR}/pre-reqs"
26 27 - mkdir -p "${PRE_REQS_DIR}/src"
27 28 - git clone https://github.com/PerryWerneck/lib3270.git "${PRE_REQS_DIR}/src/lib3270"
28   - - ${PRE_REQS_DIR}/src/lib3270/autogen.sh --prefix=/usr
  29 + - cd ${PRE_REQS_DIR}/src/lib3270
  30 + - ./autogen.sh --prefix=/usr
29 31 - make -C ${PRE_REQS_DIR}/src/lib3270 all
30 32 - make DESTDIR=${PRE_REQS_DIR} -C ${PRE_REQS_DIR}/src/lib3270 install
  33 + - cd ${BUILD_DIR}
31 34 - export LIB3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include"
32 35 - export LIB3270_LIBS="-L${PRE_REQS_DIR}/usr/lib -l3270"
33 36  
34 37 - git clone https://github.com/PerryWerneck/libv3270.git "${PRE_REQS_DIR}/src/libv3270"
35   - - ${PRE_REQS_DIR}/src/libv3270/autogen.sh --prefix=/usr
36   - - cat ${PRE_REQS_DIR}/src/libv3270/Makefile
  38 + - cd ${PRE_REQS_DIR}/src/libv3270
  39 + - ./autogen.sh --prefix=/usr
37 40 - make -C ${PRE_REQS_DIR}/src/libv3270 all
38 41 - make DESTDIR=${PRE_REQS_DIR} -C ${PRE_REQS_DIR}/src/libv3270 install
  42 + - cd ${BUILD_DIR}
39 43 - export LIBV3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include"
40 44 - export LIBV3270_LIBS="-Wl,-rpath,${PRE_REQS_DIR}/usr/lib -L${PRE_REQS_DIR}/usr/lib -lv3270 -l3270"
41 45  
42 46 - ./autogen.sh --prefix=/usr
43   - - cat Makefile
44 47  
45 48 index:
46 49 build_command:
... ...
locale/Makefile.in
... ... @@ -37,8 +37,8 @@ PACKAGE_VERSION=@PACKAGE_VERSION@
37 37 PACKAGE_TARNAME=@PACKAGE_TARNAME@
38 38 PRODUCT_NAME=@PRODUCT_NAME@
39 39  
40   -BASEDIR=@BASEDIR@
41   -BINDIR=$(BASEDIR)/.bin/locale
  40 +BUILDDIR=@BUILDDIR@
  41 +BINDIR=$(BUILDDIR)/.bin/locale
42 42  
43 43 MKDIR=@MKDIR_P@
44 44 MSGCAT=@MSGCAT@
... ...
locale/pt_BR.po
1 1 #
2   -# Perry Werneck <perry.werneck@gmail.com>, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021.
  2 +# Perry Werneck <perry.werneck@gmail.com>, 2012-2021.
3 3 #
4 4 msgid ""
5 5 msgstr ""
6 6 "Project-Id-Version: pw3270 5.0\n"
7 7 "Report-Msgid-Bugs-To: \n"
8   -"POT-Creation-Date: 2021-09-01 23:55-0300\n"
9   -"PO-Revision-Date: 2021-09-01 23:57-0300\n"
  8 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  9 +"PO-Revision-Date: 2021-12-23 01:36-0300\n"
10 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11   -"Language-Team: Português <perry.werneck@gmail.com>\n"
  11 +"Language-Team: Brazilian Portuguese <perry.werneck@gmail.com>\n"
12 12 "Language: pt_BR\n"
13 13 "MIME-Version: 1.0\n"
14 14 "Content-Type: text/plain; charset=UTF-8\n"
... ... @@ -16,10 +16,10 @@ msgstr &quot;&quot;
16 16 "X-Poedit-Language: Portuguese\n"
17 17 "X-Poedit-Country: BRAZIL\n"
18 18 "X-Poedit-SourceCharset: utf-8\n"
19   -"Plural-Forms: nplurals=2; plural=(n > 1);\n"
20   -"X-Generator: Gtranslator 2.91.7\n"
  19 +"Plural-Forms: nplurals=2; plural=(n > 1)\n"
  20 +"X-Generator: Gtranslator 3.38.0\n"
21 21  
22   -#: src/objects/application/application.c:222
  22 +#: src/objects/application/application.c:225
23 23 #, c-format
24 24 msgid "\"%s\" is not a valid user interface name"
25 25 msgstr "\"%s\" não é um nome válido para interface de usuário"
... ... @@ -37,7 +37,8 @@ msgstr &quot;Linux 32 bits&quot;
37 37 msgid "32 bits Windows"
38 38 msgstr "Windows 32 bits"
39 39  
40   -#: src/objects/actions/save.c:166 src/objects/os/windows/savedesktopicon.c:222
  40 +#: src/objects/actions/save.c:166 src/objects/os/linux/savedesktopicon.c:267
  41 +#: src/objects/os/windows/savedesktopicon.c:222
41 42 msgid "3270 session files"
42 43 msgstr "Arquivos de sessão TN3270"
43 44  
... ... @@ -56,8 +57,8 @@ msgstr &quot;&quot;
56 57 "<small><b>Alterações na posição da barra de ferramentas só tem efeito apos "
57 58 "reinício da aplicação</b></small>"
58 59  
59   -#: src/objects/application/actions/about.c:209 ui/application.xml:39
60   -#: ui/application.xml:537
  60 +#: src/objects/application/actions/about.c:209 ui/windows.ui.xml:40
  61 +#: ui/windows.ui.xml:553 ui/linux.ui.xml:40 ui/linux.ui.xml:553
61 62 msgid "About PW3270"
62 63 msgstr "Sobre o PW3270"
63 64  
... ... @@ -65,11 +66,12 @@ msgstr &quot;Sobre o PW3270&quot;
65 66 msgid "Action Name"
66 67 msgstr "Nome da ação"
67 68  
68   -#: src/objects/window/window.c:243
  69 +#: src/objects/window/window.c:233
69 70 msgid "Action Names"
70 71 msgstr "Nome das ações"
71 72  
72   -#: ui/window.xml:389 ui/window.xml:504 ui/application.xml:509
  73 +#: ui/windows.ui.xml:525 ui/windows.ui.xml:917 ui/windows.ui.xml:1032
  74 +#: ui/linux.ui.xml:525 ui/linux.ui.xml:917 ui/linux.ui.xml:1032
73 75 msgid "Alert sound"
74 76 msgstr "Aviso sonoro"
75 77  
... ... @@ -77,7 +79,8 @@ msgstr &quot;Aviso sonoro&quot;
77 79 msgid "All files"
78 80 msgstr "Todos os arquivos"
79 81  
80   -#: ui/window.xml:183 ui/application.xml:251
  82 +#: ui/windows.ui.xml:252 ui/windows.ui.xml:691 ui/linux.ui.xml:252
  83 +#: ui/linux.ui.xml:691
81 84 msgid "Append to copy"
82 85 msgstr "Adicionar à cópia"
83 86  
... ... @@ -85,7 +88,8 @@ msgstr &quot;Adicionar à cópia&quot;
85 88 msgid "Apple version"
86 89 msgstr "Versão Apple"
87 90  
88   -#: ui/window.xml:137 ui/application.xml:389
  91 +#: ui/windows.ui.xml:385 ui/windows.ui.xml:665 ui/linux.ui.xml:385
  92 +#: ui/linux.ui.xml:665
89 93 msgid "Application"
90 94 msgstr "Aplicação"
91 95  
... ... @@ -93,7 +97,8 @@ msgstr &quot;Aplicação&quot;
93 97 msgid "Application menu"
94 98 msgstr "Menu da aplicação"
95 99  
96   -#: src/objects/application/actions/preferences.c:76 ui/application.xml:83
  100 +#: src/objects/application/actions/preferences.c:76 ui/windows.ui.xml:84
  101 +#: ui/linux.ui.xml:84
97 102 msgid "Application preferences"
98 103 msgstr "Preferências da aplicação"
99 104  
... ... @@ -101,7 +106,7 @@ msgstr &quot;Preferências da aplicação&quot;
101 106 msgid "Apply"
102 107 msgstr "Aplicar"
103 108  
104   -#: ui/application.xml:484
  109 +#: ui/windows.ui.xml:500 ui/linux.ui.xml:500
105 110 msgid "Auto-Reconnect"
106 111 msgstr "Reconectar automaticamente"
107 112  
... ... @@ -113,15 +118,16 @@ msgstr &quot;Disponível&quot;
113 118 msgid "Based on X3270 from"
114 119 msgstr "Baseado no X3270 por"
115 120  
116   -#: ui/window.xml:418 ui/application.xml:474
  121 +#: ui/windows.ui.xml:490 ui/windows.ui.xml:946 ui/linux.ui.xml:490
  122 +#: ui/linux.ui.xml:946
117 123 msgid "Blank Fill"
118 124 msgstr "Completar com espaços"
119 125  
120   -#: ui/application.xml:439
  126 +#: ui/windows.ui.xml:455 ui/linux.ui.xml:455
121 127 msgid "Blinking Cursor"
122 128 msgstr "Cursor piscante"
123 129  
124   -#: ui/application.xml:489
  130 +#: ui/windows.ui.xml:505 ui/linux.ui.xml:505
125 131 msgid "Bold"
126 132 msgstr "Negrito"
127 133  
... ... @@ -129,8 +135,8 @@ msgstr &quot;Negrito&quot;
129 135 msgid "Bottom"
130 136 msgstr "Em baixo"
131 137  
132   -#: src/objects/application/actions/open.c:104 src/objects/window/terminal.c:142
133   -#: src/objects/window/terminal.c:196
  138 +#: src/objects/application/actions/open.c:104 src/objects/window/terminal.c:143
  139 +#: src/objects/window/terminal.c:197
134 140 msgid "Can't load session file"
135 141 msgstr "Não foi possível carregar arquivo de sessão"
136 142  
... ... @@ -138,16 +144,16 @@ msgstr &quot;Não foi possível carregar arquivo de sessão&quot;
138 144 msgid "Can't load session preferences"
139 145 msgstr "Não foi possível carregar preferências da sessão"
140 146  
141   -#: src/objects/settings/gsettings.c:123
  147 +#: src/objects/settings/gsettings.c:128
142 148 msgid "Can't load system settings"
143 149 msgstr "Não foi possível carregar configurações de sistema"
144 150  
145   -#: src/objects/application/actions/open.c:99 src/objects/window/terminal.c:191
  151 +#: src/objects/application/actions/open.c:99 src/objects/window/terminal.c:192
146 152 #, c-format
147 153 msgid "Can't use \"%s\""
148 154 msgstr "Não posso usar %s"
149 155  
150   -#: src/objects/window/terminal.c:137
  156 +#: src/objects/window/terminal.c:138
151 157 msgid "Can't use default session file"
152 158 msgstr "Não posso usar arquivo de sessão default"
153 159  
... ... @@ -155,10 +161,6 @@ msgstr &quot;Não posso usar arquivo de sessão default&quot;
155 161 msgid "Cancel"
156 162 msgstr "_Cancelar"
157 163  
158   -#: src/objects/window/actions/setcolors.c:46
159   -msgid "Change terminal colors"
160   -msgstr "Mudar cores do terminal"
161   -
162 164 #: src/objects/application/actions/preferences.c:78
163 165 msgid "Change the application preferences"
164 166 msgstr "Modificar preferências da aplicação"
... ... @@ -167,16 +169,22 @@ msgstr &quot;Modificar preferências da aplicação&quot;
167 169 msgid "Change the position of the title bar icons"
168 170 msgstr "Modificar posição dos ícones da barra de título"
169 171  
170   -#: src/objects/window/actions/sessionproperties.c:47
  172 +#: src/objects/window/actions/sessionproperties.c:37
171 173 msgid "Change the preferences for the active session"
172 174 msgstr "Modificar preferências da sessão ativa"
173 175  
174   -#: ui/window.xml:197 ui/window.xml:339 ui/application.xml:304
  176 +#: ui/windows.ui.xml:305 ui/windows.ui.xml:725 ui/windows.ui.xml:867
  177 +#: ui/linux.ui.xml:305 ui/linux.ui.xml:725 ui/linux.ui.xml:867
175 178 msgid "Clear"
176 179 msgstr "Limpar"
177 180  
178   -#: ui/window.xml:89 ui/window.xml:126 ui/application.xml:149
179   -#: ui/application.xml:186
  181 +#: ui/windows.ui.xml:400 ui/linux.ui.xml:400
  182 +msgid "Clipboard"
  183 +msgstr "Área de transferência"
  184 +
  185 +#: ui/windows.ui.xml:150 ui/windows.ui.xml:187 ui/windows.ui.xml:617
  186 +#: ui/windows.ui.xml:654 ui/linux.ui.xml:150 ui/linux.ui.xml:187
  187 +#: ui/linux.ui.xml:617 ui/linux.ui.xml:654
180 188 msgid "Clipboard contents"
181 189 msgstr "Conteúdo da área de transferência"
182 190  
... ... @@ -188,20 +196,22 @@ msgstr &quot;Fecha todas as janelas e encerra a aplicação&quot;
188 196 msgid "Close the window"
189 197 msgstr "Fechar a janela"
190 198  
191   -#: src/objects/window/actions/close.c:60 ui/window.xml:285 ui/window.xml:483
192   -#: ui/window.xml:590 ui/application.xml:216
  199 +#: src/objects/window/actions/close.c:60 ui/windows.ui.xml:217
  200 +#: ui/windows.ui.xml:813 ui/windows.ui.xml:1011 ui/windows.ui.xml:1118
  201 +#: ui/linux.ui.xml:217 ui/linux.ui.xml:813 ui/linux.ui.xml:1011
  202 +#: ui/linux.ui.xml:1118
193 203 msgid "Close window"
194 204 msgstr "Fechar janela"
195 205  
196   -#: src/objects/window/actions/setcolors.c:45
197   -msgid "Colors"
198   -msgstr "Cores"
  206 +#: src/objects/os/linux/savedesktopicon.c:101
  207 +msgid "Comment"
  208 +msgstr "Comentário"
199 209  
200 210 #: src/objects/window/actions/connect.c:59
201 211 msgid "Connect"
202 212 msgstr "Conectar"
203 213  
204   -#: ui/application.xml:434
  214 +#: ui/windows.ui.xml:450 ui/linux.ui.xml:450
205 215 msgid "Connect on startup"
206 216 msgstr "Conectar ao iniciar"
207 217  
... ... @@ -209,7 +219,7 @@ msgstr &quot;Conectar ao iniciar&quot;
209 219 msgid "Connect to host"
210 220 msgstr "Conectar ao servidor"
211 221  
212   -#: src/objects/window/window.c:813 src/objects/window/page.c:218
  222 +#: src/objects/window/window.c:802 src/objects/window/page.c:218
213 223 msgid "Connected to host"
214 224 msgstr "Conectado no servidor"
215 225  
... ... @@ -217,23 +227,26 @@ msgstr &quot;Conectado no servidor&quot;
217 227 msgid "Contributors"
218 228 msgstr "Contribuidores"
219 229  
220   -#: ui/window.xml:158 ui/application.xml:236
  230 +#: ui/windows.ui.xml:237 ui/windows.ui.xml:686 ui/linux.ui.xml:237
  231 +#: ui/linux.ui.xml:686
221 232 msgid "Copy"
222 233 msgstr "Copiar"
223 234  
224   -#: ui/window.xml:173
  235 +#: ui/windows.ui.xml:706 ui/linux.ui.xml:706
225 236 msgid "Copy as HTML"
226 237 msgstr "Copiar como HTML"
227 238  
228   -#: ui/window.xml:178
  239 +#: ui/windows.ui.xml:711 ui/linux.ui.xml:711
229 240 msgid "Copy as image"
230 241 msgstr "Copiar como imagem"
231 242  
232   -#: ui/window.xml:168 ui/application.xml:246
  243 +#: ui/windows.ui.xml:247 ui/windows.ui.xml:701 ui/linux.ui.xml:247
  244 +#: ui/linux.ui.xml:701
233 245 msgid "Copy as table"
234 246 msgstr "Copiar como tabela"
235 247  
236   -#: ui/window.xml:163 ui/application.xml:241
  248 +#: ui/windows.ui.xml:242 ui/windows.ui.xml:696 ui/linux.ui.xml:242
  249 +#: ui/linux.ui.xml:696
237 250 msgid "Copy as text"
238 251 msgstr "Copiar como texto"
239 252  
... ... @@ -241,31 +254,37 @@ msgstr &quot;Copiar como texto&quot;
241 254 msgid "Copyright © 2008 Banco do Brasil S.A."
242 255 msgstr "Copyright © 2008 Banco do Brasil S.A."
243 256  
  257 +#: src/objects/os/linux/savedesktopicon.c:114
244 258 #: src/objects/os/windows/savedesktopicon.c:107
245 259 msgid "Create shortcut for the current session"
246 260 msgstr "Criar atalho para a sessão atual."
247 261  
248   -#: ui/window.xml:374 ui/application.xml:459
  262 +#: ui/windows.ui.xml:475 ui/windows.ui.xml:902 ui/linux.ui.xml:475
  263 +#: ui/linux.ui.xml:902
249 264 msgid "Cross hair cursor"
250 265 msgstr "Cursor mira"
251 266  
252   -#: ui/window.xml:116 ui/application.xml:176
  267 +#: ui/windows.ui.xml:177 ui/windows.ui.xml:644 ui/linux.ui.xml:177
  268 +#: ui/linux.ui.xml:644
253 269 msgid "Current Screen"
254 270 msgstr "Tela atual"
255 271  
256   -#: ui/window.xml:79 ui/application.xml:139
  272 +#: ui/windows.ui.xml:140 ui/windows.ui.xml:607 ui/linux.ui.xml:140
  273 +#: ui/linux.ui.xml:607
257 274 msgid "Current screen"
258 275 msgstr "Tela atual"
259 276  
260   -#: ui/window.xml:142 ui/application.xml:394
  277 +#: ui/windows.ui.xml:670 ui/linux.ui.xml:670
261 278 msgid "Current session"
262 279 msgstr "Sessão atual"
263 280  
264   -#: ui/window.xml:188 ui/application.xml:256
  281 +#: ui/windows.ui.xml:257 ui/windows.ui.xml:716 ui/linux.ui.xml:257
  282 +#: ui/linux.ui.xml:716
265 283 msgid "Cut"
266 284 msgstr "Recortar"
267 285  
268   -#: ui/window.xml:207 ui/window.xml:349 ui/application.xml:314
  286 +#: ui/windows.ui.xml:315 ui/windows.ui.xml:735 ui/windows.ui.xml:877
  287 +#: ui/linux.ui.xml:315 ui/linux.ui.xml:735 ui/linux.ui.xml:877
269 288 msgid "Delete Field"
270 289 msgstr "Apagar campo"
271 290  
... ... @@ -273,16 +292,18 @@ msgstr &quot;Apagar campo&quot;
273 292 msgid "Description"
274 293 msgstr "Descrição"
275 294  
276   -#: ui/window.xml:280 ui/window.xml:478
  295 +#: ui/windows.ui.xml:808 ui/windows.ui.xml:1006 ui/linux.ui.xml:808
  296 +#: ui/linux.ui.xml:1006
277 297 msgid "Disconnect"
278 298 msgstr "Desconectar"
279 299  
280   -#: src/objects/window/window.c:813 src/objects/window/window.c:840
  300 +#: src/objects/window/window.c:802 src/objects/window/window.c:829
281 301 #: src/objects/window/page.c:207
282 302 msgid "Disconnected from host"
283 303 msgstr "Desconectado do servidor"
284 304  
285   -#: ui/window.xml:401 ui/window.xml:517 ui/application.xml:524
  305 +#: ui/windows.ui.xml:540 ui/windows.ui.xml:929 ui/windows.ui.xml:1045
  306 +#: ui/linux.ui.xml:540 ui/linux.ui.xml:929 ui/linux.ui.xml:1045
286 307 msgid "Dynamic font spacing"
287 308 msgstr "Espaçamento dinâmico"
288 309  
... ... @@ -310,15 +331,18 @@ msgstr &quot;Habilitado&quot;
310 331 msgid "End"
311 332 msgstr "Final"
312 333  
313   -#: ui/window.xml:202 ui/window.xml:344 ui/application.xml:309
  334 +#: ui/windows.ui.xml:310 ui/windows.ui.xml:730 ui/windows.ui.xml:872
  335 +#: ui/linux.ui.xml:310 ui/linux.ui.xml:730 ui/linux.ui.xml:872
314 336 msgid "Erase input"
315 337 msgstr "Apagar campos"
316 338  
317   -#: ui/window.xml:212 ui/window.xml:354 ui/application.xml:319
  339 +#: ui/windows.ui.xml:320 ui/windows.ui.xml:740 ui/windows.ui.xml:882
  340 +#: ui/linux.ui.xml:320 ui/linux.ui.xml:740 ui/linux.ui.xml:882
318 341 msgid "Erase to end of field"
319 342 msgstr "Apagar até o final do campo"
320 343  
321   -#: ui/window.xml:217 ui/window.xml:359 ui/application.xml:324
  344 +#: ui/windows.ui.xml:325 ui/windows.ui.xml:745 ui/windows.ui.xml:887
  345 +#: ui/linux.ui.xml:325 ui/linux.ui.xml:745 ui/linux.ui.xml:887
322 346 msgid "Erase to end of line"
323 347 msgstr "Apagar até o final da linha"
324 348  
... ... @@ -326,7 +350,7 @@ msgstr &quot;Apagar até o final da linha&quot;
326 350 msgid "Error starting session"
327 351 msgstr "Erro iniciando sessão"
328 352  
329   -#: ui/application.xml:352
  353 +#: ui/windows.ui.xml:353 ui/linux.ui.xml:353
330 354 msgid "Field attributes"
331 355 msgstr "Atributos de campo"
332 356  
... ... @@ -334,23 +358,30 @@ msgstr &quot;Atributos de campo&quot;
334 358 msgid "File for session preferences"
335 359 msgstr "Arquivo para preferências da sessão"
336 360  
337   -#: ui/application.xml:454
  361 +#: ui/windows.ui.xml:470 ui/linux.ui.xml:470
338 362 msgid "Full Screen"
339 363 msgstr "Tela cheia"
340 364  
341   -#: ui/window.xml:251 ui/window.xml:427 ui/window.xml:522
  365 +#: ui/windows.ui.xml:779 ui/windows.ui.xml:955 ui/windows.ui.xml:1050
  366 +#: ui/linux.ui.xml:779 ui/linux.ui.xml:955 ui/linux.ui.xml:1050
342 367 msgid "Full screen"
343 368 msgstr "Tela cheia"
344 369  
345   -#: ui/application.xml:36 ui/application.xml:534
  370 +#: src/objects/os/linux/savedesktopicon.c:94
  371 +msgid "Generic name"
  372 +msgstr "Nome genérico"
  373 +
  374 +#: ui/windows.ui.xml:37 ui/windows.ui.xml:550 ui/linux.ui.xml:37
  375 +#: ui/linux.ui.xml:550
346 376 msgid "Help"
347 377 msgstr "Ajuda"
348 378  
349   -#: src/objects/window/actions/hostproperties.c:45
350   -msgid "Host properties"
351   -msgstr "Propriedades do Servidor"
  379 +#: ui/windows.ui.xml:390 ui/linux.ui.xml:390
  380 +msgid "Host and Emulation settings"
  381 +msgstr "Configuração de servidor e emulação"
352 382  
353   -#: src/objects/application/actions/about.c:111 src/objects/window/window.c:602
  383 +#: src/objects/application/actions/about.c:111 src/objects/window/window.c:592
  384 +#: src/objects/os/linux/savedesktopicon.c:102
354 385 #: src/objects/os/windows/savedesktopicon.c:269
355 386 msgid "IBM 3270 Terminal emulator"
356 387 msgstr "Emulador de terminal IBM 3270"
... ... @@ -391,7 +422,7 @@ msgstr &quot;Apenas ícones&quot;
391 422 msgid "If the action can be activated"
392 423 msgstr "Se a ação pode ser ativada"
393 424  
394   -#: ui/window.xml:494
  425 +#: ui/windows.ui.xml:1022 ui/linux.ui.xml:1022
395 426 msgid "Insert"
396 427 msgstr "Inserção"
397 428  
... ... @@ -411,10 +442,14 @@ msgstr &quot;Itens empacotados do início para o final&quot;
411 442 msgid "Itens"
412 443 msgstr "Itens"
413 444  
414   -#: ui/application.xml:499
  445 +#: ui/windows.ui.xml:515 ui/linux.ui.xml:515
415 446 msgid "Keep selected"
416 447 msgstr "Manter selecionado"
417 448  
  449 +#: ui/windows.ui.xml:395 ui/linux.ui.xml:395
  450 +msgid "Keyboard accelerators"
  451 +msgstr "Atalhos de teclado"
  452 +
418 453 #: src/objects/keypad/model.c:103
419 454 msgid "Keypad Label"
420 455 msgstr "Etiqueta do painel"
... ... @@ -431,7 +466,7 @@ msgstr &quot;Altura do painel em linhas&quot;
431 466 msgid "Keypad width in columns"
432 467 msgstr "Largura do painel em colunas"
433 468  
434   -#: src/main/placeholders.c:113
  469 +#: src/main/builder.c:118
435 470 msgid "Keypads"
436 471 msgstr "Painéis"
437 472  
... ... @@ -455,15 +490,19 @@ msgstr &quot;Esquerda&quot;
455 490 msgid "List of the available and unpacked actions"
456 491 msgstr "Lista de ações disponíveis ainda não empacotadas"
457 492  
458   -#: ui/application.xml:71
  493 +#: src/objects/application/application.c:179
  494 +msgid "Log name"
  495 +msgstr "Nome do arquivo de log"
  496 +
  497 +#: ui/windows.ui.xml:72 ui/linux.ui.xml:72
459 498 msgid "Main Menu"
460 499 msgstr "Menu principal"
461 500  
462   -#: ui/application.xml:66
  501 +#: ui/windows.ui.xml:67 ui/linux.ui.xml:67
463 502 msgid "Main Toolbar"
464 503 msgstr "Barra de ferramentas"
465 504  
466   -#: ui/window.xml:565
  505 +#: ui/windows.ui.xml:1093 ui/linux.ui.xml:1093
467 506 msgid "Main menu"
468 507 msgstr "Menu principal"
469 508  
... ... @@ -471,31 +510,36 @@ msgstr &quot;Menu principal&quot;
471 510 msgid "Maintainers"
472 511 msgstr "Mantenedores"
473 512  
474   -#: ui/application.xml:347
  513 +#: ui/windows.ui.xml:348 ui/linux.ui.xml:348
475 514 msgid "Menu"
476 515 msgstr "Menu"
477 516  
478   -#: ui/window.xml:531 ui/application.xml:403
  517 +#: ui/windows.ui.xml:419 ui/windows.ui.xml:1059 ui/linux.ui.xml:419
  518 +#: ui/linux.ui.xml:1059
479 519 msgid "Model 2 - 80x24"
480 520 msgstr "Modelo 2 - 80x24"
481 521  
482   -#: ui/window.xml:536 ui/application.xml:408
  522 +#: ui/windows.ui.xml:424 ui/windows.ui.xml:1064 ui/linux.ui.xml:424
  523 +#: ui/linux.ui.xml:1064
483 524 msgid "Model 3 - 80x32"
484 525 msgstr "Modelo 3 - 80x32"
485 526  
486   -#: ui/window.xml:541 ui/application.xml:413
  527 +#: ui/windows.ui.xml:429 ui/windows.ui.xml:1069 ui/linux.ui.xml:429
  528 +#: ui/linux.ui.xml:1069
487 529 msgid "Model 4 - 80x43"
488 530 msgstr "Modelo 4 - 80x43"
489 531  
490   -#: ui/window.xml:546 ui/application.xml:418
  532 +#: ui/windows.ui.xml:434 ui/windows.ui.xml:1074 ui/linux.ui.xml:434
  533 +#: ui/linux.ui.xml:1074
491 534 msgid "Model 5 - 132x27"
492 535 msgstr "Modelo 5 - 132x27"
493 536  
494   -#: ui/window.xml:396 ui/application.xml:444
  537 +#: ui/windows.ui.xml:460 ui/windows.ui.xml:924 ui/linux.ui.xml:460
  538 +#: ui/linux.ui.xml:924
495 539 msgid "Monocase"
496 540 msgstr "Só Maiúsculas"
497 541  
498   -#: ui/application.xml:519
  542 +#: ui/windows.ui.xml:535 ui/linux.ui.xml:535
499 543 msgid "Network keep alive"
500 544 msgstr "Network keep alive"
501 545  
... ... @@ -523,11 +567,11 @@ msgstr &quot;Nova janela com sessão padrão&quot;
523 567 msgid "Open Session"
524 568 msgstr "Abrir sessão"
525 569  
526   -#: ui/application.xml:55
  570 +#: ui/windows.ui.xml:56 ui/linux.ui.xml:56
527 571 msgid "Open in New Tab"
528 572 msgstr "Abrir em nova aba"
529 573  
530   -#: ui/application.xml:50
  574 +#: ui/windows.ui.xml:51 ui/linux.ui.xml:51
531 575 msgid "Open in New Window"
532 576 msgstr "Abrir em nova janela"
533 577  
... ... @@ -555,7 +599,9 @@ msgstr &quot;Abrir sessão em nova janela&quot;
555 599 msgid "Open session on the active terminal"
556 600 msgstr "Abrir sessão no terminal ativo"
557 601  
558   -#: ui/window.xml:227 ui/window.xml:369 ui/window.xml:514 ui/application.xml:431
  602 +#: ui/windows.ui.xml:447 ui/windows.ui.xml:755 ui/windows.ui.xml:897
  603 +#: ui/windows.ui.xml:1042 ui/linux.ui.xml:447 ui/linux.ui.xml:755
  604 +#: ui/linux.ui.xml:897 ui/linux.ui.xml:1042
559 605 msgid "Options"
560 606 msgstr "Opções"
561 607  
... ... @@ -563,22 +609,27 @@ msgstr &quot;Opções&quot;
563 609 msgid "Parameter Type"
564 610 msgstr "Tipo de parâmetro"
565 611  
566   -#: ui/window.xml:301 ui/application.xml:261
  612 +#: ui/windows.ui.xml:262 ui/windows.ui.xml:829 ui/linux.ui.xml:262
  613 +#: ui/linux.ui.xml:829
567 614 msgid "Paste from clipboard"
568 615 msgstr "Colar da área de transferência"
569 616  
570   -#: ui/window.xml:311 ui/application.xml:271
  617 +#: ui/windows.ui.xml:272 ui/windows.ui.xml:839 ui/linux.ui.xml:272
  618 +#: ui/linux.ui.xml:839
571 619 msgid "Paste from text file"
572 620 msgstr "Colar de um arquivo texto"
573 621  
574   -#: ui/window.xml:306 ui/application.xml:266
  622 +#: ui/windows.ui.xml:267 ui/windows.ui.xml:834 ui/linux.ui.xml:267
  623 +#: ui/linux.ui.xml:834
575 624 msgid "Paste next"
576 625 msgstr "Colar próximo"
577 626  
578   -#: ui/window.xml:413 ui/application.xml:469
  627 +#: ui/windows.ui.xml:485 ui/windows.ui.xml:941 ui/linux.ui.xml:485
  628 +#: ui/linux.ui.xml:941
579 629 msgid "Paste with left margin"
580 630 msgstr "Colar com margem esquerda"
581 631  
  632 +#: src/objects/os/linux/savedesktopicon.c:71
582 633 #: src/objects/os/windows/savedesktopicon.c:74
583 634 msgid "Path for the new shortcut"
584 635 msgstr "Caminho para o novo atalho"
... ... @@ -587,19 +638,20 @@ msgstr &quot;Caminho para o novo atalho&quot;
587 638 msgid "Position"
588 639 msgstr "Posição"
589 640  
590   -#: ui/window.xml:134
  641 +#: ui/windows.ui.xml:662 ui/linux.ui.xml:662
591 642 msgid "Preferences"
592 643 msgstr "Preferências"
593 644  
594   -#: ui/window.xml:113 ui/application.xml:173
  645 +#: ui/windows.ui.xml:174 ui/windows.ui.xml:641 ui/linux.ui.xml:174
  646 +#: ui/linux.ui.xml:641
595 647 msgid "Print"
596 648 msgstr "Imprimir"
597 649  
598   -#: ui/window.xml:464
  650 +#: ui/windows.ui.xml:992 ui/linux.ui.xml:992
599 651 msgid "Print screen"
600 652 msgstr "Imrpimir o conteúdo da tela"
601 653  
602   -#: ui/window.xml:267
  654 +#: ui/windows.ui.xml:795 ui/linux.ui.xml:795
603 655 msgid "Print selected"
604 656 msgstr "Imprimir seleção"
605 657  
... ... @@ -608,7 +660,8 @@ msgstr &quot;Imprimir seleção&quot;
608 660 msgid "Property \"%s\" is invalid for this object"
609 661 msgstr "Propriedade \"%s\" é inválida para este objeto"
610 662  
611   -#: src/objects/application/actions/window.c:64 ui/application.xml:88
  663 +#: src/objects/application/actions/window.c:64 ui/windows.ui.xml:89
  664 +#: ui/linux.ui.xml:89
612 665 msgid "Quit"
613 666 msgstr "Sair"
614 667  
... ... @@ -616,11 +669,13 @@ msgstr &quot;Sair&quot;
616 669 msgid "Rename Session"
617 670 msgstr "Renomear sessão"
618 671  
619   -#: ui/window.xml:330 ui/application.xml:295
  672 +#: ui/windows.ui.xml:296 ui/windows.ui.xml:858 ui/linux.ui.xml:296
  673 +#: ui/linux.ui.xml:858
620 674 msgid "Reselect"
621 675 msgstr "Reselecionar"
622 676  
623   -#: ui/window.xml:384 ui/application.xml:464
  677 +#: ui/windows.ui.xml:480 ui/windows.ui.xml:912 ui/linux.ui.xml:480
  678 +#: ui/linux.ui.xml:912
624 679 msgid "Resize on alternate screen"
625 680 msgstr "Mudar tamanho do terminal em tela alternativa"
626 681  
... ... @@ -628,7 +683,8 @@ msgstr &quot;Mudar tamanho do terminal em tela alternativa&quot;
628 683 msgid "Right"
629 684 msgstr "Direita"
630 685  
631   -#: ui/window.xml:74 ui/application.xml:134
  686 +#: ui/windows.ui.xml:135 ui/windows.ui.xml:602 ui/linux.ui.xml:135
  687 +#: ui/linux.ui.xml:602
632 688 msgid "Save"
633 689 msgstr "Salvar"
634 690  
... ... @@ -636,11 +692,11 @@ msgstr &quot;Salvar&quot;
636 692 msgid "Save current session preferences to file"
637 693 msgstr "Salvar preferências da sessão para arquivo"
638 694  
639   -#: ui/window.xml:459
  695 +#: ui/windows.ui.xml:987 ui/linux.ui.xml:987
640 696 msgid "Save screen"
641 697 msgstr "Salvar tela"
642 698  
643   -#: ui/window.xml:262
  699 +#: ui/windows.ui.xml:790 ui/linux.ui.xml:790
644 700 msgid "Save selected"
645 701 msgstr "Salvar seleção"
646 702  
... ... @@ -648,27 +704,40 @@ msgstr &quot;Salvar seleção&quot;
648 704 msgid "Save session preferences"
649 705 msgstr "Salvar preferências da sessão"
650 706  
  707 +#: src/objects/os/linux/savedesktopicon.c:113
651 708 #: src/objects/os/windows/savedesktopicon.c:106
652 709 msgid "Save session shortcut"
653 710 msgstr "Salvar atalho para a sessão"
654 711  
  712 +#: src/objects/os/linux/savedesktopicon.c:264
  713 +msgid "Save to session filename"
  714 +msgstr "Salvar para arquivo de sessão"
  715 +
  716 +#: src/objects/os/linux/savedesktopicon.c:236
  717 +msgid "Save to shortcut file"
  718 +msgstr "Salvar para arquivo de atalho"
  719 +
655 720 #: src/objects/os/windows/savedesktopicon.c:184
656 721 msgid "Save to windows shortcut"
657 722 msgstr "Salvar para atalho windows"
658 723  
659   -#: ui/window.xml:528 ui/application.xml:400
  724 +#: ui/windows.ui.xml:416 ui/windows.ui.xml:1056 ui/linux.ui.xml:416
  725 +#: ui/linux.ui.xml:1056
660 726 msgid "Screen size"
661 727 msgstr "Tamanho da tela"
662 728  
663   -#: ui/window.xml:325 ui/application.xml:285
  729 +#: ui/windows.ui.xml:286 ui/windows.ui.xml:853 ui/linux.ui.xml:286
  730 +#: ui/linux.ui.xml:853
664 731 msgid "Select Field"
665 732 msgstr "Selecionar campo"
666 733  
667   -#: ui/window.xml:320 ui/application.xml:280
  734 +#: ui/windows.ui.xml:281 ui/windows.ui.xml:848 ui/linux.ui.xml:281
  735 +#: ui/linux.ui.xml:848
668 736 msgid "Select all"
669 737 msgstr "Selecionar tudo"
670 738  
671   -#: ui/window.xml:232 ui/application.xml:479
  739 +#: ui/windows.ui.xml:495 ui/windows.ui.xml:760 ui/linux.ui.xml:495
  740 +#: ui/linux.ui.xml:760
672 741 msgid "Select by rectangles"
673 742 msgstr "Seleção retangular"
674 743  
... ... @@ -680,8 +749,9 @@ msgstr &quot;Selecione itens da barra de ferramentas&quot;
680 749 msgid "Selected"
681 750 msgstr "Selecionado"
682 751  
683   -#: ui/window.xml:84 ui/window.xml:121 ui/application.xml:144
684   -#: ui/application.xml:181
  752 +#: ui/windows.ui.xml:145 ui/windows.ui.xml:182 ui/windows.ui.xml:612
  753 +#: ui/windows.ui.xml:649 ui/linux.ui.xml:145 ui/linux.ui.xml:182
  754 +#: ui/linux.ui.xml:612 ui/linux.ui.xml:649
685 755 msgid "Selected area"
686 756 msgstr "Área selecionada"
687 757  
... ... @@ -689,8 +759,8 @@ msgstr &quot;Área selecionada&quot;
689 759 msgid "Send/Receive"
690 760 msgstr "Enviar/Receber"
691 761  
692   -#: src/objects/window/actions/filetransfer.c:46 ui/window.xml:469
693   -#: ui/application.xml:195
  762 +#: src/objects/window/actions/filetransfer.c:46 ui/windows.ui.xml:196
  763 +#: ui/windows.ui.xml:997 ui/linux.ui.xml:196 ui/linux.ui.xml:997
694 764 msgid "Send/Receive files"
695 765 msgstr "Enviar/Receber arquivos"
696 766  
... ... @@ -698,44 +768,51 @@ msgstr &quot;Enviar/Receber arquivos&quot;
698 768 msgid "Separator"
699 769 msgstr "Separador"
700 770  
701   -#: ui/window.xml:56 ui/application.xml:47
  771 +#: ui/windows.ui.xml:48 ui/windows.ui.xml:584 ui/linux.ui.xml:48
  772 +#: ui/linux.ui.xml:584
702 773 msgid "Session"
703 774 msgstr "Sessão"
704 775  
705   -#: ui/window.xml:450 ui/window.xml:570 ui/application.xml:76
  776 +#: ui/windows.ui.xml:77 ui/windows.ui.xml:978 ui/windows.ui.xml:1098
  777 +#: ui/linux.ui.xml:77 ui/linux.ui.xml:978 ui/linux.ui.xml:1098
706 778 msgid "Session Trace"
707 779 msgstr "Trace da sessão"
708 780  
709   -#: src/objects/actions/save.c:63 src/objects/os/windows/savedesktopicon.c:94
  781 +#: src/objects/actions/save.c:63 src/objects/os/linux/savedesktopicon.c:85
  782 +#: src/objects/os/windows/savedesktopicon.c:94
710 783 msgid "Session file"
711 784 msgstr "Arquivo de sessão"
712 785  
713   -#: ui/window.xml:66 ui/application.xml:126
  786 +#: ui/windows.ui.xml:127 ui/windows.ui.xml:594 ui/linux.ui.xml:127
  787 +#: ui/linux.ui.xml:594
714 788 msgid "Session in New Tab"
715 789 msgstr "Sessão em nova aba"
716 790  
717   -#: ui/window.xml:61 ui/application.xml:121
  791 +#: ui/windows.ui.xml:122 ui/windows.ui.xml:589 ui/linux.ui.xml:122
  792 +#: ui/linux.ui.xml:589
718 793 msgid "Session in new window"
719 794 msgstr "Sessão em nova janela"
720 795  
721   -#: src/objects/actions/save.c:56 src/objects/os/windows/savedesktopicon.c:86
  796 +#: src/objects/actions/save.c:56 src/objects/os/linux/savedesktopicon.c:77
  797 +#: src/objects/os/windows/savedesktopicon.c:86
722 798 msgid "Session name"
723 799 msgstr "Nome da sessão"
724 800  
725   -#: src/objects/window/actions/sessionproperties.c:46 ui/window.xml:103
726   -#: ui/window.xml:584 ui/application.xml:163
  801 +#: src/objects/window/actions/sessionproperties.c:36 ui/windows.ui.xml:164
  802 +#: ui/windows.ui.xml:631 ui/windows.ui.xml:1112 ui/linux.ui.xml:164
  803 +#: ui/linux.ui.xml:631 ui/linux.ui.xml:1112
727 804 msgid "Session preferences"
728 805 msgstr "Preferências da sessão"
729 806  
730   -#: src/objects/application/application.c:241
  807 +#: src/objects/application/application.c:258
731 808 msgid "Set default log file name"
732 809 msgstr "Define o nome do arquivo de log padrão"
733 810  
734   -#: src/objects/application/application.c:240
  811 +#: src/objects/application/application.c:249
735 812 msgid "Set the user-interface type"
736 813 msgstr "Define o tipo de interface do usuário"
737 814  
738   -#: ui/application.xml:381
  815 +#: ui/windows.ui.xml:382 ui/linux.ui.xml:382
739 816 msgid "Settings"
740 817 msgstr "Configurações"
741 818  
... ... @@ -751,23 +828,29 @@ msgstr &quot;Configurar barra de título&quot;
751 828 msgid "Setup toolbar"
752 829 msgstr "Configurar barra de ferramentas"
753 830  
  831 +#: src/objects/os/linux/savedesktopicon.c:70
754 832 #: src/objects/os/windows/savedesktopicon.c:73
755 833 msgid "Shortcut file"
756 834 msgstr "Arquivo de atalho"
757 835  
758   -#: ui/window.xml:98 ui/application.xml:158
  836 +#: ui/windows.ui.xml:159 ui/windows.ui.xml:626 ui/linux.ui.xml:159
  837 +#: ui/linux.ui.xml:626
759 838 msgid "Shortcut for this session"
760 839 msgstr "Atalho para essa sessão"
761 840  
762   -#: ui/application.xml:494
  841 +#: src/objects/os/linux/savedesktopicon.c:63
  842 +msgid "Shortcut name"
  843 +msgstr "Nome do atalho"
  844 +
  845 +#: ui/windows.ui.xml:510 ui/linux.ui.xml:510
763 846 msgid "Show Underline"
764 847 msgstr "Mostrar sublinhado"
765 848  
766   -#: ui/window.xml:246
  849 +#: ui/windows.ui.xml:774 ui/linux.ui.xml:774
767 850 msgid "Show menu"
768 851 msgstr "Mostrar menu"
769 852  
770   -#: ui/window.xml:241
  853 +#: ui/windows.ui.xml:769 ui/linux.ui.xml:769
771 854 msgid "Show toolbar"
772 855 msgstr "Mostrar barra de ferramentas"
773 856  
... ... @@ -775,10 +858,15 @@ msgstr &quot;Mostrar barra de ferramentas&quot;
775 858 msgid "Small"
776 859 msgstr "Pequeno"
777 860  
778   -#: ui/window.xml:408 ui/application.xml:504
  861 +#: ui/windows.ui.xml:520 ui/windows.ui.xml:936 ui/linux.ui.xml:520
  862 +#: ui/linux.ui.xml:936
779 863 msgid "Smart paste"
780 864 msgstr "Colar inteligente"
781 865  
  866 +#: src/objects/os/linux/savedesktopicon.c:239
  867 +msgid "Standard desktop files"
  868 +msgstr "Arquivo de atalho padrão"
  869 +
782 870 #: src/objects/settings/actionview.c:68
783 871 msgid "Start"
784 872 msgstr "Inicio"
... ... @@ -804,7 +892,7 @@ msgstr &quot;Simbólico&quot;
804 892 msgid "System default"
805 893 msgstr "Padrão do sistema"
806 894  
807   -#: src/objects/settings/gsettings.c:128
  895 +#: src/objects/settings/gsettings.c:133
808 896 msgid "System settings error"
809 897 msgstr "Erro nas configurações de sistema"
810 898  
... ... @@ -816,11 +904,16 @@ msgstr &quot;Arquivos de sessão TN3270&quot;
816 904 msgid "TN3270 Session description"
817 905 msgstr "Descrição de sessão TN3270"
818 906  
819   -#: ui/window.xml:45 ui/application.xml:110
  907 +#: ui/windows.ui.xml:111 ui/windows.ui.xml:573 ui/linux.ui.xml:111
  908 +#: ui/linux.ui.xml:573
820 909 msgid "Tab with default session"
821 910 msgstr "Aba com a sessão padrão"
822 911  
823   -#: ui/application.xml:426
  912 +#: ui/windows.ui.xml:405 ui/linux.ui.xml:405
  913 +msgid "Terminal colors"
  914 +msgstr "Cores do terminal"
  915 +
  916 +#: ui/windows.ui.xml:442 ui/linux.ui.xml:442
824 917 msgid "Terminal font"
825 918 msgstr "Fonte do terminal"
826 919  
... ... @@ -840,7 +933,7 @@ msgstr &quot;A etiqueta da ação&quot;
840 933 msgid "The action tooltip"
841 934 msgstr "A dica da ação"
842 935  
843   -#: src/objects/application/application.c:170
  936 +#: src/objects/application/application.c:165
844 937 msgid "The code of the User interface type"
845 938 msgstr "Código identificando o tipo de interface do usuário"
846 939  
... ... @@ -848,10 +941,15 @@ msgstr &quot;Código identificando o tipo de interface do usuário&quot;
848 941 msgid "The file to save the current session preferences"
849 942 msgstr "O arquivo com as preferências da sessão atual"
850 943  
  944 +#: src/objects/os/linux/savedesktopicon.c:86
851 945 #: src/objects/os/windows/savedesktopicon.c:95
852 946 msgid "The file with the session preferences for this shortcut"
853 947 msgstr "O arquivo com as preferências da sessão para esse atalho"
854 948  
  949 +#: src/objects/application/application.c:180
  950 +msgid "The full path of the default log file"
  951 +msgstr "Caminho completo do arquivo default"
  952 +
855 953 #: src/objects/actions/abstract.c:110
856 954 msgid "The label for the action"
857 955 msgstr "A etiqueta da ação"
... ... @@ -860,7 +958,7 @@ msgstr &quot;A etiqueta da ação&quot;
860 958 msgid "The name of associated action"
861 959 msgstr "Nome da ação associada"
862 960  
863   -#: src/objects/window/window.c:244
  961 +#: src/objects/window/window.c:234
864 962 msgid "The name of the actions in the header bar"
865 963 msgstr "O nome das ações na barra de título"
866 964  
... ... @@ -888,7 +986,8 @@ msgstr &quot;O nome usado para ativar a ação&quot;
888 986 msgid "The position of the keypad"
889 987 msgstr "A posição do painel"
890 988  
891   -#: src/objects/actions/save.c:57 src/objects/os/windows/savedesktopicon.c:88
  989 +#: src/objects/actions/save.c:57 src/objects/os/linux/savedesktopicon.c:79
  990 +#: src/objects/os/windows/savedesktopicon.c:88
892 991 msgid "The session name used in the window/tab title (empty for default)"
893 992 msgstr ""
894 993 "O nome da sessão usada no título da janela/aba. Vazio para usar o valor "
... ... @@ -930,8 +1029,9 @@ msgstr &quot;Barra de título&quot;
930 1029 msgid "Title bar actions"
931 1030 msgstr "Ações da barra de título"
932 1031  
933   -#: src/objects/toolbar/settings.c:94 ui/window.xml:440 ui/window.xml:560
934   -#: ui/application.xml:342
  1032 +#: src/objects/toolbar/settings.c:94 ui/windows.ui.xml:343
  1033 +#: ui/windows.ui.xml:968 ui/windows.ui.xml:1088 ui/linux.ui.xml:343
  1034 +#: ui/linux.ui.xml:968 ui/linux.ui.xml:1088
935 1035 msgid "Toolbar"
936 1036 msgstr "Barra de ferramentas"
937 1037  
... ... @@ -951,23 +1051,24 @@ msgstr &quot;Est_ilo da barra de ferramentas&quot;
951 1051 msgid "Top (system default)"
952 1052 msgstr "Em cima (padrão do sistema)"
953 1053  
954   -#: ui/window.xml:445
  1054 +#: ui/windows.ui.xml:973 ui/linux.ui.xml:973
955 1055 msgid "Top menu"
956 1056 msgstr "Menu principal"
957 1057  
958   -#: ui/application.xml:337
  1058 +#: ui/windows.ui.xml:338 ui/linux.ui.xml:338
959 1059 msgid "Trace"
960 1060 msgstr "Trace"
961 1061  
962   -#: ui/window.xml:499 ui/application.xml:449
  1062 +#: ui/windows.ui.xml:465 ui/windows.ui.xml:1027 ui/linux.ui.xml:465
  1063 +#: ui/linux.ui.xml:1027
963 1064 msgid "Track Cursor"
964 1065 msgstr "Mostrar posição do cursor"
965 1066  
966   -#: src/objects/application/application.c:169
  1067 +#: src/objects/application/application.c:164
967 1068 msgid "UI Type"
968 1069 msgstr "Interface de usuário"
969 1070  
970   -#: src/objects/settings/gsettings.c:126
  1071 +#: src/objects/settings/gsettings.c:131
971 1072 msgid ""
972 1073 "Unable to initialize system settings. Application may crash in unexpected "
973 1074 "ways"
... ... @@ -980,7 +1081,8 @@ msgstr &quot;&quot;
980 1081 msgid "Unable to load session preferences from '%s'"
981 1082 msgstr "Incapaz de ler preferências de sessa de '%s'"
982 1083  
983   -#: ui/window.xml:272 ui/application.xml:290
  1084 +#: ui/windows.ui.xml:291 ui/windows.ui.xml:800 ui/linux.ui.xml:291
  1085 +#: ui/linux.ui.xml:800
984 1086 msgid "Unselect"
985 1087 msgstr "Remover seleção"
986 1088  
... ... @@ -989,7 +1091,8 @@ msgstr &quot;Remover seleção&quot;
989 1091 msgid "Unstable version %s-%s"
990 1092 msgstr "Versão instável %s-%s"
991 1093  
992   -#: ui/window.xml:379 ui/application.xml:514
  1094 +#: ui/windows.ui.xml:530 ui/windows.ui.xml:907 ui/linux.ui.xml:530
  1095 +#: ui/linux.ui.xml:907
993 1096 msgid "Use +/- for field navigation"
994 1097 msgstr "Usar teclas +/- para navegar por campos"
995 1098  
... ... @@ -998,8 +1101,9 @@ msgstr &quot;Usar teclas +/- para navegar por campos&quot;
998 1101 msgid "Version %s-%s"
999 1102 msgstr "Versão %s-%s"
1000 1103  
1001   -#: src/objects/window/header.c:66 ui/window.xml:437 ui/window.xml:557
1002   -#: ui/application.xml:63
  1104 +#: src/objects/window/header.c:63 ui/windows.ui.xml:64 ui/windows.ui.xml:965
  1105 +#: ui/windows.ui.xml:1085 ui/linux.ui.xml:64 ui/linux.ui.xml:965
  1106 +#: ui/linux.ui.xml:1085
1003 1107 msgid "View"
1004 1108 msgstr "Exibir"
1005 1109  
... ... @@ -1007,7 +1111,8 @@ msgstr &quot;Exibir&quot;
1007 1111 msgid "View this project on github"
1008 1112 msgstr "Portal do Software Público Brasileiro"
1009 1113  
1010   -#: ui/window.xml:40 ui/application.xml:105
  1114 +#: ui/windows.ui.xml:106 ui/windows.ui.xml:568 ui/linux.ui.xml:106
  1115 +#: ui/linux.ui.xml:568
1011 1116 msgid "Window with default session"
1012 1117 msgstr "Janela com sessão padrão"
1013 1118  
... ... @@ -1020,6 +1125,7 @@ msgid &quot;_Apply&quot;
1020 1125 msgstr "_Aplicar"
1021 1126  
1022 1127 #: src/objects/actions/save.c:102 src/objects/settings/dialog.c:78
  1128 +#: src/objects/os/linux/savedesktopicon.c:174
1023 1129 #: src/objects/os/windows/savedesktopicon.c:132
1024 1130 msgid "_Cancel"
1025 1131 msgstr "_Cancelar"
... ... @@ -1028,31 +1134,35 @@ msgstr &quot;_Cancelar&quot;
1028 1134 msgid "_Close session"
1029 1135 msgstr "_Fechar sessão"
1030 1136  
1031   -#: ui/window.xml:579 ui/application.xml:368
  1137 +#: ui/windows.ui.xml:369 ui/windows.ui.xml:1107 ui/linux.ui.xml:369
  1138 +#: ui/linux.ui.xml:1107
1032 1139 msgid "_Connect"
1033 1140 msgstr "_Conectar"
1034 1141  
1035   -#: ui/application.xml:373
  1142 +#: ui/windows.ui.xml:374 ui/linux.ui.xml:374
1036 1143 msgid "_Disconnect"
1037 1144 msgstr "_Desconectar"
1038 1145  
1039   -#: ui/window.xml:153 ui/window.xml:296 ui/application.xml:231
  1146 +#: ui/windows.ui.xml:232 ui/windows.ui.xml:681 ui/windows.ui.xml:824
  1147 +#: ui/linux.ui.xml:232 ui/linux.ui.xml:681 ui/linux.ui.xml:824
1040 1148 msgid "_Edit"
1041 1149 msgstr "_Editar"
1042 1150  
1043   -#: ui/application.xml:98
  1151 +#: ui/windows.ui.xml:99 ui/linux.ui.xml:99
1044 1152 msgid "_File"
1045 1153 msgstr "_Arquivo"
1046 1154  
1047   -#: ui/application.xml:360
  1155 +#: ui/windows.ui.xml:361 ui/linux.ui.xml:361
1048 1156 msgid "_Network"
1049 1157 msgstr "_Rede"
1050 1158  
1051   -#: ui/window.xml:37 ui/application.xml:102
  1159 +#: ui/windows.ui.xml:103 ui/windows.ui.xml:565 ui/linux.ui.xml:103
  1160 +#: ui/linux.ui.xml:565
1052 1161 msgid "_New"
1053 1162 msgstr "_Nova"
1054 1163  
1055   -#: ui/window.xml:53 ui/application.xml:118
  1164 +#: ui/windows.ui.xml:119 ui/windows.ui.xml:581 ui/linux.ui.xml:119
  1165 +#: ui/linux.ui.xml:581
1056 1166 msgid "_Open"
1057 1167 msgstr "_Abrir"
1058 1168  
... ... @@ -1064,11 +1174,12 @@ msgstr &quot;_Preferências&quot;
1064 1174 msgid "_Rename session"
1065 1175 msgstr "Renomear sessão"
1066 1176  
1067   -#: src/objects/actions/save.c:103 src/objects/os/windows/savedesktopicon.c:133
  1177 +#: src/objects/actions/save.c:103 src/objects/os/linux/savedesktopicon.c:175
  1178 +#: src/objects/os/windows/savedesktopicon.c:133
1068 1179 msgid "_Save"
1069 1180 msgstr "_Salvar"
1070 1181  
1071   -#: ui/application.xml:334
  1182 +#: ui/windows.ui.xml:335 ui/linux.ui.xml:335
1072 1183 msgid "_View"
1073 1184 msgstr "_Exibir"
1074 1185  
... ... @@ -1723,6 +1834,9 @@ msgstr &quot;translator-credits&quot;
1723 1834 #~ msgid "Color setup"
1724 1835 #~ msgstr "Configuração de cores"
1725 1836  
  1837 +#~ msgid "Colors"
  1838 +#~ msgstr "Cores"
  1839 +
1726 1840 #~ msgid "Comma-separated values (CSV)"
1727 1841 #~ msgstr "Arquivo separado por vírgulas (CSV)"
1728 1842  
... ... @@ -1732,9 +1846,6 @@ msgstr &quot;translator-credits&quot;
1732 1846 #~ msgid "Command to execute"
1733 1847 #~ msgstr "Comando a executar"
1734 1848  
1735   -#~ msgid "Comment"
1736   -#~ msgstr "Comentário"
1737   -
1738 1849 #~ msgid "Complete"
1739 1850 #~ msgstr "Completo"
1740 1851  
... ... @@ -2054,9 +2165,6 @@ msgstr &quot;translator-credits&quot;
2054 2165 #~ msgid "From"
2055 2166 #~ msgstr "De"
2056 2167  
2057   -#~ msgid "Full path of local file"
2058   -#~ msgstr "Caminho completo do arquivo local"
2059   -
2060 2168 #~ msgid "Full path of remote file"
2061 2169 #~ msgstr "Caminho completo do arquivo remoto"
2062 2170  
... ... @@ -2066,9 +2174,6 @@ msgstr &quot;translator-credits&quot;
2066 2174 #~ msgid "GTK Version mismatch"
2067 2175 #~ msgstr "Divergência de versão GTK"
2068 2176  
2069   -#~ msgid "Generic name"
2070   -#~ msgstr "Nome genérico"
2071   -
2072 2177 #~ msgid "Get transfer queue from an external XML file"
2073 2178 #~ msgstr "Obtém a fila de transferência de um arquivo XML externo"
2074 2179  
... ... @@ -2136,6 +2241,9 @@ msgstr &quot;translator-credits&quot;
2136 2241 #~ msgstr ""
2137 2242 #~ "Erro código xxxxxxxxxx no aplicativo do host: Transferência cancelada"
2138 2243  
  2244 +#~ msgid "Host properties"
  2245 +#~ msgstr "Propriedades do Servidor"
  2246 +
2139 2247 #~ msgid "Host rejected device type or request type"
2140 2248 #~ msgstr "Servidor rejeitou o tipo de dispositivo ou requisição"
2141 2249  
... ... @@ -2366,9 +2474,6 @@ msgstr &quot;translator-credits&quot;
2366 2474 #~ msgid "Keyboard is locked"
2367 2475 #~ msgstr "Teclado está bloqueado"
2368 2476  
2369   -#~ msgid "Keyboard lock status"
2370   -#~ msgstr "Estado de bloqueio do teclado"
2371   -
2372 2477 #~ msgid "LRECL:"
2373 2478 #~ msgstr "LRECL:"
2374 2479  
... ... @@ -2424,9 +2529,6 @@ msgstr &quot;translator-credits&quot;
2424 2529 #~ msgid "Model %d (%s)"
2425 2530 #~ msgstr "Modelo %d (%s)"
2426 2531  
2427   -#~ msgid "Model name"
2428   -#~ msgstr "Nome do modelo"
2429   -
2430 2532 #~ msgid "Monochrome"
2431 2533 #~ msgstr "Monocromático"
2432 2534  
... ... @@ -3055,9 +3157,6 @@ msgstr &quot;translator-credits&quot;
3055 3157 #~ msgid "Save terminal contents"
3056 3158 #~ msgstr "Salvar conteúdo da tela"
3057 3159  
3058   -#~ msgid "Save to session filename"
3059   -#~ msgstr "Salvar para arquivo de sessão"
3060   -
3061 3160 #~ msgid "Save trace to file"
3062 3161 #~ msgstr "Salvar trace para arquivo"
3063 3162  
... ... @@ -3201,9 +3300,6 @@ msgstr &quot;translator-credits&quot;
3201 3300 #~ msgid "Set toggles ON"
3202 3301 #~ msgstr "Ativa toggles"
3203 3302  
3204   -#~ msgid "Shortcut name"
3205   -#~ msgstr "Nome do atalho"
3206   -
3207 3303 #~ msgid "Show test pattern"
3208 3304 #~ msgstr "Mostrar padrão de teste"
3209 3305  
... ... @@ -3291,9 +3387,6 @@ msgstr &quot;translator-credits&quot;
3291 3387 #~ msgid "Speed:"
3292 3388 #~ msgstr "Velocidade:"
3293 3389  
3294   -#~ msgid "Standard desktop files"
3295   -#~ msgstr "Arquivo de atalho padrão"
3296   -
3297 3390 #~ msgid "Start download."
3298 3391 #~ msgstr "Iniciar recebimento."
3299 3392  
... ...
locale/pw3270.pot
... ... @@ -6,9 +6,373 @@
6 6 #, fuzzy
7 7 msgid ""
8 8 msgstr ""
  9 +"#-#-#-#-# view.pot (PACKAGE VERSION) #-#-#-#-#\n"
9 10 "Project-Id-Version: PACKAGE VERSION\n"
10 11 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2021-09-01 23:55-0300\n"
  12 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  13 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  14 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  15 +"Language-Team: LANGUAGE <LL@li.org>\n"
  16 +"Language: \n"
  17 +"MIME-Version: 1.0\n"
  18 +"Content-Type: text/plain; charset=UTF-8\n"
  19 +"Content-Transfer-Encoding: 8bit\n"
  20 +"#-#-#-#-# save.pot (PACKAGE VERSION) #-#-#-#-#\n"
  21 +"Project-Id-Version: PACKAGE VERSION\n"
  22 +"Report-Msgid-Bugs-To: \n"
  23 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  24 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  25 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  26 +"Language-Team: LANGUAGE <LL@li.org>\n"
  27 +"Language: \n"
  28 +"MIME-Version: 1.0\n"
  29 +"Content-Type: text/plain; charset=UTF-8\n"
  30 +"Content-Transfer-Encoding: 8bit\n"
  31 +"#-#-#-#-# abstract.pot (PACKAGE VERSION) #-#-#-#-#\n"
  32 +"Project-Id-Version: PACKAGE VERSION\n"
  33 +"Report-Msgid-Bugs-To: \n"
  34 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  35 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  36 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  37 +"Language-Team: LANGUAGE <LL@li.org>\n"
  38 +"Language: \n"
  39 +"MIME-Version: 1.0\n"
  40 +"Content-Type: text/plain; charset=UTF-8\n"
  41 +"Content-Transfer-Encoding: 8bit\n"
  42 +"#-#-#-#-# application.pot (PACKAGE VERSION) #-#-#-#-#\n"
  43 +"Project-Id-Version: PACKAGE VERSION\n"
  44 +"Report-Msgid-Bugs-To: \n"
  45 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  46 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  47 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  48 +"Language-Team: LANGUAGE <LL@li.org>\n"
  49 +"Language: \n"
  50 +"MIME-Version: 1.0\n"
  51 +"Content-Type: text/plain; charset=UTF-8\n"
  52 +"Content-Transfer-Encoding: 8bit\n"
  53 +"#-#-#-#-# window.pot (PACKAGE VERSION) #-#-#-#-#\n"
  54 +"Project-Id-Version: PACKAGE VERSION\n"
  55 +"Report-Msgid-Bugs-To: \n"
  56 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  57 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  58 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  59 +"Language-Team: LANGUAGE <LL@li.org>\n"
  60 +"Language: \n"
  61 +"MIME-Version: 1.0\n"
  62 +"Content-Type: text/plain; charset=UTF-8\n"
  63 +"Content-Transfer-Encoding: 8bit\n"
  64 +"#-#-#-#-# preferences.pot (PACKAGE VERSION) #-#-#-#-#\n"
  65 +"Project-Id-Version: PACKAGE VERSION\n"
  66 +"Report-Msgid-Bugs-To: \n"
  67 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  68 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  69 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  70 +"Language-Team: LANGUAGE <LL@li.org>\n"
  71 +"Language: \n"
  72 +"MIME-Version: 1.0\n"
  73 +"Content-Type: text/plain; charset=UTF-8\n"
  74 +"Content-Transfer-Encoding: 8bit\n"
  75 +"#-#-#-#-# open.pot (PACKAGE VERSION) #-#-#-#-#\n"
  76 +"Project-Id-Version: PACKAGE VERSION\n"
  77 +"Report-Msgid-Bugs-To: \n"
  78 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  79 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  80 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  81 +"Language-Team: LANGUAGE <LL@li.org>\n"
  82 +"Language: \n"
  83 +"MIME-Version: 1.0\n"
  84 +"Content-Type: text/plain; charset=UTF-8\n"
  85 +"Content-Transfer-Encoding: 8bit\n"
  86 +"#-#-#-#-# about.pot (PACKAGE VERSION) #-#-#-#-#\n"
  87 +"Project-Id-Version: PACKAGE VERSION\n"
  88 +"Report-Msgid-Bugs-To: \n"
  89 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  90 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  91 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  92 +"Language-Team: LANGUAGE <LL@li.org>\n"
  93 +"Language: \n"
  94 +"MIME-Version: 1.0\n"
  95 +"Content-Type: text/plain; charset=UTF-8\n"
  96 +"Content-Transfer-Encoding: 8bit\n"
  97 +"#-#-#-#-# window.pot (PACKAGE VERSION) #-#-#-#-#\n"
  98 +"Project-Id-Version: PACKAGE VERSION\n"
  99 +"Report-Msgid-Bugs-To: \n"
  100 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  101 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  102 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  103 +"Language-Team: LANGUAGE <LL@li.org>\n"
  104 +"Language: \n"
  105 +"MIME-Version: 1.0\n"
  106 +"Content-Type: text/plain; charset=UTF-8\n"
  107 +"Content-Transfer-Encoding: 8bit\n"
  108 +"#-#-#-#-# terminal.pot (PACKAGE VERSION) #-#-#-#-#\n"
  109 +"Project-Id-Version: PACKAGE VERSION\n"
  110 +"Report-Msgid-Bugs-To: \n"
  111 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  112 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  113 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  114 +"Language-Team: LANGUAGE <LL@li.org>\n"
  115 +"Language: \n"
  116 +"MIME-Version: 1.0\n"
  117 +"Content-Type: text/plain; charset=UTF-8\n"
  118 +"Content-Transfer-Encoding: 8bit\n"
  119 +"#-#-#-#-# page.pot (PACKAGE VERSION) #-#-#-#-#\n"
  120 +"Project-Id-Version: PACKAGE VERSION\n"
  121 +"Report-Msgid-Bugs-To: \n"
  122 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  123 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  124 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  125 +"Language-Team: LANGUAGE <LL@li.org>\n"
  126 +"Language: \n"
  127 +"MIME-Version: 1.0\n"
  128 +"Content-Type: text/plain; charset=UTF-8\n"
  129 +"Content-Transfer-Encoding: 8bit\n"
  130 +"#-#-#-#-# keyfile.pot (PACKAGE VERSION) #-#-#-#-#\n"
  131 +"Project-Id-Version: PACKAGE VERSION\n"
  132 +"Report-Msgid-Bugs-To: \n"
  133 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  134 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  135 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  136 +"Language-Team: LANGUAGE <LL@li.org>\n"
  137 +"Language: \n"
  138 +"MIME-Version: 1.0\n"
  139 +"Content-Type: text/plain; charset=UTF-8\n"
  140 +"Content-Transfer-Encoding: 8bit\n"
  141 +"#-#-#-#-# header-settings.pot (PACKAGE VERSION) #-#-#-#-#\n"
  142 +"Project-Id-Version: PACKAGE VERSION\n"
  143 +"Report-Msgid-Bugs-To: \n"
  144 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  145 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  146 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  147 +"Language-Team: LANGUAGE <LL@li.org>\n"
  148 +"Language: \n"
  149 +"MIME-Version: 1.0\n"
  150 +"Content-Type: text/plain; charset=UTF-8\n"
  151 +"Content-Transfer-Encoding: 8bit\n"
  152 +"#-#-#-#-# header.pot (PACKAGE VERSION) #-#-#-#-#\n"
  153 +"Project-Id-Version: PACKAGE VERSION\n"
  154 +"Report-Msgid-Bugs-To: \n"
  155 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  156 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  157 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  158 +"Language-Team: LANGUAGE <LL@li.org>\n"
  159 +"Language: \n"
  160 +"MIME-Version: 1.0\n"
  161 +"Content-Type: text/plain; charset=UTF-8\n"
  162 +"Content-Transfer-Encoding: 8bit\n"
  163 +"#-#-#-#-# sessionproperties.pot (PACKAGE VERSION) #-#-#-#-#\n"
  164 +"Project-Id-Version: PACKAGE VERSION\n"
  165 +"Report-Msgid-Bugs-To: \n"
  166 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  167 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  168 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  169 +"Language-Team: LANGUAGE <LL@li.org>\n"
  170 +"Language: \n"
  171 +"MIME-Version: 1.0\n"
  172 +"Content-Type: text/plain; charset=UTF-8\n"
  173 +"Content-Transfer-Encoding: 8bit\n"
  174 +"#-#-#-#-# filetransfer.pot (PACKAGE VERSION) #-#-#-#-#\n"
  175 +"Project-Id-Version: PACKAGE VERSION\n"
  176 +"Report-Msgid-Bugs-To: \n"
  177 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  178 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  179 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  180 +"Language-Team: LANGUAGE <LL@li.org>\n"
  181 +"Language: \n"
  182 +"MIME-Version: 1.0\n"
  183 +"Content-Type: text/plain; charset=UTF-8\n"
  184 +"Content-Transfer-Encoding: 8bit\n"
  185 +"#-#-#-#-# connect.pot (PACKAGE VERSION) #-#-#-#-#\n"
  186 +"Project-Id-Version: PACKAGE VERSION\n"
  187 +"Report-Msgid-Bugs-To: \n"
  188 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  189 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  190 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  191 +"Language-Team: LANGUAGE <LL@li.org>\n"
  192 +"Language: \n"
  193 +"MIME-Version: 1.0\n"
  194 +"Content-Type: text/plain; charset=UTF-8\n"
  195 +"Content-Transfer-Encoding: 8bit\n"
  196 +"#-#-#-#-# close.pot (PACKAGE VERSION) #-#-#-#-#\n"
  197 +"Project-Id-Version: PACKAGE VERSION\n"
  198 +"Report-Msgid-Bugs-To: \n"
  199 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  200 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  201 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  202 +"Language-Team: LANGUAGE <LL@li.org>\n"
  203 +"Language: \n"
  204 +"MIME-Version: 1.0\n"
  205 +"Content-Type: text/plain; charset=UTF-8\n"
  206 +"Content-Transfer-Encoding: 8bit\n"
  207 +"#-#-#-#-# toolbar.pot (PACKAGE VERSION) #-#-#-#-#\n"
  208 +"Project-Id-Version: PACKAGE VERSION\n"
  209 +"Report-Msgid-Bugs-To: \n"
  210 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  211 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  212 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  213 +"Language-Team: LANGUAGE <LL@li.org>\n"
  214 +"Language: \n"
  215 +"MIME-Version: 1.0\n"
  216 +"Content-Type: text/plain; charset=UTF-8\n"
  217 +"Content-Transfer-Encoding: 8bit\n"
  218 +"#-#-#-#-# settings.pot (PACKAGE VERSION) #-#-#-#-#\n"
  219 +"Project-Id-Version: PACKAGE VERSION\n"
  220 +"Report-Msgid-Bugs-To: \n"
  221 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  222 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  223 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  224 +"Language-Team: LANGUAGE <LL@li.org>\n"
  225 +"Language: \n"
  226 +"MIME-Version: 1.0\n"
  227 +"Content-Type: text/plain; charset=UTF-8\n"
  228 +"Content-Transfer-Encoding: 8bit\n"
  229 +"#-#-#-#-# models.pot (PACKAGE VERSION) #-#-#-#-#\n"
  230 +"Project-Id-Version: PACKAGE VERSION\n"
  231 +"Report-Msgid-Bugs-To: \n"
  232 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  233 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  234 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  235 +"Language-Team: LANGUAGE <LL@li.org>\n"
  236 +"Language: \n"
  237 +"MIME-Version: 1.0\n"
  238 +"Content-Type: text/plain; charset=UTF-8\n"
  239 +"Content-Transfer-Encoding: 8bit\n"
  240 +"#-#-#-#-# gsettings.pot (PACKAGE VERSION) #-#-#-#-#\n"
  241 +"Project-Id-Version: PACKAGE VERSION\n"
  242 +"Report-Msgid-Bugs-To: \n"
  243 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  244 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  245 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  246 +"Language-Team: LANGUAGE <LL@li.org>\n"
  247 +"Language: \n"
  248 +"MIME-Version: 1.0\n"
  249 +"Content-Type: text/plain; charset=UTF-8\n"
  250 +"Content-Transfer-Encoding: 8bit\n"
  251 +"#-#-#-#-# dialog.pot (PACKAGE VERSION) #-#-#-#-#\n"
  252 +"Project-Id-Version: PACKAGE VERSION\n"
  253 +"Report-Msgid-Bugs-To: \n"
  254 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  255 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  256 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  257 +"Language-Team: LANGUAGE <LL@li.org>\n"
  258 +"Language: \n"
  259 +"MIME-Version: 1.0\n"
  260 +"Content-Type: text/plain; charset=UTF-8\n"
  261 +"Content-Transfer-Encoding: 8bit\n"
  262 +"#-#-#-#-# actionview.pot (PACKAGE VERSION) #-#-#-#-#\n"
  263 +"Project-Id-Version: PACKAGE VERSION\n"
  264 +"Report-Msgid-Bugs-To: \n"
  265 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  266 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  267 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  268 +"Language-Team: LANGUAGE <LL@li.org>\n"
  269 +"Language: \n"
  270 +"MIME-Version: 1.0\n"
  271 +"Content-Type: text/plain; charset=UTF-8\n"
  272 +"Content-Transfer-Encoding: 8bit\n"
  273 +"#-#-#-#-# tools.pot (PACKAGE VERSION) #-#-#-#-#\n"
  274 +"Project-Id-Version: PACKAGE VERSION\n"
  275 +"Report-Msgid-Bugs-To: \n"
  276 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  277 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  278 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  279 +"Language-Team: LANGUAGE <LL@li.org>\n"
  280 +"Language: \n"
  281 +"MIME-Version: 1.0\n"
  282 +"Content-Type: text/plain; charset=UTF-8\n"
  283 +"Content-Transfer-Encoding: 8bit\n"
  284 +"#-#-#-#-# builder.pot (PACKAGE VERSION) #-#-#-#-#\n"
  285 +"Project-Id-Version: PACKAGE VERSION\n"
  286 +"Report-Msgid-Bugs-To: \n"
  287 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  288 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  289 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  290 +"Language-Team: LANGUAGE <LL@li.org>\n"
  291 +"Language: \n"
  292 +"MIME-Version: 1.0\n"
  293 +"Content-Type: text/plain; charset=UTF-8\n"
  294 +"Content-Transfer-Encoding: 8bit\n"
  295 +"#-#-#-#-# model.pot (PACKAGE VERSION) #-#-#-#-#\n"
  296 +"Project-Id-Version: PACKAGE VERSION\n"
  297 +"Report-Msgid-Bugs-To: \n"
  298 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  299 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  300 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  301 +"Language-Team: LANGUAGE <LL@li.org>\n"
  302 +"Language: \n"
  303 +"MIME-Version: 1.0\n"
  304 +"Content-Type: text/plain; charset=UTF-8\n"
  305 +"Content-Transfer-Encoding: 8bit\n"
  306 +"#-#-#-#-# element.pot (PACKAGE VERSION) #-#-#-#-#\n"
  307 +"Project-Id-Version: PACKAGE VERSION\n"
  308 +"Report-Msgid-Bugs-To: \n"
  309 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  310 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  311 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  312 +"Language-Team: LANGUAGE <LL@li.org>\n"
  313 +"Language: \n"
  314 +"MIME-Version: 1.0\n"
  315 +"Content-Type: text/plain; charset=UTF-8\n"
  316 +"Content-Transfer-Encoding: 8bit\n"
  317 +"#-#-#-#-# attribute.pot (PACKAGE VERSION) #-#-#-#-#\n"
  318 +"Project-Id-Version: PACKAGE VERSION\n"
  319 +"Report-Msgid-Bugs-To: \n"
  320 +"POT-Creation-Date: 2021-12-23 01:54-0300\n"
  321 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  322 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  323 +"Language-Team: LANGUAGE <LL@li.org>\n"
  324 +"Language: \n"
  325 +"MIME-Version: 1.0\n"
  326 +"Content-Type: text/plain; charset=UTF-8\n"
  327 +"Content-Transfer-Encoding: 8bit\n"
  328 +"#-#-#-#-# savedesktopicon.pot (PACKAGE VERSION) #-#-#-#-#\n"
  329 +"Project-Id-Version: PACKAGE VERSION\n"
  330 +"Report-Msgid-Bugs-To: \n"
  331 +"POT-Creation-Date: 2021-12-23 01:55-0300\n"
  332 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  333 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  334 +"Language-Team: LANGUAGE <LL@li.org>\n"
  335 +"Language: \n"
  336 +"MIME-Version: 1.0\n"
  337 +"Content-Type: text/plain; charset=UTF-8\n"
  338 +"Content-Transfer-Encoding: 8bit\n"
  339 +"#-#-#-#-# savedesktopicon.pot (PACKAGE VERSION) #-#-#-#-#\n"
  340 +"Project-Id-Version: PACKAGE VERSION\n"
  341 +"Report-Msgid-Bugs-To: \n"
  342 +"POT-Creation-Date: 2021-12-23 01:56-0300\n"
  343 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  344 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  345 +"Language-Team: LANGUAGE <LL@li.org>\n"
  346 +"Language: \n"
  347 +"MIME-Version: 1.0\n"
  348 +"Content-Type: text/plain; charset=UTF-8\n"
  349 +"Content-Transfer-Encoding: 8bit\n"
  350 +"#-#-#-#-# open.pot (PACKAGE VERSION) #-#-#-#-#\n"
  351 +"Project-Id-Version: PACKAGE VERSION\n"
  352 +"Report-Msgid-Bugs-To: \n"
  353 +"POT-Creation-Date: 2021-12-23 01:56-0300\n"
  354 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  355 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  356 +"Language-Team: LANGUAGE <LL@li.org>\n"
  357 +"Language: \n"
  358 +"MIME-Version: 1.0\n"
  359 +"Content-Type: text/plain; charset=UTF-8\n"
  360 +"Content-Transfer-Encoding: 8bit\n"
  361 +"#-#-#-#-# windows.ui.pot (PACKAGE VERSION) #-#-#-#-#\n"
  362 +"Project-Id-Version: PACKAGE VERSION\n"
  363 +"Report-Msgid-Bugs-To: \n"
  364 +"POT-Creation-Date: 2021-12-23 01:56-0300\n"
  365 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  366 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  367 +"Language-Team: LANGUAGE <LL@li.org>\n"
  368 +"Language: \n"
  369 +"MIME-Version: 1.0\n"
  370 +"Content-Type: text/plain; charset=UTF-8\n"
  371 +"Content-Transfer-Encoding: 8bit\n"
  372 +"#-#-#-#-# linux.ui.pot (PACKAGE VERSION) #-#-#-#-#\n"
  373 +"Project-Id-Version: PACKAGE VERSION\n"
  374 +"Report-Msgid-Bugs-To: \n"
  375 +"POT-Creation-Date: 2021-12-23 01:56-0300\n"
12 376 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 377 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 378 "Language-Team: LANGUAGE <LL@li.org>\n"
... ... @@ -17,7 +381,7 @@ msgstr &quot;&quot;
17 381 "Content-Type: text/plain; charset=UTF-8\n"
18 382 "Content-Transfer-Encoding: 8bit\n"
19 383  
20   -#: src/objects/application/application.c:222
  384 +#: src/objects/application/application.c:225
21 385 #, c-format
22 386 msgid "\"%s\" is not a valid user interface name"
23 387 msgstr ""
... ... @@ -35,7 +399,8 @@ msgstr &quot;&quot;
35 399 msgid "32 bits Windows"
36 400 msgstr ""
37 401  
38   -#: src/objects/actions/save.c:166 src/objects/os/windows/savedesktopicon.c:222
  402 +#: src/objects/actions/save.c:166 src/objects/os/linux/savedesktopicon.c:267
  403 +#: src/objects/os/windows/savedesktopicon.c:222
39 404 msgid "3270 session files"
40 405 msgstr ""
41 406  
... ... @@ -52,8 +417,8 @@ msgid &quot;&quot;
52 417 "<small><b>The toolbar position only takes effect after restart</b></small>"
53 418 msgstr ""
54 419  
55   -#: src/objects/application/actions/about.c:209 ui/application.xml:39
56   -#: ui/application.xml:537
  420 +#: src/objects/application/actions/about.c:209 ui/windows.ui.xml:40
  421 +#: ui/windows.ui.xml:553 ui/linux.ui.xml:40 ui/linux.ui.xml:553
57 422 msgid "About PW3270"
58 423 msgstr ""
59 424  
... ... @@ -61,11 +426,12 @@ msgstr &quot;&quot;
61 426 msgid "Action Name"
62 427 msgstr ""
63 428  
64   -#: src/objects/window/window.c:243
  429 +#: src/objects/window/window.c:233
65 430 msgid "Action Names"
66 431 msgstr ""
67 432  
68   -#: ui/window.xml:389 ui/window.xml:504 ui/application.xml:509
  433 +#: ui/windows.ui.xml:525 ui/windows.ui.xml:917 ui/windows.ui.xml:1032
  434 +#: ui/linux.ui.xml:525 ui/linux.ui.xml:917 ui/linux.ui.xml:1032
69 435 msgid "Alert sound"
70 436 msgstr ""
71 437  
... ... @@ -73,7 +439,8 @@ msgstr &quot;&quot;
73 439 msgid "All files"
74 440 msgstr ""
75 441  
76   -#: ui/window.xml:183 ui/application.xml:251
  442 +#: ui/windows.ui.xml:252 ui/windows.ui.xml:691 ui/linux.ui.xml:252
  443 +#: ui/linux.ui.xml:691
77 444 msgid "Append to copy"
78 445 msgstr ""
79 446  
... ... @@ -81,7 +448,8 @@ msgstr &quot;&quot;
81 448 msgid "Apple version"
82 449 msgstr ""
83 450  
84   -#: ui/window.xml:137 ui/application.xml:389
  451 +#: ui/windows.ui.xml:385 ui/windows.ui.xml:665 ui/linux.ui.xml:385
  452 +#: ui/linux.ui.xml:665
85 453 msgid "Application"
86 454 msgstr ""
87 455  
... ... @@ -89,7 +457,8 @@ msgstr &quot;&quot;
89 457 msgid "Application menu"
90 458 msgstr ""
91 459  
92   -#: src/objects/application/actions/preferences.c:76 ui/application.xml:83
  460 +#: src/objects/application/actions/preferences.c:76 ui/windows.ui.xml:84
  461 +#: ui/linux.ui.xml:84
93 462 msgid "Application preferences"
94 463 msgstr ""
95 464  
... ... @@ -97,7 +466,7 @@ msgstr &quot;&quot;
97 466 msgid "Apply"
98 467 msgstr ""
99 468  
100   -#: ui/application.xml:484
  469 +#: ui/windows.ui.xml:500 ui/linux.ui.xml:500
101 470 msgid "Auto-Reconnect"
102 471 msgstr ""
103 472  
... ... @@ -109,15 +478,16 @@ msgstr &quot;&quot;
109 478 msgid "Based on X3270 from"
110 479 msgstr ""
111 480  
112   -#: ui/window.xml:418 ui/application.xml:474
  481 +#: ui/windows.ui.xml:490 ui/windows.ui.xml:946 ui/linux.ui.xml:490
  482 +#: ui/linux.ui.xml:946
113 483 msgid "Blank Fill"
114 484 msgstr ""
115 485  
116   -#: ui/application.xml:439
  486 +#: ui/windows.ui.xml:455 ui/linux.ui.xml:455
117 487 msgid "Blinking Cursor"
118 488 msgstr ""
119 489  
120   -#: ui/application.xml:489
  490 +#: ui/windows.ui.xml:505 ui/linux.ui.xml:505
121 491 msgid "Bold"
122 492 msgstr ""
123 493  
... ... @@ -125,8 +495,8 @@ msgstr &quot;&quot;
125 495 msgid "Bottom"
126 496 msgstr ""
127 497  
128   -#: src/objects/application/actions/open.c:104 src/objects/window/terminal.c:142
129   -#: src/objects/window/terminal.c:196
  498 +#: src/objects/application/actions/open.c:104 src/objects/window/terminal.c:143
  499 +#: src/objects/window/terminal.c:197
130 500 msgid "Can't load session file"
131 501 msgstr ""
132 502  
... ... @@ -134,16 +504,16 @@ msgstr &quot;&quot;
134 504 msgid "Can't load session preferences"
135 505 msgstr ""
136 506  
137   -#: src/objects/settings/gsettings.c:123
  507 +#: src/objects/settings/gsettings.c:128
138 508 msgid "Can't load system settings"
139 509 msgstr ""
140 510  
141   -#: src/objects/application/actions/open.c:99 src/objects/window/terminal.c:191
  511 +#: src/objects/application/actions/open.c:99 src/objects/window/terminal.c:192
142 512 #, c-format
143 513 msgid "Can't use \"%s\""
144 514 msgstr ""
145 515  
146   -#: src/objects/window/terminal.c:137
  516 +#: src/objects/window/terminal.c:138
147 517 msgid "Can't use default session file"
148 518 msgstr ""
149 519  
... ... @@ -151,10 +521,6 @@ msgstr &quot;&quot;
151 521 msgid "Cancel"
152 522 msgstr ""
153 523  
154   -#: src/objects/window/actions/setcolors.c:46
155   -msgid "Change terminal colors"
156   -msgstr ""
157   -
158 524 #: src/objects/application/actions/preferences.c:78
159 525 msgid "Change the application preferences"
160 526 msgstr ""
... ... @@ -163,16 +529,22 @@ msgstr &quot;&quot;
163 529 msgid "Change the position of the title bar icons"
164 530 msgstr ""
165 531  
166   -#: src/objects/window/actions/sessionproperties.c:47
  532 +#: src/objects/window/actions/sessionproperties.c:37
167 533 msgid "Change the preferences for the active session"
168 534 msgstr ""
169 535  
170   -#: ui/window.xml:197 ui/window.xml:339 ui/application.xml:304
  536 +#: ui/windows.ui.xml:305 ui/windows.ui.xml:725 ui/windows.ui.xml:867
  537 +#: ui/linux.ui.xml:305 ui/linux.ui.xml:725 ui/linux.ui.xml:867
171 538 msgid "Clear"
172 539 msgstr ""
173 540  
174   -#: ui/window.xml:89 ui/window.xml:126 ui/application.xml:149
175   -#: ui/application.xml:186
  541 +#: ui/windows.ui.xml:400 ui/linux.ui.xml:400
  542 +msgid "Clipboard"
  543 +msgstr ""
  544 +
  545 +#: ui/windows.ui.xml:150 ui/windows.ui.xml:187 ui/windows.ui.xml:617
  546 +#: ui/windows.ui.xml:654 ui/linux.ui.xml:150 ui/linux.ui.xml:187
  547 +#: ui/linux.ui.xml:617 ui/linux.ui.xml:654
176 548 msgid "Clipboard contents"
177 549 msgstr ""
178 550  
... ... @@ -184,20 +556,22 @@ msgstr &quot;&quot;
184 556 msgid "Close the window"
185 557 msgstr ""
186 558  
187   -#: src/objects/window/actions/close.c:60 ui/window.xml:285 ui/window.xml:483
188   -#: ui/window.xml:590 ui/application.xml:216
  559 +#: src/objects/window/actions/close.c:60 ui/windows.ui.xml:217
  560 +#: ui/windows.ui.xml:813 ui/windows.ui.xml:1011 ui/windows.ui.xml:1118
  561 +#: ui/linux.ui.xml:217 ui/linux.ui.xml:813 ui/linux.ui.xml:1011
  562 +#: ui/linux.ui.xml:1118
189 563 msgid "Close window"
190 564 msgstr ""
191 565  
192   -#: src/objects/window/actions/setcolors.c:45
193   -msgid "Colors"
  566 +#: src/objects/os/linux/savedesktopicon.c:101
  567 +msgid "Comment"
194 568 msgstr ""
195 569  
196 570 #: src/objects/window/actions/connect.c:59
197 571 msgid "Connect"
198 572 msgstr ""
199 573  
200   -#: ui/application.xml:434
  574 +#: ui/windows.ui.xml:450 ui/linux.ui.xml:450
201 575 msgid "Connect on startup"
202 576 msgstr ""
203 577  
... ... @@ -205,7 +579,7 @@ msgstr &quot;&quot;
205 579 msgid "Connect to host"
206 580 msgstr ""
207 581  
208   -#: src/objects/window/window.c:813 src/objects/window/page.c:218
  582 +#: src/objects/window/window.c:802 src/objects/window/page.c:218
209 583 msgid "Connected to host"
210 584 msgstr ""
211 585  
... ... @@ -213,23 +587,26 @@ msgstr &quot;&quot;
213 587 msgid "Contributors"
214 588 msgstr ""
215 589  
216   -#: ui/window.xml:158 ui/application.xml:236
  590 +#: ui/windows.ui.xml:237 ui/windows.ui.xml:686 ui/linux.ui.xml:237
  591 +#: ui/linux.ui.xml:686
217 592 msgid "Copy"
218 593 msgstr ""
219 594  
220   -#: ui/window.xml:173
  595 +#: ui/windows.ui.xml:706 ui/linux.ui.xml:706
221 596 msgid "Copy as HTML"
222 597 msgstr ""
223 598  
224   -#: ui/window.xml:178
  599 +#: ui/windows.ui.xml:711 ui/linux.ui.xml:711
225 600 msgid "Copy as image"
226 601 msgstr ""
227 602  
228   -#: ui/window.xml:168 ui/application.xml:246
  603 +#: ui/windows.ui.xml:247 ui/windows.ui.xml:701 ui/linux.ui.xml:247
  604 +#: ui/linux.ui.xml:701
229 605 msgid "Copy as table"
230 606 msgstr ""
231 607  
232   -#: ui/window.xml:163 ui/application.xml:241
  608 +#: ui/windows.ui.xml:242 ui/windows.ui.xml:696 ui/linux.ui.xml:242
  609 +#: ui/linux.ui.xml:696
233 610 msgid "Copy as text"
234 611 msgstr ""
235 612  
... ... @@ -237,31 +614,37 @@ msgstr &quot;&quot;
237 614 msgid "Copyright © 2008 Banco do Brasil S.A."
238 615 msgstr ""
239 616  
  617 +#: src/objects/os/linux/savedesktopicon.c:114
240 618 #: src/objects/os/windows/savedesktopicon.c:107
241 619 msgid "Create shortcut for the current session"
242 620 msgstr ""
243 621  
244   -#: ui/window.xml:374 ui/application.xml:459
  622 +#: ui/windows.ui.xml:475 ui/windows.ui.xml:902 ui/linux.ui.xml:475
  623 +#: ui/linux.ui.xml:902
245 624 msgid "Cross hair cursor"
246 625 msgstr ""
247 626  
248   -#: ui/window.xml:116 ui/application.xml:176
  627 +#: ui/windows.ui.xml:177 ui/windows.ui.xml:644 ui/linux.ui.xml:177
  628 +#: ui/linux.ui.xml:644
249 629 msgid "Current Screen"
250 630 msgstr ""
251 631  
252   -#: ui/window.xml:79 ui/application.xml:139
  632 +#: ui/windows.ui.xml:140 ui/windows.ui.xml:607 ui/linux.ui.xml:140
  633 +#: ui/linux.ui.xml:607
253 634 msgid "Current screen"
254 635 msgstr ""
255 636  
256   -#: ui/window.xml:142 ui/application.xml:394
  637 +#: ui/windows.ui.xml:670 ui/linux.ui.xml:670
257 638 msgid "Current session"
258 639 msgstr ""
259 640  
260   -#: ui/window.xml:188 ui/application.xml:256
  641 +#: ui/windows.ui.xml:257 ui/windows.ui.xml:716 ui/linux.ui.xml:257
  642 +#: ui/linux.ui.xml:716
261 643 msgid "Cut"
262 644 msgstr ""
263 645  
264   -#: ui/window.xml:207 ui/window.xml:349 ui/application.xml:314
  646 +#: ui/windows.ui.xml:315 ui/windows.ui.xml:735 ui/windows.ui.xml:877
  647 +#: ui/linux.ui.xml:315 ui/linux.ui.xml:735 ui/linux.ui.xml:877
265 648 msgid "Delete Field"
266 649 msgstr ""
267 650  
... ... @@ -269,16 +652,18 @@ msgstr &quot;&quot;
269 652 msgid "Description"
270 653 msgstr ""
271 654  
272   -#: ui/window.xml:280 ui/window.xml:478
  655 +#: ui/windows.ui.xml:808 ui/windows.ui.xml:1006 ui/linux.ui.xml:808
  656 +#: ui/linux.ui.xml:1006
273 657 msgid "Disconnect"
274 658 msgstr ""
275 659  
276   -#: src/objects/window/window.c:813 src/objects/window/window.c:840
  660 +#: src/objects/window/window.c:802 src/objects/window/window.c:829
277 661 #: src/objects/window/page.c:207
278 662 msgid "Disconnected from host"
279 663 msgstr ""
280 664  
281   -#: ui/window.xml:401 ui/window.xml:517 ui/application.xml:524
  665 +#: ui/windows.ui.xml:540 ui/windows.ui.xml:929 ui/windows.ui.xml:1045
  666 +#: ui/linux.ui.xml:540 ui/linux.ui.xml:929 ui/linux.ui.xml:1045
282 667 msgid "Dynamic font spacing"
283 668 msgstr ""
284 669  
... ... @@ -306,15 +691,18 @@ msgstr &quot;&quot;
306 691 msgid "End"
307 692 msgstr ""
308 693  
309   -#: ui/window.xml:202 ui/window.xml:344 ui/application.xml:309
  694 +#: ui/windows.ui.xml:310 ui/windows.ui.xml:730 ui/windows.ui.xml:872
  695 +#: ui/linux.ui.xml:310 ui/linux.ui.xml:730 ui/linux.ui.xml:872
310 696 msgid "Erase input"
311 697 msgstr ""
312 698  
313   -#: ui/window.xml:212 ui/window.xml:354 ui/application.xml:319
  699 +#: ui/windows.ui.xml:320 ui/windows.ui.xml:740 ui/windows.ui.xml:882
  700 +#: ui/linux.ui.xml:320 ui/linux.ui.xml:740 ui/linux.ui.xml:882
314 701 msgid "Erase to end of field"
315 702 msgstr ""
316 703  
317   -#: ui/window.xml:217 ui/window.xml:359 ui/application.xml:324
  704 +#: ui/windows.ui.xml:325 ui/windows.ui.xml:745 ui/windows.ui.xml:887
  705 +#: ui/linux.ui.xml:325 ui/linux.ui.xml:745 ui/linux.ui.xml:887
318 706 msgid "Erase to end of line"
319 707 msgstr ""
320 708  
... ... @@ -322,7 +710,7 @@ msgstr &quot;&quot;
322 710 msgid "Error starting session"
323 711 msgstr ""
324 712  
325   -#: ui/application.xml:352
  713 +#: ui/windows.ui.xml:353 ui/linux.ui.xml:353
326 714 msgid "Field attributes"
327 715 msgstr ""
328 716  
... ... @@ -330,23 +718,30 @@ msgstr &quot;&quot;
330 718 msgid "File for session preferences"
331 719 msgstr ""
332 720  
333   -#: ui/application.xml:454
  721 +#: ui/windows.ui.xml:470 ui/linux.ui.xml:470
334 722 msgid "Full Screen"
335 723 msgstr ""
336 724  
337   -#: ui/window.xml:251 ui/window.xml:427 ui/window.xml:522
  725 +#: ui/windows.ui.xml:779 ui/windows.ui.xml:955 ui/windows.ui.xml:1050
  726 +#: ui/linux.ui.xml:779 ui/linux.ui.xml:955 ui/linux.ui.xml:1050
338 727 msgid "Full screen"
339 728 msgstr ""
340 729  
341   -#: ui/application.xml:36 ui/application.xml:534
  730 +#: src/objects/os/linux/savedesktopicon.c:94
  731 +msgid "Generic name"
  732 +msgstr ""
  733 +
  734 +#: ui/windows.ui.xml:37 ui/windows.ui.xml:550 ui/linux.ui.xml:37
  735 +#: ui/linux.ui.xml:550
342 736 msgid "Help"
343 737 msgstr ""
344 738  
345   -#: src/objects/window/actions/hostproperties.c:45
346   -msgid "Host properties"
  739 +#: ui/windows.ui.xml:390 ui/linux.ui.xml:390
  740 +msgid "Host and Emulation settings"
347 741 msgstr ""
348 742  
349   -#: src/objects/application/actions/about.c:111 src/objects/window/window.c:602
  743 +#: src/objects/application/actions/about.c:111 src/objects/window/window.c:592
  744 +#: src/objects/os/linux/savedesktopicon.c:102
350 745 #: src/objects/os/windows/savedesktopicon.c:269
351 746 msgid "IBM 3270 Terminal emulator"
352 747 msgstr ""
... ... @@ -387,7 +782,7 @@ msgstr &quot;&quot;
387 782 msgid "If the action can be activated"
388 783 msgstr ""
389 784  
390   -#: ui/window.xml:494
  785 +#: ui/windows.ui.xml:1022 ui/linux.ui.xml:1022
391 786 msgid "Insert"
392 787 msgstr ""
393 788  
... ... @@ -407,10 +802,14 @@ msgstr &quot;&quot;
407 802 msgid "Itens"
408 803 msgstr ""
409 804  
410   -#: ui/application.xml:499
  805 +#: ui/windows.ui.xml:515 ui/linux.ui.xml:515
411 806 msgid "Keep selected"
412 807 msgstr ""
413 808  
  809 +#: ui/windows.ui.xml:395 ui/linux.ui.xml:395
  810 +msgid "Keyboard accelerators"
  811 +msgstr ""
  812 +
414 813 #: src/objects/keypad/model.c:103
415 814 msgid "Keypad Label"
416 815 msgstr ""
... ... @@ -427,7 +826,7 @@ msgstr &quot;&quot;
427 826 msgid "Keypad width in columns"
428 827 msgstr ""
429 828  
430   -#: src/main/placeholders.c:113
  829 +#: src/main/builder.c:118
431 830 msgid "Keypads"
432 831 msgstr ""
433 832  
... ... @@ -451,15 +850,19 @@ msgstr &quot;&quot;
451 850 msgid "List of the available and unpacked actions"
452 851 msgstr ""
453 852  
454   -#: ui/application.xml:71
  853 +#: src/objects/application/application.c:179
  854 +msgid "Log name"
  855 +msgstr ""
  856 +
  857 +#: ui/windows.ui.xml:72 ui/linux.ui.xml:72
455 858 msgid "Main Menu"
456 859 msgstr ""
457 860  
458   -#: ui/application.xml:66
  861 +#: ui/windows.ui.xml:67 ui/linux.ui.xml:67
459 862 msgid "Main Toolbar"
460 863 msgstr ""
461 864  
462   -#: ui/window.xml:565
  865 +#: ui/windows.ui.xml:1093 ui/linux.ui.xml:1093
463 866 msgid "Main menu"
464 867 msgstr ""
465 868  
... ... @@ -467,31 +870,36 @@ msgstr &quot;&quot;
467 870 msgid "Maintainers"
468 871 msgstr ""
469 872  
470   -#: ui/application.xml:347
  873 +#: ui/windows.ui.xml:348 ui/linux.ui.xml:348
471 874 msgid "Menu"
472 875 msgstr ""
473 876  
474   -#: ui/window.xml:531 ui/application.xml:403
  877 +#: ui/windows.ui.xml:419 ui/windows.ui.xml:1059 ui/linux.ui.xml:419
  878 +#: ui/linux.ui.xml:1059
475 879 msgid "Model 2 - 80x24"
476 880 msgstr ""
477 881  
478   -#: ui/window.xml:536 ui/application.xml:408
  882 +#: ui/windows.ui.xml:424 ui/windows.ui.xml:1064 ui/linux.ui.xml:424
  883 +#: ui/linux.ui.xml:1064
479 884 msgid "Model 3 - 80x32"
480 885 msgstr ""
481 886  
482   -#: ui/window.xml:541 ui/application.xml:413
  887 +#: ui/windows.ui.xml:429 ui/windows.ui.xml:1069 ui/linux.ui.xml:429
  888 +#: ui/linux.ui.xml:1069
483 889 msgid "Model 4 - 80x43"
484 890 msgstr ""
485 891  
486   -#: ui/window.xml:546 ui/application.xml:418
  892 +#: ui/windows.ui.xml:434 ui/windows.ui.xml:1074 ui/linux.ui.xml:434
  893 +#: ui/linux.ui.xml:1074
487 894 msgid "Model 5 - 132x27"
488 895 msgstr ""
489 896  
490   -#: ui/window.xml:396 ui/application.xml:444
  897 +#: ui/windows.ui.xml:460 ui/windows.ui.xml:924 ui/linux.ui.xml:460
  898 +#: ui/linux.ui.xml:924
491 899 msgid "Monocase"
492 900 msgstr ""
493 901  
494   -#: ui/application.xml:519
  902 +#: ui/windows.ui.xml:535 ui/linux.ui.xml:535
495 903 msgid "Network keep alive"
496 904 msgstr ""
497 905  
... ... @@ -519,11 +927,11 @@ msgstr &quot;&quot;
519 927 msgid "Open Session"
520 928 msgstr ""
521 929  
522   -#: ui/application.xml:55
  930 +#: ui/windows.ui.xml:56 ui/linux.ui.xml:56
523 931 msgid "Open in New Tab"
524 932 msgstr ""
525 933  
526   -#: ui/application.xml:50
  934 +#: ui/windows.ui.xml:51 ui/linux.ui.xml:51
527 935 msgid "Open in New Window"
528 936 msgstr ""
529 937  
... ... @@ -551,7 +959,9 @@ msgstr &quot;&quot;
551 959 msgid "Open session on the active terminal"
552 960 msgstr ""
553 961  
554   -#: ui/window.xml:227 ui/window.xml:369 ui/window.xml:514 ui/application.xml:431
  962 +#: ui/windows.ui.xml:447 ui/windows.ui.xml:755 ui/windows.ui.xml:897
  963 +#: ui/windows.ui.xml:1042 ui/linux.ui.xml:447 ui/linux.ui.xml:755
  964 +#: ui/linux.ui.xml:897 ui/linux.ui.xml:1042
555 965 msgid "Options"
556 966 msgstr ""
557 967  
... ... @@ -559,22 +969,27 @@ msgstr &quot;&quot;
559 969 msgid "Parameter Type"
560 970 msgstr ""
561 971  
562   -#: ui/window.xml:301 ui/application.xml:261
  972 +#: ui/windows.ui.xml:262 ui/windows.ui.xml:829 ui/linux.ui.xml:262
  973 +#: ui/linux.ui.xml:829
563 974 msgid "Paste from clipboard"
564 975 msgstr ""
565 976  
566   -#: ui/window.xml:311 ui/application.xml:271
  977 +#: ui/windows.ui.xml:272 ui/windows.ui.xml:839 ui/linux.ui.xml:272
  978 +#: ui/linux.ui.xml:839
567 979 msgid "Paste from text file"
568 980 msgstr ""
569 981  
570   -#: ui/window.xml:306 ui/application.xml:266
  982 +#: ui/windows.ui.xml:267 ui/windows.ui.xml:834 ui/linux.ui.xml:267
  983 +#: ui/linux.ui.xml:834
571 984 msgid "Paste next"
572 985 msgstr ""
573 986  
574   -#: ui/window.xml:413 ui/application.xml:469
  987 +#: ui/windows.ui.xml:485 ui/windows.ui.xml:941 ui/linux.ui.xml:485
  988 +#: ui/linux.ui.xml:941
575 989 msgid "Paste with left margin"
576 990 msgstr ""
577 991  
  992 +#: src/objects/os/linux/savedesktopicon.c:71
578 993 #: src/objects/os/windows/savedesktopicon.c:74
579 994 msgid "Path for the new shortcut"
580 995 msgstr ""
... ... @@ -583,19 +998,20 @@ msgstr &quot;&quot;
583 998 msgid "Position"
584 999 msgstr ""
585 1000  
586   -#: ui/window.xml:134
  1001 +#: ui/windows.ui.xml:662 ui/linux.ui.xml:662
587 1002 msgid "Preferences"
588 1003 msgstr ""
589 1004  
590   -#: ui/window.xml:113 ui/application.xml:173
  1005 +#: ui/windows.ui.xml:174 ui/windows.ui.xml:641 ui/linux.ui.xml:174
  1006 +#: ui/linux.ui.xml:641
591 1007 msgid "Print"
592 1008 msgstr ""
593 1009  
594   -#: ui/window.xml:464
  1010 +#: ui/windows.ui.xml:992 ui/linux.ui.xml:992
595 1011 msgid "Print screen"
596 1012 msgstr ""
597 1013  
598   -#: ui/window.xml:267
  1014 +#: ui/windows.ui.xml:795 ui/linux.ui.xml:795
599 1015 msgid "Print selected"
600 1016 msgstr ""
601 1017  
... ... @@ -604,7 +1020,8 @@ msgstr &quot;&quot;
604 1020 msgid "Property \"%s\" is invalid for this object"
605 1021 msgstr ""
606 1022  
607   -#: src/objects/application/actions/window.c:64 ui/application.xml:88
  1023 +#: src/objects/application/actions/window.c:64 ui/windows.ui.xml:89
  1024 +#: ui/linux.ui.xml:89
608 1025 msgid "Quit"
609 1026 msgstr ""
610 1027  
... ... @@ -612,11 +1029,13 @@ msgstr &quot;&quot;
612 1029 msgid "Rename Session"
613 1030 msgstr ""
614 1031  
615   -#: ui/window.xml:330 ui/application.xml:295
  1032 +#: ui/windows.ui.xml:296 ui/windows.ui.xml:858 ui/linux.ui.xml:296
  1033 +#: ui/linux.ui.xml:858
616 1034 msgid "Reselect"
617 1035 msgstr ""
618 1036  
619   -#: ui/window.xml:384 ui/application.xml:464
  1037 +#: ui/windows.ui.xml:480 ui/windows.ui.xml:912 ui/linux.ui.xml:480
  1038 +#: ui/linux.ui.xml:912
620 1039 msgid "Resize on alternate screen"
621 1040 msgstr ""
622 1041  
... ... @@ -624,7 +1043,8 @@ msgstr &quot;&quot;
624 1043 msgid "Right"
625 1044 msgstr ""
626 1045  
627   -#: ui/window.xml:74 ui/application.xml:134
  1046 +#: ui/windows.ui.xml:135 ui/windows.ui.xml:602 ui/linux.ui.xml:135
  1047 +#: ui/linux.ui.xml:602
628 1048 msgid "Save"
629 1049 msgstr ""
630 1050  
... ... @@ -632,11 +1052,11 @@ msgstr &quot;&quot;
632 1052 msgid "Save current session preferences to file"
633 1053 msgstr ""
634 1054  
635   -#: ui/window.xml:459
  1055 +#: ui/windows.ui.xml:987 ui/linux.ui.xml:987
636 1056 msgid "Save screen"
637 1057 msgstr ""
638 1058  
639   -#: ui/window.xml:262
  1059 +#: ui/windows.ui.xml:790 ui/linux.ui.xml:790
640 1060 msgid "Save selected"
641 1061 msgstr ""
642 1062  
... ... @@ -644,27 +1064,40 @@ msgstr &quot;&quot;
644 1064 msgid "Save session preferences"
645 1065 msgstr ""
646 1066  
  1067 +#: src/objects/os/linux/savedesktopicon.c:113
647 1068 #: src/objects/os/windows/savedesktopicon.c:106
648 1069 msgid "Save session shortcut"
649 1070 msgstr ""
650 1071  
  1072 +#: src/objects/os/linux/savedesktopicon.c:264
  1073 +msgid "Save to session filename"
  1074 +msgstr ""
  1075 +
  1076 +#: src/objects/os/linux/savedesktopicon.c:236
  1077 +msgid "Save to shortcut file"
  1078 +msgstr ""
  1079 +
651 1080 #: src/objects/os/windows/savedesktopicon.c:184
652 1081 msgid "Save to windows shortcut"
653 1082 msgstr ""
654 1083  
655   -#: ui/window.xml:528 ui/application.xml:400
  1084 +#: ui/windows.ui.xml:416 ui/windows.ui.xml:1056 ui/linux.ui.xml:416
  1085 +#: ui/linux.ui.xml:1056
656 1086 msgid "Screen size"
657 1087 msgstr ""
658 1088  
659   -#: ui/window.xml:325 ui/application.xml:285
  1089 +#: ui/windows.ui.xml:286 ui/windows.ui.xml:853 ui/linux.ui.xml:286
  1090 +#: ui/linux.ui.xml:853
660 1091 msgid "Select Field"
661 1092 msgstr ""
662 1093  
663   -#: ui/window.xml:320 ui/application.xml:280
  1094 +#: ui/windows.ui.xml:281 ui/windows.ui.xml:848 ui/linux.ui.xml:281
  1095 +#: ui/linux.ui.xml:848
664 1096 msgid "Select all"
665 1097 msgstr ""
666 1098  
667   -#: ui/window.xml:232 ui/application.xml:479
  1099 +#: ui/windows.ui.xml:495 ui/windows.ui.xml:760 ui/linux.ui.xml:495
  1100 +#: ui/linux.ui.xml:760
668 1101 msgid "Select by rectangles"
669 1102 msgstr ""
670 1103  
... ... @@ -676,8 +1109,9 @@ msgstr &quot;&quot;
676 1109 msgid "Selected"
677 1110 msgstr ""
678 1111  
679   -#: ui/window.xml:84 ui/window.xml:121 ui/application.xml:144
680   -#: ui/application.xml:181
  1112 +#: ui/windows.ui.xml:145 ui/windows.ui.xml:182 ui/windows.ui.xml:612
  1113 +#: ui/windows.ui.xml:649 ui/linux.ui.xml:145 ui/linux.ui.xml:182
  1114 +#: ui/linux.ui.xml:612 ui/linux.ui.xml:649
681 1115 msgid "Selected area"
682 1116 msgstr ""
683 1117  
... ... @@ -685,8 +1119,8 @@ msgstr &quot;&quot;
685 1119 msgid "Send/Receive"
686 1120 msgstr ""
687 1121  
688   -#: src/objects/window/actions/filetransfer.c:46 ui/window.xml:469
689   -#: ui/application.xml:195
  1122 +#: src/objects/window/actions/filetransfer.c:46 ui/windows.ui.xml:196
  1123 +#: ui/windows.ui.xml:997 ui/linux.ui.xml:196 ui/linux.ui.xml:997
690 1124 msgid "Send/Receive files"
691 1125 msgstr ""
692 1126  
... ... @@ -694,44 +1128,51 @@ msgstr &quot;&quot;
694 1128 msgid "Separator"
695 1129 msgstr ""
696 1130  
697   -#: ui/window.xml:56 ui/application.xml:47
  1131 +#: ui/windows.ui.xml:48 ui/windows.ui.xml:584 ui/linux.ui.xml:48
  1132 +#: ui/linux.ui.xml:584
698 1133 msgid "Session"
699 1134 msgstr ""
700 1135  
701   -#: ui/window.xml:450 ui/window.xml:570 ui/application.xml:76
  1136 +#: ui/windows.ui.xml:77 ui/windows.ui.xml:978 ui/windows.ui.xml:1098
  1137 +#: ui/linux.ui.xml:77 ui/linux.ui.xml:978 ui/linux.ui.xml:1098
702 1138 msgid "Session Trace"
703 1139 msgstr ""
704 1140  
705   -#: src/objects/actions/save.c:63 src/objects/os/windows/savedesktopicon.c:94
  1141 +#: src/objects/actions/save.c:63 src/objects/os/linux/savedesktopicon.c:85
  1142 +#: src/objects/os/windows/savedesktopicon.c:94
706 1143 msgid "Session file"
707 1144 msgstr ""
708 1145  
709   -#: ui/window.xml:66 ui/application.xml:126
  1146 +#: ui/windows.ui.xml:127 ui/windows.ui.xml:594 ui/linux.ui.xml:127
  1147 +#: ui/linux.ui.xml:594
710 1148 msgid "Session in New Tab"
711 1149 msgstr ""
712 1150  
713   -#: ui/window.xml:61 ui/application.xml:121
  1151 +#: ui/windows.ui.xml:122 ui/windows.ui.xml:589 ui/linux.ui.xml:122
  1152 +#: ui/linux.ui.xml:589
714 1153 msgid "Session in new window"
715 1154 msgstr ""
716 1155  
717   -#: src/objects/actions/save.c:56 src/objects/os/windows/savedesktopicon.c:86
  1156 +#: src/objects/actions/save.c:56 src/objects/os/linux/savedesktopicon.c:77
  1157 +#: src/objects/os/windows/savedesktopicon.c:86
718 1158 msgid "Session name"
719 1159 msgstr ""
720 1160  
721   -#: src/objects/window/actions/sessionproperties.c:46 ui/window.xml:103
722   -#: ui/window.xml:584 ui/application.xml:163
  1161 +#: src/objects/window/actions/sessionproperties.c:36 ui/windows.ui.xml:164
  1162 +#: ui/windows.ui.xml:631 ui/windows.ui.xml:1112 ui/linux.ui.xml:164
  1163 +#: ui/linux.ui.xml:631 ui/linux.ui.xml:1112
723 1164 msgid "Session preferences"
724 1165 msgstr ""
725 1166  
726   -#: src/objects/application/application.c:241
  1167 +#: src/objects/application/application.c:258
727 1168 msgid "Set default log file name"
728 1169 msgstr ""
729 1170  
730   -#: src/objects/application/application.c:240
  1171 +#: src/objects/application/application.c:249
731 1172 msgid "Set the user-interface type"
732 1173 msgstr ""
733 1174  
734   -#: ui/application.xml:381
  1175 +#: ui/windows.ui.xml:382 ui/linux.ui.xml:382
735 1176 msgid "Settings"
736 1177 msgstr ""
737 1178  
... ... @@ -747,23 +1188,29 @@ msgstr &quot;&quot;
747 1188 msgid "Setup toolbar"
748 1189 msgstr ""
749 1190  
  1191 +#: src/objects/os/linux/savedesktopicon.c:70
750 1192 #: src/objects/os/windows/savedesktopicon.c:73
751 1193 msgid "Shortcut file"
752 1194 msgstr ""
753 1195  
754   -#: ui/window.xml:98 ui/application.xml:158
  1196 +#: ui/windows.ui.xml:159 ui/windows.ui.xml:626 ui/linux.ui.xml:159
  1197 +#: ui/linux.ui.xml:626
755 1198 msgid "Shortcut for this session"
756 1199 msgstr ""
757 1200  
758   -#: ui/application.xml:494
  1201 +#: src/objects/os/linux/savedesktopicon.c:63
  1202 +msgid "Shortcut name"
  1203 +msgstr ""
  1204 +
  1205 +#: ui/windows.ui.xml:510 ui/linux.ui.xml:510
759 1206 msgid "Show Underline"
760 1207 msgstr ""
761 1208  
762   -#: ui/window.xml:246
  1209 +#: ui/windows.ui.xml:774 ui/linux.ui.xml:774
763 1210 msgid "Show menu"
764 1211 msgstr ""
765 1212  
766   -#: ui/window.xml:241
  1213 +#: ui/windows.ui.xml:769 ui/linux.ui.xml:769
767 1214 msgid "Show toolbar"
768 1215 msgstr ""
769 1216  
... ... @@ -771,10 +1218,15 @@ msgstr &quot;&quot;
771 1218 msgid "Small"
772 1219 msgstr ""
773 1220  
774   -#: ui/window.xml:408 ui/application.xml:504
  1221 +#: ui/windows.ui.xml:520 ui/windows.ui.xml:936 ui/linux.ui.xml:520
  1222 +#: ui/linux.ui.xml:936
775 1223 msgid "Smart paste"
776 1224 msgstr ""
777 1225  
  1226 +#: src/objects/os/linux/savedesktopicon.c:239
  1227 +msgid "Standard desktop files"
  1228 +msgstr ""
  1229 +
778 1230 #: src/objects/settings/actionview.c:68
779 1231 msgid "Start"
780 1232 msgstr ""
... ... @@ -800,7 +1252,7 @@ msgstr &quot;&quot;
800 1252 msgid "System default"
801 1253 msgstr ""
802 1254  
803   -#: src/objects/settings/gsettings.c:128
  1255 +#: src/objects/settings/gsettings.c:133
804 1256 msgid "System settings error"
805 1257 msgstr ""
806 1258  
... ... @@ -812,11 +1264,16 @@ msgstr &quot;&quot;
812 1264 msgid "TN3270 Session description"
813 1265 msgstr ""
814 1266  
815   -#: ui/window.xml:45 ui/application.xml:110
  1267 +#: ui/windows.ui.xml:111 ui/windows.ui.xml:573 ui/linux.ui.xml:111
  1268 +#: ui/linux.ui.xml:573
816 1269 msgid "Tab with default session"
817 1270 msgstr ""
818 1271  
819   -#: ui/application.xml:426
  1272 +#: ui/windows.ui.xml:405 ui/linux.ui.xml:405
  1273 +msgid "Terminal colors"
  1274 +msgstr ""
  1275 +
  1276 +#: ui/windows.ui.xml:442 ui/linux.ui.xml:442
820 1277 msgid "Terminal font"
821 1278 msgstr ""
822 1279  
... ... @@ -836,7 +1293,7 @@ msgstr &quot;&quot;
836 1293 msgid "The action tooltip"
837 1294 msgstr ""
838 1295  
839   -#: src/objects/application/application.c:170
  1296 +#: src/objects/application/application.c:165
840 1297 msgid "The code of the User interface type"
841 1298 msgstr ""
842 1299  
... ... @@ -844,10 +1301,15 @@ msgstr &quot;&quot;
844 1301 msgid "The file to save the current session preferences"
845 1302 msgstr ""
846 1303  
  1304 +#: src/objects/os/linux/savedesktopicon.c:86
847 1305 #: src/objects/os/windows/savedesktopicon.c:95
848 1306 msgid "The file with the session preferences for this shortcut"
849 1307 msgstr ""
850 1308  
  1309 +#: src/objects/application/application.c:180
  1310 +msgid "The full path of the default log file"
  1311 +msgstr ""
  1312 +
851 1313 #: src/objects/actions/abstract.c:110
852 1314 msgid "The label for the action"
853 1315 msgstr ""
... ... @@ -856,7 +1318,7 @@ msgstr &quot;&quot;
856 1318 msgid "The name of associated action"
857 1319 msgstr ""
858 1320  
859   -#: src/objects/window/window.c:244
  1321 +#: src/objects/window/window.c:234
860 1322 msgid "The name of the actions in the header bar"
861 1323 msgstr ""
862 1324  
... ... @@ -884,7 +1346,8 @@ msgstr &quot;&quot;
884 1346 msgid "The position of the keypad"
885 1347 msgstr ""
886 1348  
887   -#: src/objects/actions/save.c:57 src/objects/os/windows/savedesktopicon.c:88
  1349 +#: src/objects/actions/save.c:57 src/objects/os/linux/savedesktopicon.c:79
  1350 +#: src/objects/os/windows/savedesktopicon.c:88
888 1351 msgid "The session name used in the window/tab title (empty for default)"
889 1352 msgstr ""
890 1353  
... ... @@ -924,8 +1387,9 @@ msgstr &quot;&quot;
924 1387 msgid "Title bar actions"
925 1388 msgstr ""
926 1389  
927   -#: src/objects/toolbar/settings.c:94 ui/window.xml:440 ui/window.xml:560
928   -#: ui/application.xml:342
  1390 +#: src/objects/toolbar/settings.c:94 ui/windows.ui.xml:343
  1391 +#: ui/windows.ui.xml:968 ui/windows.ui.xml:1088 ui/linux.ui.xml:343
  1392 +#: ui/linux.ui.xml:968 ui/linux.ui.xml:1088
929 1393 msgid "Toolbar"
930 1394 msgstr ""
931 1395  
... ... @@ -945,23 +1409,24 @@ msgstr &quot;&quot;
945 1409 msgid "Top (system default)"
946 1410 msgstr ""
947 1411  
948   -#: ui/window.xml:445
  1412 +#: ui/windows.ui.xml:973 ui/linux.ui.xml:973
949 1413 msgid "Top menu"
950 1414 msgstr ""
951 1415  
952   -#: ui/application.xml:337
  1416 +#: ui/windows.ui.xml:338 ui/linux.ui.xml:338
953 1417 msgid "Trace"
954 1418 msgstr ""
955 1419  
956   -#: ui/window.xml:499 ui/application.xml:449
  1420 +#: ui/windows.ui.xml:465 ui/windows.ui.xml:1027 ui/linux.ui.xml:465
  1421 +#: ui/linux.ui.xml:1027
957 1422 msgid "Track Cursor"
958 1423 msgstr ""
959 1424  
960   -#: src/objects/application/application.c:169
  1425 +#: src/objects/application/application.c:164
961 1426 msgid "UI Type"
962 1427 msgstr ""
963 1428  
964   -#: src/objects/settings/gsettings.c:126
  1429 +#: src/objects/settings/gsettings.c:131
965 1430 msgid ""
966 1431 "Unable to initialize system settings. Application may crash in unexpected "
967 1432 "ways"
... ... @@ -972,7 +1437,8 @@ msgstr &quot;&quot;
972 1437 msgid "Unable to load session preferences from '%s'"
973 1438 msgstr ""
974 1439  
975   -#: ui/window.xml:272 ui/application.xml:290
  1440 +#: ui/windows.ui.xml:291 ui/windows.ui.xml:800 ui/linux.ui.xml:291
  1441 +#: ui/linux.ui.xml:800
976 1442 msgid "Unselect"
977 1443 msgstr ""
978 1444  
... ... @@ -981,7 +1447,8 @@ msgstr &quot;&quot;
981 1447 msgid "Unstable version %s-%s"
982 1448 msgstr ""
983 1449  
984   -#: ui/window.xml:379 ui/application.xml:514
  1450 +#: ui/windows.ui.xml:530 ui/windows.ui.xml:907 ui/linux.ui.xml:530
  1451 +#: ui/linux.ui.xml:907
985 1452 msgid "Use +/- for field navigation"
986 1453 msgstr ""
987 1454  
... ... @@ -990,8 +1457,9 @@ msgstr &quot;&quot;
990 1457 msgid "Version %s-%s"
991 1458 msgstr ""
992 1459  
993   -#: src/objects/window/header.c:66 ui/window.xml:437 ui/window.xml:557
994   -#: ui/application.xml:63
  1460 +#: src/objects/window/header.c:63 ui/windows.ui.xml:64 ui/windows.ui.xml:965
  1461 +#: ui/windows.ui.xml:1085 ui/linux.ui.xml:64 ui/linux.ui.xml:965
  1462 +#: ui/linux.ui.xml:1085
995 1463 msgid "View"
996 1464 msgstr ""
997 1465  
... ... @@ -999,7 +1467,8 @@ msgstr &quot;&quot;
999 1467 msgid "View this project on github"
1000 1468 msgstr ""
1001 1469  
1002   -#: ui/window.xml:40 ui/application.xml:105
  1470 +#: ui/windows.ui.xml:106 ui/windows.ui.xml:568 ui/linux.ui.xml:106
  1471 +#: ui/linux.ui.xml:568
1003 1472 msgid "Window with default session"
1004 1473 msgstr ""
1005 1474  
... ... @@ -1012,6 +1481,7 @@ msgid &quot;_Apply&quot;
1012 1481 msgstr ""
1013 1482  
1014 1483 #: src/objects/actions/save.c:102 src/objects/settings/dialog.c:78
  1484 +#: src/objects/os/linux/savedesktopicon.c:174
1015 1485 #: src/objects/os/windows/savedesktopicon.c:132
1016 1486 msgid "_Cancel"
1017 1487 msgstr ""
... ... @@ -1020,31 +1490,35 @@ msgstr &quot;&quot;
1020 1490 msgid "_Close session"
1021 1491 msgstr ""
1022 1492  
1023   -#: ui/window.xml:579 ui/application.xml:368
  1493 +#: ui/windows.ui.xml:369 ui/windows.ui.xml:1107 ui/linux.ui.xml:369
  1494 +#: ui/linux.ui.xml:1107
1024 1495 msgid "_Connect"
1025 1496 msgstr ""
1026 1497  
1027   -#: ui/application.xml:373
  1498 +#: ui/windows.ui.xml:374 ui/linux.ui.xml:374
1028 1499 msgid "_Disconnect"
1029 1500 msgstr ""
1030 1501  
1031   -#: ui/window.xml:153 ui/window.xml:296 ui/application.xml:231
  1502 +#: ui/windows.ui.xml:232 ui/windows.ui.xml:681 ui/windows.ui.xml:824
  1503 +#: ui/linux.ui.xml:232 ui/linux.ui.xml:681 ui/linux.ui.xml:824
1032 1504 msgid "_Edit"
1033 1505 msgstr ""
1034 1506  
1035   -#: ui/application.xml:98
  1507 +#: ui/windows.ui.xml:99 ui/linux.ui.xml:99
1036 1508 msgid "_File"
1037 1509 msgstr ""
1038 1510  
1039   -#: ui/application.xml:360
  1511 +#: ui/windows.ui.xml:361 ui/linux.ui.xml:361
1040 1512 msgid "_Network"
1041 1513 msgstr ""
1042 1514  
1043   -#: ui/window.xml:37 ui/application.xml:102
  1515 +#: ui/windows.ui.xml:103 ui/windows.ui.xml:565 ui/linux.ui.xml:103
  1516 +#: ui/linux.ui.xml:565
1044 1517 msgid "_New"
1045 1518 msgstr ""
1046 1519  
1047   -#: ui/window.xml:53 ui/application.xml:118
  1520 +#: ui/windows.ui.xml:119 ui/windows.ui.xml:581 ui/linux.ui.xml:119
  1521 +#: ui/linux.ui.xml:581
1048 1522 msgid "_Open"
1049 1523 msgstr ""
1050 1524  
... ... @@ -1056,11 +1530,12 @@ msgstr &quot;&quot;
1056 1530 msgid "_Rename session"
1057 1531 msgstr ""
1058 1532  
1059   -#: src/objects/actions/save.c:103 src/objects/os/windows/savedesktopicon.c:133
  1533 +#: src/objects/actions/save.c:103 src/objects/os/linux/savedesktopicon.c:175
  1534 +#: src/objects/os/windows/savedesktopicon.c:133
1060 1535 msgid "_Save"
1061 1536 msgstr ""
1062 1537  
1063   -#: ui/application.xml:334
  1538 +#: ui/windows.ui.xml:335 ui/linux.ui.xml:335
1064 1539 msgid "_View"
1065 1540 msgstr ""
1066 1541  
... ...
pw3270.cbp
... ... @@ -54,6 +54,9 @@
54 54 <Unit filename="src/include/pw3270/toolbar.h" />
55 55 <Unit filename="src/include/pw3270/window.h" />
56 56 <Unit filename="src/include/v3270/keyfile.h" />
  57 + <Unit filename="src/main/builder.c">
  58 + <Option compilerVar="CC" />
  59 + </Unit>
57 60 <Unit filename="src/main/main.c">
58 61 <Option compilerVar="CC" />
59 62 </Unit>
... ...
schemas/Makefile.in
  1 +# SPDX-License-Identifier: LGPL-3.0-or-later
1 2 #
2   -# Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   -# aplicativos mainframe. Registro no INPI sob o nome G3270.
  3 +# Copyright (C) 2008 Banco do Brasil S.A.
5 4 #
6   -# Copyright (C) <2008> <Banco do Brasil S.A.>
  5 +# This program is free software: you can redistribute it and/or modify
  6 +# it under the terms of the GNU Lesser General Public License as published
  7 +# by the Free Software Foundation, either version 3 of the License, or
  8 +# (at your option) any later version.
7 9 #
8   -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   -# Free Software Foundation.
  10 +# This program is distributed in the hope that it will be useful,
  11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13 +# GNU General Public License for more details.
11 14 #
12   -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   -# obter mais detalhes.
16   -#
17   -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   -# programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19   -# St, Fifth Floor, Boston, MA 02110-1301 USA
20   -#
21   -# Contatos:
22   -#
23   -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
24   -# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça)
  15 +# You should have received a copy of the GNU Lesser General Public License
  16 +# along with this program. If not, see <https://www.gnu.org/licenses/>.
25 17 #
26 18  
27 19 PRODUCT_NAME=@PRODUCT_NAME@
... ... @@ -31,6 +23,7 @@ PRODUCT_NAME=@PRODUCT_NAME@
31 23 prefix=@prefix@
32 24 exec_prefix=@exec_prefix@
33 25 bindir=@bindir@
  26 +srcdir=@srcdir@
34 27 sbindir=@sbindir@
35 28 libdir=@libdir@
36 29 includedir=@includedir@
... ... @@ -40,35 +33,37 @@ docdir=@docdir@
40 33 sysconfdir=@sysconfdir@
41 34 schemadir=@gsettingsschemadir@
42 35  
43   -BASEDIR=@BASEDIR@
44   -BINDIR=$(BASEDIR)/.bin
  36 +BUILDDIR=@BUILDDIR@
  37 +BINDIR=$(BUILDDIR)/.bin
45 38  
46 39 #---[ Tools ]----------------------------------------------------------------------------
47 40  
48 41 MKDIR=@MKDIR_P@
49 42 INSTALL=@INSTALL@
50 43 INSTALL_DATA=@INSTALL_DATA@
  44 +GLIB_SCHEMA_COMPILER=@GLIB_SCHEMA_COMPILER@
51 45  
52 46 #---[ Install Targets ]------------------------------------------------------------------
53 47  
54 48 all:
55 49 # Compile schemas to check if they're valid
56 50 @$(MKDIR) $(BINDIR)
57   - @glib-compile-schemas \
  51 + @$(GLIB_SCHEMA_COMPILER) \
58 52 --targetdir=$(BINDIR) \
59   - $(BASEDIR)/schemas/@OSNAME@
60   -
  53 + ./@OSNAME@
  54 +
61 55 install: \
62 56 all
63 57  
64 58 @$(MKDIR) $(DESTDIR)/$(schemadir)
65 59 @$(INSTALL_DATA) \
66   - $(BASEDIR)/schemas/@OSNAME@/application.gschema.xml \
  60 + @OSNAME@/application.gschema.xml \
67 61 $(DESTDIR)/$(schemadir)/$(PRODUCT_NAME)-application.gschema.xml
68 62  
69   -
70 63 @$(INSTALL_DATA) \
71   - $(BASEDIR)/schemas/@OSNAME@/window.gschema.xml \
  64 + @OSNAME@/window.gschema.xml \
72 65 $(DESTDIR)/$(schemadir)/$(PRODUCT_NAME)-window.gschema.xml
73 66  
  67 + @$(GLIB_SCHEMA_COMPILER) \
  68 + $(DESTDIR)/$(schemadir)
74 69  
... ...
src/include/pw3270.h
... ... @@ -51,10 +51,6 @@ G_BEGIN_DECLS
51 51 /* not really I18N-related, but also a string marker macro */
52 52 #define I_(string) g_intern_static_string (string)
53 53  
54   -
55   -void pw3270_load_placeholders(GApplication *application, GtkBuilder * builder);
56   -// GtkWidget * pw3270_frame_new(GtkWidget * child, const gchar *title);
57   -
58 54 // Application settings widget
59 55 typedef struct _Pw3270SettingsPage Pw3270SettingsPage;
60 56  
... ...
src/include/pw3270/application.h
... ... @@ -76,7 +76,10 @@ GList * pw3270_application_get_keypad_models(GApplication *app);
76 76  
77 77 void pw3270_application_set_ui_style(GApplication *app, PW3270_UI_STYLE type);
78 78 PW3270_UI_STYLE pw3270_application_get_ui_style(GApplication *app);
  79 +
79 80 void pw3270_application_set_log_filename(GApplication *app, const gchar *filename);
  81 +const gchar * pw3270_application_get_log_filename(GApplication *app);
  82 +
80 83  
81 84 // Plugins
82 85 void pw3270_application_plugin_foreach(GApplication *app, GFunc func, gpointer user_data);
... ... @@ -87,7 +90,7 @@ void pw3270_application_plugin_call(GApplication *app, const gchar *method,
87 90 GSList * pw3270_application_get_plugins(GApplication *app);
88 91  
89 92 // Tools
90   -GtkBuilder * pw3270_application_get_builder(const gchar *name);
  93 +GtkBuilder * pw3270_application_builder_new(GApplication *application);
91 94  
92 95 void gtk_container_remove_all(GtkContainer *container);
93 96  
... ...
src/main/builder.c 0 → 100644
... ... @@ -0,0 +1,128 @@
  1 +/* SPDX-License-Identifier: LGPL-3.0-or-later */
  2 +
  3 +/*
  4 + * Copyright (C) <2008> <Banco do Brasil S.A.>
  5 + *
  6 + * This program is free software: you can redistribute it and/or modify
  7 + * it under the terms of the GNU Lesser General Public License as published
  8 + * by 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 Lesser General Public License
  17 + * along with this program. If not, see <https://www.gnu.org/licenses/>.
  18 + */
  19 +
  20 + #include "private.h"
  21 + #include <pw3270/application.h>
  22 + #include <pw3270/keypad.h>
  23 +
  24 + static GMenu * get_keypad_menu(GApplication *application) {
  25 +
  26 + GList * keypads = pw3270_application_get_keypad_models(application);
  27 +
  28 + if(!keypads)
  29 + return NULL;
  30 +
  31 + GMenu * menu = g_menu_new();
  32 +
  33 + // Create keypad items.
  34 + GList *item;
  35 + for(item = keypads; item; item = g_list_next(item)) {
  36 + GObject * model = G_OBJECT(item->data);
  37 + g_autofree gchar * action_name = g_strconcat("win.keypad.",pw3270_keypad_model_get_name(model),NULL);
  38 + g_menu_append(menu,pw3270_keypad_model_get_label(model),action_name);
  39 + }
  40 +
  41 + return menu;
  42 +
  43 + }
  44 +
  45 + GtkBuilder * pw3270_application_builder_new(GApplication *application) {
  46 +
  47 +#if !defined(DEBUG)
  48 +
  49 + lib3270_autoptr(char) filename = lib3270_build_data_filename(G_STRINGIFY(PRODUCT_NAME) ".ui.xml",NULL);
  50 +
  51 +#elif defined(G_OS_UNIX)
  52 +
  53 + static const char * filename = "ui/linux.ui.xml";
  54 +
  55 +#elif defined(G_OS_WIN32)
  56 +
  57 + static const char * filename = "ui/windows.ui.xml";
  58 +
  59 +
  60 +#else
  61 +
  62 + #error Cant determine platform based UI definition
  63 +
  64 +#endif // DEBUG
  65 +
  66 + GtkBuilder * builder = gtk_builder_new_from_file(filename);
  67 +
  68 + //
  69 + // Load placeholders
  70 + //
  71 +
  72 + GObject * placeholder;
  73 + size_t ix;
  74 +
  75 + //
  76 + // Load fonts
  77 + //
  78 + placeholder = gtk_builder_get_object(builder, "font-select-placeholder");
  79 +
  80 + if(placeholder && G_IS_MENU(placeholder)) {
  81 +
  82 + GMenu * font_menu = G_MENU(placeholder);
  83 +
  84 + gint n_families;
  85 + PangoFontFamily **families;
  86 + pango_context_list_families(gdk_pango_context_get_for_screen(gdk_screen_get_default()),&families, &n_families);
  87 +
  88 + for(ix=0; ix < (size_t) n_families; ix++) {
  89 + if(!pango_font_family_is_monospace(families[ix]))
  90 + continue;
  91 +
  92 + const gchar * family = pango_font_family_get_name(families[ix]);
  93 + g_autofree gchar * detailed_action = g_strconcat("win.font-family::",family,NULL);
  94 + g_menu_append(font_menu,family,detailed_action);
  95 +
  96 + }
  97 +
  98 + }
  99 +
  100 + //
  101 + // View options
  102 + //
  103 + GMenu * keypad_menu = get_keypad_menu(application);
  104 +
  105 + if(keypad_menu) {
  106 +
  107 + static const gchar * placeholders[] = {
  108 + "view-menu-placeholder",
  109 + "view-when-offline-placeholder",
  110 + "view-when-online-placeholder"
  111 + };
  112 +
  113 + for(ix = 0; ix < G_N_ELEMENTS(placeholders); ix++) {
  114 +
  115 + placeholder = gtk_builder_get_object(builder, placeholders[ix]);
  116 +
  117 + if(placeholder && G_IS_MENU(placeholder)) {
  118 + g_menu_append_item(G_MENU(placeholder), g_menu_item_new_submenu(_("Keypads"),G_MENU_MODEL(keypad_menu)));
  119 + }
  120 +
  121 + }
  122 +
  123 + g_object_unref(keypad_menu);
  124 + }
  125 +
  126 + return builder;
  127 + }
  128 +
... ...
src/main/placeholders.c
... ... @@ -41,81 +41,3 @@
41 41  
42 42 /*---[ Implement ]----------------------------------------------------------------------------------*/
43 43  
44   -static GMenu * get_keypad_menu(GApplication *application) {
45   -
46   - GList * keypads = pw3270_application_get_keypad_models(application);
47   -
48   - if(!keypads)
49   - return NULL;
50   -
51   - GMenu * menu = g_menu_new();
52   -
53   - // Create keypad items.
54   - GList *item;
55   - for(item = keypads; item; item = g_list_next(item)) {
56   - GObject * model = G_OBJECT(item->data);
57   - g_autofree gchar * action_name = g_strconcat("win.keypad.",pw3270_keypad_model_get_name(model),NULL);
58   - g_menu_append(menu,pw3270_keypad_model_get_label(model),action_name);
59   - }
60   -
61   - return menu;
62   -
63   -}
64   -
65   -void pw3270_load_placeholders(GApplication *application, GtkBuilder * builder) {
66   -
67   - GObject * placeholder;
68   - size_t ix;
69   -
70   - //
71   - // Load fonts
72   - //
73   - placeholder = gtk_builder_get_object(builder, "font-select-placeholder");
74   -
75   - if(placeholder && G_IS_MENU(placeholder)) {
76   -
77   - GMenu * font_menu = G_MENU(placeholder);
78   -
79   - gint n_families;
80   - PangoFontFamily **families;
81   - pango_context_list_families(gdk_pango_context_get_for_screen(gdk_screen_get_default()),&families, &n_families);
82   -
83   - for(ix=0; ix < (size_t) n_families; ix++) {
84   - if(!pango_font_family_is_monospace(families[ix]))
85   - continue;
86   -
87   - const gchar * family = pango_font_family_get_name(families[ix]);
88   - g_autofree gchar * detailed_action = g_strconcat("win.font-family::",family,NULL);
89   - g_menu_append(font_menu,family,detailed_action);
90   -
91   - }
92   -
93   - }
94   -
95   - //
96   - // View options
97   - //
98   - GMenu * keypad_menu = get_keypad_menu(application);
99   -
100   - if(keypad_menu) {
101   -
102   - static const gchar * placeholders[] = {
103   - "view-menu-placeholder",
104   - "view-when-offline-placeholder",
105   - "view-when-online-placeholder"
106   - };
107   -
108   - for(ix = 0; ix < G_N_ELEMENTS(placeholders); ix++) {
109   -
110   - placeholder = gtk_builder_get_object(builder, placeholders[ix]);
111   -
112   - if(placeholder && G_IS_MENU(placeholder)) {
113   - g_menu_append_item(G_MENU(placeholder), g_menu_item_new_submenu(_("Keypads"),G_MENU_MODEL(keypad_menu)));
114   - }
115   -
116   - }
117   -
118   - g_object_unref(keypad_menu);
119   - }
120   -
121   -}
... ...
src/objects/application/actions/open.c
... ... @@ -75,11 +75,11 @@ static void open_window(GtkWidget *dialog, gint response_id, GtkApplication *app
75 75  
76 76 }
77 77  
78   -static void open_session(GtkWidget *dialog, gint response_id, GtkApplication *application) {
  78 +static void open_session(GtkWidget *file_chooser, gint response_id, GtkApplication *application) {
79 79  
80 80 if(response_id == GTK_RESPONSE_OK) {
81 81  
82   - g_autofree gchar * file_name = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
  82 + g_autofree gchar * file_name = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(file_chooser));
83 83  
84 84 if(file_name) {
85 85 GError * error = NULL;
... ... @@ -121,7 +121,7 @@ static void open_session(GtkWidget *dialog, gint response_id, GtkApplication *ap
121 121  
122 122 }
123 123  
124   - gtk_widget_destroy(dialog);
  124 + gtk_widget_destroy(file_chooser);
125 125  
126 126 }
127 127  
... ...
src/objects/application/application.c
  1 +/* SPDX-License-Identifier: LGPL-3.0-or-later */
  2 +
1 3 /*
2   - * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   - * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   - * aplicativos mainframe. Registro no INPI sob o nome G3270.
5   - *
6   - * Copyright (C) <2008> <Banco do Brasil S.A.>
7   - *
8   - * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   - * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   - * Free Software Foundation.
11   - *
12   - * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   - * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   - * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   - * obter mais detalhes.
16   - *
17   - * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   - * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19   - * St, Fifth Floor, Boston, MA 02110-1301 USA
  4 + * Copyright (C) 2008 Banco do Brasil S.A.
20 5 *
21   - * Este programa está nomeado como - e possui - linhas de código.
  6 + * This program is free software: you can redistribute it and/or modify
  7 + * it under the terms of the GNU Lesser General Public License as published
  8 + * by the Free Software Foundation, either version 3 of the License, or
  9 + * (at your option) any later version.
22 10 *
23   - * Contatos:
24   - *
25   - * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
26   - * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
27   - *
28   - * References:
29   - *
30   - * https://fossies.org/linux/gtk+/examples/plugman.c
  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.
31 15 *
  16 + * You should have received a copy of the GNU Lesser General Public License
  17 + * along with this program. If not, see <https://www.gnu.org/licenses/>.
32 18 */
33 19  
34 20 #include "private.h"
... ... @@ -41,6 +27,7 @@
41 27 enum {
42 28 PROP_ZERO,
43 29 PROP_UI_STYLE,
  30 + PROP_LOGFILE,
44 31  
45 32 NUM_PROPERTIES
46 33 };
... ... @@ -75,6 +62,10 @@ static void get_property(GObject *object, guint prop_id, GValue *value, GParamSp
75 62 g_value_set_uint(value,pw3270_application_get_ui_style(G_APPLICATION(object)));
76 63 break;
77 64  
  65 + case PROP_LOGFILE:
  66 + g_value_set_string(value,pw3270_application_get_log_filename(G_APPLICATION(object)));
  67 + break;
  68 +
78 69 default:
79 70 g_assert_not_reached ();
80 71 }
... ... @@ -88,6 +79,10 @@ static void set_property(GObject *object, guint prop_id, const GValue *value, GP
88 79 pw3270_application_set_ui_style(G_APPLICATION(object),g_value_get_uint(value));
89 80 break;
90 81  
  82 + case PROP_LOGFILE:
  83 + pw3270_application_set_log_filename(G_APPLICATION(object),g_value_get_string(value));
  84 + break;
  85 +
91 86 default:
92 87 g_assert_not_reached ();
93 88 }
... ... @@ -178,6 +173,14 @@ static void pw3270Application_class_init(pw3270ApplicationClass *klass) {
178 173 G_PARAM_READABLE|G_PARAM_WRITABLE
179 174 );
180 175  
  176 + props[PROP_LOGFILE] =
  177 + g_param_spec_string(
  178 + "logfile",
  179 + _("Log name"),
  180 + _("The full path of the default log file"),
  181 + NULL,
  182 + G_PARAM_READABLE|G_PARAM_WRITABLE
  183 + );
181 184  
182 185 g_object_class_install_properties(object_class, NUM_PROPERTIES, props);
183 186  
... ... @@ -237,9 +240,27 @@ static void pw3270Application_init(pw3270Application *app) {
237 240  
238 241 static GOptionEntry cmd_options[] = {
239 242  
240   - { "user-interface", 'U', 0, G_OPTION_ARG_CALLBACK, &on_user_interface, N_( "Set the user-interface type" ), NULL },
241   - { "logfile", 'l', 0, G_OPTION_ARG_CALLBACK, &on_logfile, N_( "Set default log file name" ), NULL },
242   - { NULL }
  243 + {
  244 + "user-interface",
  245 + 'U',
  246 + 0,
  247 + G_OPTION_ARG_CALLBACK,
  248 + &on_user_interface,
  249 + N_( "Set the user-interface type" ),
  250 + NULL
  251 + },
  252 + {
  253 + "logfile",
  254 + 'l',
  255 + 0,
  256 + G_OPTION_ARG_CALLBACK,
  257 + &on_logfile,
  258 + N_( "Set default log file name" ),
  259 + NULL
  260 + },
  261 + {
  262 + NULL
  263 + }
243 264  
244 265 };
245 266  
... ... @@ -325,6 +346,20 @@ static void pw3270Application_init(pw3270Application *app) {
325 346  
326 347 }
327 348  
  349 +
  350 + }
  351 +
  352 + // Initialize plugins
  353 + {
  354 + GSList * item;
  355 + void (*call)(GtkApplication *application);
  356 +
  357 + for(item = app->plugins; item; item = g_slist_next(item)) {
  358 + if(g_module_symbol((GModule *) item->data, "pw3270_plugin_set_application", (gpointer *) &call)) {
  359 + call(GTK_APPLICATION(app));
  360 + }
  361 + }
  362 +
328 363 }
329 364  
330 365 }
... ... @@ -439,16 +474,7 @@ void startup(GApplication *application) {
439 474 //
440 475 // Setup application menus
441 476 //
442   - GtkBuilder * builder;
443   -#ifdef DEBUG
444   - builder = gtk_builder_new_from_file("ui/application.xml");
445   -#else
446   - {
447   - lib3270_autoptr(char) build_file = lib3270_build_data_filename("ui","application.xml",NULL);
448   - builder = gtk_builder_new_from_file(build_file);
449   - }
450   -#endif // DEBUG
451   -
  477 + g_autoptr(GtkBuilder) builder = pw3270_application_builder_new(application);
452 478  
453 479 //
454 480 // Load keypad models
... ... @@ -480,10 +506,6 @@ void startup(GApplication *application) {
480 506  
481 507 gtk_application_set_menubar(GTK_APPLICATION (application), G_MENU_MODEL(gtk_builder_get_object (builder, "menubar")));
482 508  
483   - pw3270_load_placeholders(application, builder);
484   -
485   - g_object_unref(builder);
486   -
487 509 }
488 510  
489 511 void activate(GApplication *application) {
... ... @@ -590,6 +612,11 @@ static int loghandler(const H3270 G_GNUC_UNUSED(*hSession), pw3270Application *a
590 612 return 0;
591 613 }
592 614  
  615 +const gchar * pw3270_application_get_log_filename(GApplication *app) {
  616 + g_return_val_if_fail(PW3270_IS_APPLICATION(app),NULL);
  617 + return PW3270_APPLICATION(app)->logfile;
  618 +}
  619 +
593 620 void pw3270_application_set_log_filename(GApplication *app, const gchar *filename) {
594 621  
595 622 g_return_if_fail(PW3270_IS_APPLICATION(app));
... ...
src/objects/application/open.c
... ... @@ -43,81 +43,6 @@ void pw3270_application_open(GApplication *application, GFile **files, gint n_fi
43 43 debug("%s(%d,%p)",__FUNCTION__,file,files[file]);
44 44 pw3270_application_open_file(GTK_APPLICATION(application),&window,files[file]);
45 45  
46   - /*
47   -
48   - g_autofree gchar *path = g_file_get_path(files[file]);
49   -
50   - if(!path) {
51   -
52   - // It's not a session file descriptor, is it an URL?
53   - g_autofree gchar * scheme = g_file_get_uri_scheme(files[file]);
54   -
55   - if(!(g_ascii_strcasecmp(scheme,"tn3270") && g_ascii_strcasecmp(scheme,"tn3270s"))) {
56   -
57   - // It's an URL, load it in the default session.
58   -
59   - g_autofree gchar * uri = g_file_get_uri(files[file]);
60   - size_t sz = strlen(uri);
61   -
62   - if(sz > 0 && uri[sz-1] == '/')
63   - uri[sz-1] = 0;
64   -
65   - if(!(window && pw3270_application_allow_tabs(application))) {
66   - debug("%s: Creating new window",__FUNCTION__);
67   - window = pw3270_application_window_new(GTK_APPLICATION(application), NULL);
68   - } else {
69   - debug("%s: Creating new tab",__FUNCTION__);
70   - window = pw3270_application_window_new_tab(window, NULL);
71   - }
72   -
73   - // Load default
74   - GtkWidget * terminal = pw3270_application_window_get_active_terminal(window);
75   -
76   - v3270_set_default_session(terminal);
77   - v3270_set_url(terminal,uri);
78   -
79   - }
80   -
81   - continue;
82   -
83   - }
84   -
85   - if(g_file_test(path,G_FILE_TEST_IS_REGULAR)) {
86   -
87   - // The file exists, use it.
88   - debug("%s: Loading '%s'",__FUNCTION__,path);
89   -
90   - if(!(window && pw3270_application_allow_tabs(application))) {
91   - debug("%s: Creating new window",__FUNCTION__);
92   - window = pw3270_application_window_new(GTK_APPLICATION(application), path);
93   - } else {
94   - debug("%s: Creating new tab",__FUNCTION__);
95   - pw3270_application_window_new_tab(window,path);
96   - }
97   -
98   - continue;
99   - }
100   -
101   - {
102   - g_autofree gchar * basename = g_file_get_basename(files[file]);
103   - g_autofree gchar * filename = v3270_keyfile_find(basename);
104   -
105   - if(filename) {
106   -
107   - if(!window) {
108   - debug("%s: Creating new window",__FUNCTION__);
109   - window = pw3270_application_window_new(GTK_APPLICATION(application), filename);
110   - } else {
111   - debug("%s: Creating new tab",__FUNCTION__);
112   - pw3270_application_window_new_tab(window, filename);
113   - }
114   -
115   - continue;
116   - }
117   -
118   - }
119   -
120   - */
121 46 }
122 47  
123 48 if(window)
... ...
src/objects/settings/gsettings.c
... ... @@ -99,14 +99,19 @@
99 99  
100 100 } else {
101 101  
  102 +#ifdef DEBUG
102 103 g_message("Can't find '%s' loading from default path",filename);
  104 +#endif // DEBUG
103 105 settings = g_settings_new(schema_id);
104 106  
105 107 }
106 108 }
107 109 #else
108 110  
  111 +#ifdef DEBUG
109 112 g_message("Loading '%s' from default path","gschemas.compiled");
  113 +#endif // DEBUG
  114 +
110 115 settings = g_settings_new(schema_id);
111 116  
112 117 #endif // DEBUG
... ...
src/objects/toolbar/actions.c
  1 +/* SPDX-License-Identifier: LGPL-3.0-or-later */
  2 +
1 3 /*
2   - * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   - * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   - * aplicativos mainframe. Registro no INPI sob o nome G3270.
5   - *
6   - * Copyright (C) <2008> <Banco do Brasil S.A.>
7   - *
8   - * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   - * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   - * Free Software Foundation.
11   - *
12   - * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   - * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   - * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   - * obter mais detalhes.
16   - *
17   - * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   - * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19   - * St, Fifth Floor, Boston, MA 02110-1301 USA
20   - *
21   - * Este programa está nomeado como - e possui - linhas de código.
  4 + * Copyright (C) 2008 Banco do Brasil S.A.
22 5 *
23   - * Contatos:
  6 + * This program is free software: you can redistribute it and/or modify
  7 + * it under the terms of the GNU Lesser General Public License as published
  8 + * by the Free Software Foundation, either version 3 of the License, or
  9 + * (at your option) any later version.
24 10 *
25   - * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
26   - * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  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.
27 15 *
  16 + * You should have received a copy of the GNU Lesser General Public License
  17 + * along with this program. If not, see <https://www.gnu.org/licenses/>.
28 18 */
29 19  
30 20 #include "private.h"
... ...
src/objects/window/actions/hostproperties.c
... ... @@ -33,6 +33,7 @@
33 33 #include <v3270/settings.h>
34 34 #include <v3270/dialogs.h>
35 35  
  36 +/*
36 37 static GtkWidget * factory(V3270SimpleAction *action, GtkWidget *terminal);
37 38  
38 39 GAction * pw3270_action_host_properties_new(void) {
... ... @@ -68,4 +69,5 @@ GtkWidget * factory(V3270SimpleAction G_GNUC_UNUSED(*action), GtkWidget *termina
68 69 return dialog;
69 70  
70 71 }
  72 +*/
71 73  
... ...
src/objects/window/actions/sessionproperties.c
  1 +/* SPDX-License-Identifier: LGPL-3.0-or-later */
  2 +
1 3 /*
2   - * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   - * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   - * aplicativos mainframe. Registro no INPI sob o nome G3270.
5   - *
6   - * Copyright (C) <2008> <Banco do Brasil S.A.>
7   - *
8   - * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   - * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   - * Free Software Foundation.
11   - *
12   - * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   - * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   - * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   - * obter mais detalhes.
16   - *
17   - * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   - * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19   - * St, Fifth Floor, Boston, MA 02110-1301 USA
20   - *
21   - * Este programa está nomeado como - e possui - linhas de código.
  4 + * Copyright (C) 2008 Banco do Brasil S.A.
22 5 *
23   - * Contatos:
  6 + * This program is free software: you can redistribute it and/or modify
  7 + * it under the terms of the GNU Lesser General Public License as published
  8 + * by the Free Software Foundation, either version 3 of the License, or
  9 + * (at your option) any later version.
24 10 *
25   - * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
26   - * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  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.
27 15 *
  16 + * You should have received a copy of the GNU Lesser General Public License
  17 + * along with this program. If not, see <https://www.gnu.org/licenses/>.
28 18 */
29 19  
30 20 #include "../private.h"
... ...
src/objects/window/actions/setcolors.c
... ... @@ -27,6 +27,7 @@
27 27 *
28 28 */
29 29  
  30 +/*
30 31 #include "../private.h"
31 32 #include <pw3270/window.h>
32 33 #include <pw3270/actions.h>
... ... @@ -55,4 +56,5 @@ GtkWidget * factory(V3270SimpleAction G_GNUC_UNUSED(*action), GtkWidget *termina
55 56 gtk_widget_show_all(dialog);
56 57 return dialog;
57 58 }
  59 +*/
58 60  
... ...
src/objects/window/header.c
... ... @@ -47,24 +47,21 @@ void pw3270_window_set_header_action_names(GtkWidget *window, const gchar *actio
47 47 size_t ix;
48 48 gchar ** header_blocks = g_strsplit(action_names,":",-1);
49 49  
50   - g_autoptr(GtkBuilder) builder = pw3270_application_get_builder("window.xml");
  50 + g_autoptr(GtkBuilder) builder = pw3270_application_builder_new(g_application_get_default());
51 51  
52 52 if(!gtk_application_prefers_app_menu(GTK_APPLICATION(g_application_get_default()))) {
53 53  
54 54 // No application menu, add view and help sections to open menu.
55   -
56   - g_autoptr(GtkBuilder) app_builder = pw3270_application_get_builder("application.xml");
57   -
58 55 g_menu_append_section(
59 56 G_MENU(gtk_builder_get_object(builder,"open-menu")),
60 57 NULL,
61   - G_MENU_MODEL(gtk_builder_get_object(app_builder,"help-menu-placeholder"))
  58 + G_MENU_MODEL(gtk_builder_get_object(builder,"help-menu-placeholder"))
62 59 );
63 60  
64 61 g_menu_append_submenu(
65 62 G_MENU(gtk_builder_get_object(builder,"preferences-menu")),
66 63 _("View"),
67   - G_MENU_MODEL(gtk_builder_get_object(app_builder,"view-menu-placeholder"))
  64 + G_MENU_MODEL(gtk_builder_get_object(builder,"view-menu-placeholder"))
68 65 );
69 66  
70 67 }
... ...
src/objects/window/private.h
... ... @@ -68,10 +68,10 @@ struct _pw3270ApplicationWindow {
68 68 GList * keypads; ///< @brief Keypads.
69 69  
70 70 struct {
71   - int width; ///< @brief Window width.
72   - int height; ///< @brief Window height.
73   - int is_maximized : 1; ///< @brief Non zero if window is maximized.
74   - int is_fullscreen : 1; ///< @brief Non zero if window is fullscreen.
  71 + int width; ///< @brief Window width.
  72 + int height; ///< @brief Window height.
  73 + unsigned int is_maximized : 1; ///< @brief Non zero if window is maximized.
  74 + unsigned int is_fullscreen : 1; ///< @brief Non zero if window is fullscreen.
75 75 } state;
76 76  
77 77 GtkWidget * popups[PW3270_APP_WINDOW_POPUP_COUNT];
... ...
src/objects/window/terminal.c
... ... @@ -43,6 +43,7 @@
43 43 #include <v3270/keyfile.h>
44 44 #include <v3270/print.h>
45 45 #include <lib3270/os.h>
  46 +#include <pw3270/application.h>
46 47  
47 48 static void destroy(GtkWidget *terminal, gpointer G_GNUC_UNUSED(dunno)) {
48 49 v3270_key_file_close(terminal);
... ... @@ -203,6 +204,12 @@ GtkWidget * pw3270_terminal_new(const gchar *session_file) {
203 204 g_error_free(error);
204 205 }
205 206  
  207 + pw3270_application_plugin_call(
  208 + g_application_get_default(),
  209 + "pw3270_plugin_setup_terminal",
  210 + terminal
  211 + );
  212 +
206 213 return terminal;
207 214 }
208 215  
... ...
src/objects/window/window.c
  1 +/* SPDX-License-Identifier: LGPL-3.0-or-later */
  2 +
1 3 /*
2   - * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   - * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   - * aplicativos mainframe. Registro no INPI sob o nome G3270.
5   - *
6   - * Copyright (C) <2008> <Banco do Brasil S.A.>
7   - *
8   - * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   - * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   - * Free Software Foundation.
11   - *
12   - * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   - * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   - * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   - * obter mais detalhes.
16   - *
17   - * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   - * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
19   - * St, Fifth Floor, Boston, MA 02110-1301 USA
20   - *
21   - * Este programa está nomeado como - e possui - linhas de código.
  4 + * Copyright (C) 2008 Banco do Brasil S.A.
22 5 *
23   - * Contatos:
  6 + * This program is free software: you can redistribute it and/or modify
  7 + * it under the terms of the GNU Lesser General Public License as published
  8 + * by the Free Software Foundation, either version 3 of the License, or
  9 + * (at your option) any later version.
24 10 *
25   - * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
26   - * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  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.
27 15 *
  16 + * You should have received a copy of the GNU Lesser General Public License
  17 + * along with this program. If not, see <https://www.gnu.org/licenses/>.
28 18 */
29 19  
30 20 #include "private.h"
... ... @@ -511,9 +501,9 @@ static void pw3270ApplicationWindow_init(pw3270ApplicationWindow *widget) {
511 501 size_t ix;
512 502  
513 503 GAction * actions[] = {
514   - pw3270_action_host_properties_new(),
  504 +// pw3270_action_host_properties_new(),
515 505 pw3270_action_session_properties_new(),
516   - pw3270_set_color_action_new(),
  506 +// pw3270_set_color_action_new(),
517 507  
518 508 pw3270_action_save_session_preferences_new(),
519 509  
... ... @@ -618,8 +608,7 @@ GtkWidget * pw3270_application_window_new(GtkApplication * application, const gc
618 608 //
619 609 // Get builder
620 610 //
621   - g_autoptr(GtkBuilder) builder = pw3270_application_get_builder("window.xml");
622   - pw3270_load_placeholders(G_APPLICATION(application), builder);
  611 + g_autoptr(GtkBuilder) builder = pw3270_application_builder_new(G_APPLICATION(application));
623 612  
624 613 // Load popup menus.
625 614 const gchar * popup_menus[PW3270_APP_WINDOW_POPUP_COUNT] = {
... ...
ui/application.xml
... ... @@ -1,545 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!--
3   -
4   - Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
5   - (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
6   - aplicativos mainframe. Registro no INPI sob o nome G3270.
7   -
8   - Copyright (C) <2008> <Banco do Brasil S.A.>
9   -
10   - Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
11   - os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
12   - Free Software Foundation.
13   -
14   - Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
15   - GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
16   - A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
17   - obter mais detalhes.
18   -
19   - Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
20   - programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
21   - St, Fifth Floor, Boston, MA 02110-1301 USA
22   -
23   -
24   - Contatos:
25   -
26   - perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
27   - erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
28   -
29   --->
30   -<interface>
31   - <requires lib="gtk+" version="3.0"/>
32   - <menu id="app-menu">
33   -
34   - <submenu id="help-menu-placeholder">
35   -
36   - <attribute name='label' translatable='yes'>Help</attribute>
37   -
38   - <item>
39   - <attribute name="label" translatable="yes">About PW3270</attribute>
40   - <attribute name="action">app.about</attribute>
41   - </item>
42   -
43   - </submenu>
44   -
45   - <submenu>
46   -
47   - <attribute name='label' translatable='yes'>Session</attribute>
48   -
49   - <item>
50   - <attribute name="label" translatable="yes">Open in New Window</attribute>
51   - <attribute name="action">app.open.session.window</attribute>
52   - </item>
53   -
54   - <item>
55   - <attribute name="label" translatable="yes">Open in New Tab</attribute>
56   - <attribute name="action">app.open.session.tab</attribute>
57   - </item>
58   -
59   - </submenu>
60   -
61   - <submenu id="view-menu-placeholder">
62   -
63   - <attribute name='label' translatable='yes'>View</attribute>
64   -
65   - <item>
66   - <attribute name="label" translatable="yes">Main Toolbar</attribute>
67   - <attribute name="action">win.toolbar</attribute>
68   - </item>
69   -
70   - <item>
71   - <attribute name="label" translatable="yes">Main Menu</attribute>
72   - <attribute name="action">win.menubar</attribute>
73   - </item>
74   -
75   - <item>
76   - <attribute name="label" translatable="yes">Session Trace</attribute>
77   - <attribute name="action">win.trace</attribute>
78   - </item>
79   -
80   - </submenu>
81   -
82   - <item>
83   - <attribute name="label" translatable="yes">Application preferences</attribute>
84   - <attribute name="action">app.preferences</attribute>
85   - </item>
86   -
87   - <item>
88   - <attribute name="label" translatable="yes">Quit</attribute>
89   - <attribute name="action">app.quit</attribute>
90   - </item>
91   -
92   - </menu>
93   -
94   - <menu id='menubar'>
95   -
96   - <submenu>
97   -
98   - <attribute name='label' translatable='yes'>_File</attribute>
99   -
100   - <submenu>
101   -
102   - <attribute name='label' translatable='yes'>_New</attribute>
103   -
104   - <item>
105   - <attribute name="label" translatable="yes">Window with default session</attribute>
106   - <attribute name="action">app.window.new</attribute>
107   - </item>
108   -
109   - <item>
110   - <attribute name="label" translatable="yes">Tab with default session</attribute>
111   - <attribute name="action">app.new.tab</attribute>
112   - </item>
113   -
114   - </submenu>
115   -
116   - <submenu>
117   -
118   - <attribute name='label' translatable='yes'>_Open</attribute>
119   -
120   - <item>
121   - <attribute name="label" translatable="yes">Session in new window</attribute>
122   - <attribute name="action">app.open.session.window</attribute>
123   - </item>
124   -
125   - <item>
126   - <attribute name="label" translatable="yes">Session in New Tab</attribute>
127   - <attribute name="action">app.open.session.tab</attribute>
128   - </item>
129   -
130   - </submenu>
131   -
132   - <submenu>
133   -
134   - <attribute name='label' translatable='yes'>Save</attribute>
135   -
136   - <section>
137   -
138   - <item>
139   - <attribute name="label" translatable="yes">Current screen</attribute>
140   - <attribute name="action">win.save-all</attribute>
141   - </item>
142   -
143   - <item>
144   - <attribute name="label" translatable="yes">Selected area</attribute>
145   - <attribute name="action">win.save-selected</attribute>
146   - </item>
147   -
148   - <item>
149   - <attribute name="label" translatable="yes">Clipboard contents</attribute>
150   - <attribute name="action">win.save-copy</attribute>
151   - </item>
152   -
153   - </section>
154   -
155   - <section>
156   -
157   - <item>
158   - <attribute name="label" translatable="yes">Shortcut for this session</attribute>
159   - <attribute name="action">win.save.launcher</attribute>
160   - </item>
161   -
162   - <item>
163   - <attribute name="label" translatable="yes">Session preferences</attribute>
164   - <attribute name="action">win.save.session.preferences</attribute>
165   - </item>
166   -
167   - </section>
168   -
169   - </submenu>
170   -
171   - <submenu>
172   -
173   - <attribute name='label' translatable='yes'>Print</attribute>
174   -
175   - <item>
176   - <attribute name="label" translatable="yes">Current Screen</attribute>
177   - <attribute name="action">win.print-all</attribute>
178   - </item>
179   -
180   - <item>
181   - <attribute name="label" translatable="yes">Selected area</attribute>
182   - <attribute name="action">win.print-selected</attribute>
183   - </item>
184   -
185   - <item>
186   - <attribute name="label" translatable="yes">Clipboard contents</attribute>
187   - <attribute name="action">win.print-copy</attribute>
188   - </item>
189   -
190   - </submenu>
191   -
192   - <section>
193   -
194   - <item>
195   - <attribute name="label" translatable="yes">Send/Receive files</attribute>
196   - <attribute name="action">win.file.transfer</attribute>
197   - </item>
198   -
199   - <!-- submenu>
200   -
201   - <attribute name='label' translatable='yes'>Preferences</attribute>
202   -
203   - <item>
204   - <attribute name="label" translatable="yes">Application</attribute>
205   - <attribute name="action">app.preferences</attribute>
206   - </item>
207   -
208   - <item>
209   - <attribute name="label" translatable="yes">Current session</attribute>
210   - <attribute name="action">win.session.properties</attribute>
211   - </item>
212   -
213   - </submenu -->
214   -
215   - <item>
216   - <attribute name="label" translatable="yes">Close window</attribute>
217   - <attribute name="action">win.close</attribute>
218   - </item>
219   -
220   - <!-- item>
221   - <attribute name="label" translatable="yes">Quit application</attribute>
222   - <attribute name="action">app.quit</attribute>
223   - </item -->
224   -
225   - </section>
226   -
227   - </submenu>
228   -
229   - <submenu>
230   -
231   - <attribute name='label' translatable='yes'>_Edit</attribute>
232   -
233   - <section>
234   -
235   - <item>
236   - <attribute name="label" translatable="yes">Copy</attribute>
237   - <attribute name="action">win.copy</attribute>
238   - </item>
239   -
240   - <item>
241   - <attribute name="label" translatable="yes">Copy as text</attribute>
242   - <attribute name="action">win.copy-text</attribute>
243   - </item>
244   -
245   - <item>
246   - <attribute name="label" translatable="yes">Copy as table</attribute>
247   - <attribute name="action">win.copy-table</attribute>
248   - </item>
249   -
250   - <item>
251   - <attribute name="label" translatable="yes">Append to copy</attribute>
252   - <attribute name="action">win.copy-append</attribute>
253   - </item>
254   -
255   - <item>
256   - <attribute name="label" translatable="yes">Cut</attribute>
257   - <attribute name="action">win.cut</attribute>
258   - </item>
259   -
260   - <item>
261   - <attribute name="label" translatable="yes">Paste from clipboard</attribute>
262   - <attribute name="action">win.paste</attribute>
263   - </item>
264   -
265   - <item>
266   - <attribute name="label" translatable="yes">Paste next</attribute>
267   - <attribute name="action">win.paste-next</attribute>
268   - </item>
269   -
270   - <item>
271   - <attribute name="label" translatable="yes">Paste from text file</attribute>
272   - <attribute name="action">win.paste-file</attribute>
273   - </item>
274   -
275   - </section>
276   -
277   - <section>
278   -
279   - <item>
280   - <attribute name="label" translatable="yes">Select all</attribute>
281   - <attribute name="action">win.select-all</attribute>
282   - </item>
283   -
284   - <item>
285   - <attribute name="label" translatable="yes">Select Field</attribute>
286   - <attribute name="action">win.select-field</attribute>
287   - </item>
288   -
289   - <item>
290   - <attribute name="label" translatable="yes">Unselect</attribute>
291   - <attribute name="action">win.unselect</attribute>
292   - </item>
293   -
294   - <item>
295   - <attribute name="label" translatable="yes">Reselect</attribute>
296   - <attribute name="action">win.reselect</attribute>
297   - </item>
298   -
299   - </section>
300   -
301   - <section>
302   -
303   - <item>
304   - <attribute name="label" translatable="yes">Clear</attribute>
305   - <attribute name="action">win.clear</attribute>
306   - </item>
307   -
308   - <item>
309   - <attribute name="label" translatable="yes">Erase input</attribute>
310   - <attribute name="action">win.erase-input</attribute>
311   - </item>
312   -
313   - <item>
314   - <attribute name="label" translatable="yes">Delete Field</attribute>
315   - <attribute name="action">win.delete-field</attribute>
316   - </item>
317   -
318   - <item>
319   - <attribute name="label" translatable="yes">Erase to end of field</attribute>
320   - <attribute name="action">win.erase-eof</attribute>
321   - </item>
322   -
323   - <item>
324   - <attribute name="label" translatable="yes">Erase to end of line</attribute>
325   - <attribute name="action">win.erase-eol</attribute>
326   - </item>
327   -
328   - </section>
329   -
330   - </submenu>
331   -
332   - <submenu id="view-menu-placeholder">
333   -
334   - <attribute name='label' translatable='yes'>_View</attribute>
335   -
336   - <item>
337   - <attribute name="label" translatable="yes">Trace</attribute>
338   - <attribute name="action">win.trace</attribute>
339   - </item>
340   -
341   - <item>
342   - <attribute name="label" translatable="yes">Toolbar</attribute>
343   - <attribute name="action">win.toolbar</attribute>
344   - </item>
345   -
346   - <item>
347   - <attribute name="label" translatable="yes">Menu</attribute>
348   - <attribute name="action">win.menubar</attribute>
349   - </item>
350   -
351   - <item>
352   - <attribute name="label" translatable="yes">Field attributes</attribute>
353   - <attribute name="action">win.fieldattr</attribute>
354   - </item>
355   -
356   - </submenu>
357   -
358   - <submenu>
359   -
360   - <attribute name='label' translatable='yes'>_Network</attribute>
361   -
362   - <!-- item>
363   - <attribute name="label" translatable="yes">Host properties</attribute>
364   - <attribute name="action">win.host.properties</attribute>
365   - </item -->
366   -
367   - <item>
368   - <attribute name="label" translatable="yes">_Connect</attribute>
369   - <attribute name="action">win.connect</attribute>
370   - </item>
371   -
372   - <item>
373   - <attribute name="label" translatable="yes">_Disconnect</attribute>
374   - <attribute name="action">win.disconnect</attribute>
375   - </item>
376   -
377   - </submenu>
378   -
379   - <submenu>
380   -
381   - <attribute name='label' translatable='yes'>Settings</attribute>
382   -
383   - <!-- item>
384   - <attribute name="label" translatable="yes">Colors</attribute>
385   - <attribute name="action">win.set.colors</attribute>
386   - </item -->
387   -
388   - <item>
389   - <attribute name="label" translatable="yes">Application</attribute>
390   - <attribute name="action">app.preferences</attribute>
391   - </item>
392   -
393   - <item>
394   - <attribute name="label" translatable="yes">Current session</attribute>
395   - <attribute name="action">win.session.properties</attribute>
396   - </item>
397   -
398   - <submenu>
399   -
400   - <attribute name="label" translatable="yes">Screen size</attribute>
401   -
402   - <item>
403   - <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
404   - <attribute name="action">win.model-number</attribute>
405   - <attribute name="target">2</attribute>
406   - </item>
407   - <item>
408   - <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
409   - <attribute name="action">win.model-number</attribute>
410   - <attribute name="target">3</attribute>
411   - </item>
412   - <item>
413   - <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
414   - <attribute name="action">win.model-number</attribute>
415   - <attribute name="target">4</attribute>
416   - </item>
417   - <item>
418   - <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
419   - <attribute name="action">win.model-number</attribute>
420   - <attribute name="target">5</attribute>
421   - </item>
422   -
423   - </submenu>
424   -
425   - <submenu id='font-select-placeholder'>
426   - <attribute name="label" translatable="yes">Terminal font</attribute>
427   - </submenu>
428   -
429   - <submenu>
430   -
431   - <attribute name='label' translatable='yes'>Options</attribute>
432   -
433   - <item>
434   - <attribute name="label" translatable="yes">Connect on startup</attribute>
435   - <attribute name="action">win.autoconnect</attribute>
436   - </item>
437   -
438   - <item>
439   - <attribute name="label" translatable="yes">Blinking Cursor</attribute>
440   - <attribute name="action">win.cursorblink</attribute>
441   - </item>
442   -
443   - <item>
444   - <attribute name="label" translatable="yes">Monocase</attribute>
445   - <attribute name="action">win.monocase</attribute>
446   - </item>
447   -
448   - <item>
449   - <attribute name="label" translatable="yes">Track Cursor</attribute>
450   - <attribute name="action">win.cursorpos</attribute>
451   - </item>
452   -
453   - <item>
454   - <attribute name="label" translatable="yes">Full Screen</attribute>
455   - <attribute name="action">win.fullscreen</attribute>
456   - </item>
457   -
458   - <item>
459   - <attribute name="label" translatable="yes">Cross hair cursor</attribute>
460   - <attribute name="action">win.crosshair</attribute>
461   - </item>
462   -
463   - <item>
464   - <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
465   - <attribute name="action">win.altscreen</attribute>
466   - </item>
467   -
468   - <item>
469   - <attribute name="label" translatable="yes">Paste with left margin</attribute>
470   - <attribute name="action">win.marginedpaste</attribute>
471   - </item>
472   -
473   - <item>
474   - <attribute name="label" translatable="yes">Blank Fill</attribute>
475   - <attribute name="action">win.blankfill</attribute>
476   - </item>
477   -
478   - <item>
479   - <attribute name="label" translatable="yes">Select by rectangles</attribute>
480   - <attribute name="action">win.rectselect</attribute>
481   - </item>
482   -
483   - <item>
484   - <attribute name="label" translatable="yes">Auto-Reconnect</attribute>
485   - <attribute name="action">win.autoreconnect</attribute>
486   - </item>
487   -
488   - <item>
489   - <attribute name="label" translatable="yes">Bold</attribute>
490   - <attribute name="action">win.bold</attribute>
491   - </item>
492   -
493   - <item>
494   - <attribute name="label" translatable="yes">Show Underline</attribute>
495   - <attribute name="action">win.underline</attribute>
496   - </item>
497   -
498   - <item>
499   - <attribute name="label" translatable="yes">Keep selected</attribute>
500   - <attribute name="action">win.keepselected</attribute>
501   - </item>
502   -
503   - <item>
504   - <attribute name="label" translatable="yes">Smart paste</attribute>
505   - <attribute name="action">win.smartpaste</attribute>
506   - </item>
507   -
508   - <item>
509   - <attribute name="label" translatable="yes">Alert sound</attribute>
510   - <attribute name="action">win.beep</attribute>
511   - </item>
512   -
513   - <item>
514   - <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
515   - <attribute name="action">win.kpalternative</attribute>
516   - </item>
517   -
518   - <item>
519   - <attribute name="label" translatable="yes">Network keep alive</attribute>
520   - <attribute name="action">win.keepalive</attribute>
521   - </item>
522   -
523   - <item>
524   - <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
525   - <attribute name="action">win.dynamic-font-spacing</attribute>
526   - </item>
527   -
528   - </submenu>
529   -
530   - </submenu>
531   -
532   - <submenu id="help-menu-placeholder">
533   -
534   - <attribute name='label' translatable='yes'>Help</attribute>
535   -
536   - <item>
537   - <attribute name="label" translatable="yes">About PW3270</attribute>
538   - <attribute name="action">app.about</attribute>
539   - </item>
540   -
541   - </submenu>
542   -
543   - </menu>
544   -
545   -</interface>
ui/linux.ui.xml 0 → 100644
... ... @@ -0,0 +1,1126 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 +
  4 + Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
  5 + (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
  6 + aplicativos mainframe. Registro no INPI sob o nome G3270.
  7 +
  8 + Copyright (C) <2008> <Banco do Brasil S.A.>
  9 +
  10 + Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
  11 + os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
  12 + Free Software Foundation.
  13 +
  14 + Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
  15 + GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
  16 + A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
  17 + obter mais detalhes.
  18 +
  19 + Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
  20 + programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
  21 + St, Fifth Floor, Boston, MA 02110-1301 USA
  22 +
  23 +
  24 + Contatos:
  25 +
  26 + perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
  27 + erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  28 +
  29 +-->
  30 +<interface>
  31 + <requires lib="gtk+" version="3.0"/>
  32 +
  33 + <menu id="app-menu">
  34 +
  35 + <submenu id="help-menu-placeholder">
  36 +
  37 + <attribute name='label' translatable='yes'>Help</attribute>
  38 +
  39 + <item>
  40 + <attribute name="label" translatable="yes">About PW3270</attribute>
  41 + <attribute name="action">app.about</attribute>
  42 + </item>
  43 +
  44 + </submenu>
  45 +
  46 + <submenu>
  47 +
  48 + <attribute name='label' translatable='yes'>Session</attribute>
  49 +
  50 + <item>
  51 + <attribute name="label" translatable="yes">Open in New Window</attribute>
  52 + <attribute name="action">app.open.session.window</attribute>
  53 + </item>
  54 +
  55 + <item>
  56 + <attribute name="label" translatable="yes">Open in New Tab</attribute>
  57 + <attribute name="action">app.open.session.tab</attribute>
  58 + </item>
  59 +
  60 + </submenu>
  61 +
  62 + <submenu id="view-menu-placeholder">
  63 +
  64 + <attribute name='label' translatable='yes'>View</attribute>
  65 +
  66 + <item>
  67 + <attribute name="label" translatable="yes">Main Toolbar</attribute>
  68 + <attribute name="action">win.toolbar</attribute>
  69 + </item>
  70 +
  71 + <item>
  72 + <attribute name="label" translatable="yes">Main Menu</attribute>
  73 + <attribute name="action">win.menubar</attribute>
  74 + </item>
  75 +
  76 + <item>
  77 + <attribute name="label" translatable="yes">Session Trace</attribute>
  78 + <attribute name="action">win.trace</attribute>
  79 + </item>
  80 +
  81 + </submenu>
  82 +
  83 + <item>
  84 + <attribute name="label" translatable="yes">Application preferences</attribute>
  85 + <attribute name="action">app.preferences</attribute>
  86 + </item>
  87 +
  88 + <item>
  89 + <attribute name="label" translatable="yes">Quit</attribute>
  90 + <attribute name="action">app.quit</attribute>
  91 + </item>
  92 +
  93 + </menu>
  94 +
  95 + <menu id='menubar'>
  96 +
  97 + <submenu>
  98 +
  99 + <attribute name='label' translatable='yes'>_File</attribute>
  100 +
  101 + <submenu>
  102 +
  103 + <attribute name='label' translatable='yes'>_New</attribute>
  104 +
  105 + <item>
  106 + <attribute name="label" translatable="yes">Window with default session</attribute>
  107 + <attribute name="action">app.window.new</attribute>
  108 + </item>
  109 +
  110 + <item>
  111 + <attribute name="label" translatable="yes">Tab with default session</attribute>
  112 + <attribute name="action">app.new.tab</attribute>
  113 + </item>
  114 +
  115 + </submenu>
  116 +
  117 + <submenu>
  118 +
  119 + <attribute name='label' translatable='yes'>_Open</attribute>
  120 +
  121 + <item>
  122 + <attribute name="label" translatable="yes">Session in new window</attribute>
  123 + <attribute name="action">app.open.session.window</attribute>
  124 + </item>
  125 +
  126 + <item>
  127 + <attribute name="label" translatable="yes">Session in New Tab</attribute>
  128 + <attribute name="action">app.open.session.tab</attribute>
  129 + </item>
  130 +
  131 + </submenu>
  132 +
  133 + <submenu>
  134 +
  135 + <attribute name='label' translatable='yes'>Save</attribute>
  136 +
  137 + <section>
  138 +
  139 + <item>
  140 + <attribute name="label" translatable="yes">Current screen</attribute>
  141 + <attribute name="action">win.save-all</attribute>
  142 + </item>
  143 +
  144 + <item>
  145 + <attribute name="label" translatable="yes">Selected area</attribute>
  146 + <attribute name="action">win.save-selected</attribute>
  147 + </item>
  148 +
  149 + <item>
  150 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  151 + <attribute name="action">win.save-copy</attribute>
  152 + </item>
  153 +
  154 + </section>
  155 +
  156 + <section>
  157 +
  158 + <item>
  159 + <attribute name="label" translatable="yes">Shortcut for this session</attribute>
  160 + <attribute name="action">win.save.launcher</attribute>
  161 + </item>
  162 +
  163 + <item>
  164 + <attribute name="label" translatable="yes">Session preferences</attribute>
  165 + <attribute name="action">win.save.session.preferences</attribute>
  166 + </item>
  167 +
  168 + </section>
  169 +
  170 + </submenu>
  171 +
  172 + <submenu>
  173 +
  174 + <attribute name='label' translatable='yes'>Print</attribute>
  175 +
  176 + <item>
  177 + <attribute name="label" translatable="yes">Current Screen</attribute>
  178 + <attribute name="action">win.print-all</attribute>
  179 + </item>
  180 +
  181 + <item>
  182 + <attribute name="label" translatable="yes">Selected area</attribute>
  183 + <attribute name="action">win.print-selected</attribute>
  184 + </item>
  185 +
  186 + <item>
  187 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  188 + <attribute name="action">win.print-copy</attribute>
  189 + </item>
  190 +
  191 + </submenu>
  192 +
  193 + <section>
  194 +
  195 + <item>
  196 + <attribute name="label" translatable="yes">Send/Receive files</attribute>
  197 + <attribute name="action">win.file.transfer</attribute>
  198 + </item>
  199 +
  200 + <!-- submenu>
  201 +
  202 + <attribute name='label' translatable='yes'>Preferences</attribute>
  203 +
  204 + <item>
  205 + <attribute name="label" translatable="yes">Application</attribute>
  206 + <attribute name="action">app.preferences</attribute>
  207 + </item>
  208 +
  209 + <item>
  210 + <attribute name="label" translatable="yes">Current session</attribute>
  211 + <attribute name="action">win.session.properties</attribute>
  212 + </item>
  213 +
  214 + </submenu -->
  215 +
  216 + <item>
  217 + <attribute name="label" translatable="yes">Close window</attribute>
  218 + <attribute name="action">win.close</attribute>
  219 + </item>
  220 +
  221 + <!-- item>
  222 + <attribute name="label" translatable="yes">Quit application</attribute>
  223 + <attribute name="action">app.quit</attribute>
  224 + </item -->
  225 +
  226 + </section>
  227 +
  228 + </submenu>
  229 +
  230 + <submenu>
  231 +
  232 + <attribute name='label' translatable='yes'>_Edit</attribute>
  233 +
  234 + <section>
  235 +
  236 + <item>
  237 + <attribute name="label" translatable="yes">Copy</attribute>
  238 + <attribute name="action">win.copy</attribute>
  239 + </item>
  240 +
  241 + <item>
  242 + <attribute name="label" translatable="yes">Copy as text</attribute>
  243 + <attribute name="action">win.copy-text</attribute>
  244 + </item>
  245 +
  246 + <item>
  247 + <attribute name="label" translatable="yes">Copy as table</attribute>
  248 + <attribute name="action">win.copy-table</attribute>
  249 + </item>
  250 +
  251 + <item>
  252 + <attribute name="label" translatable="yes">Append to copy</attribute>
  253 + <attribute name="action">win.copy-append</attribute>
  254 + </item>
  255 +
  256 + <item>
  257 + <attribute name="label" translatable="yes">Cut</attribute>
  258 + <attribute name="action">win.cut</attribute>
  259 + </item>
  260 +
  261 + <item>
  262 + <attribute name="label" translatable="yes">Paste from clipboard</attribute>
  263 + <attribute name="action">win.paste</attribute>
  264 + </item>
  265 +
  266 + <item>
  267 + <attribute name="label" translatable="yes">Paste next</attribute>
  268 + <attribute name="action">win.paste-next</attribute>
  269 + </item>
  270 +
  271 + <item>
  272 + <attribute name="label" translatable="yes">Paste from text file</attribute>
  273 + <attribute name="action">win.paste-file</attribute>
  274 + </item>
  275 +
  276 + </section>
  277 +
  278 + <section>
  279 +
  280 + <item>
  281 + <attribute name="label" translatable="yes">Select all</attribute>
  282 + <attribute name="action">win.select-all</attribute>
  283 + </item>
  284 +
  285 + <item>
  286 + <attribute name="label" translatable="yes">Select Field</attribute>
  287 + <attribute name="action">win.select-field</attribute>
  288 + </item>
  289 +
  290 + <item>
  291 + <attribute name="label" translatable="yes">Unselect</attribute>
  292 + <attribute name="action">win.unselect</attribute>
  293 + </item>
  294 +
  295 + <item>
  296 + <attribute name="label" translatable="yes">Reselect</attribute>
  297 + <attribute name="action">win.reselect</attribute>
  298 + </item>
  299 +
  300 + </section>
  301 +
  302 + <section>
  303 +
  304 + <item>
  305 + <attribute name="label" translatable="yes">Clear</attribute>
  306 + <attribute name="action">win.clear</attribute>
  307 + </item>
  308 +
  309 + <item>
  310 + <attribute name="label" translatable="yes">Erase input</attribute>
  311 + <attribute name="action">win.erase-input</attribute>
  312 + </item>
  313 +
  314 + <item>
  315 + <attribute name="label" translatable="yes">Delete Field</attribute>
  316 + <attribute name="action">win.delete-field</attribute>
  317 + </item>
  318 +
  319 + <item>
  320 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  321 + <attribute name="action">win.erase-eof</attribute>
  322 + </item>
  323 +
  324 + <item>
  325 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  326 + <attribute name="action">win.erase-eol</attribute>
  327 + </item>
  328 +
  329 + </section>
  330 +
  331 + </submenu>
  332 +
  333 + <submenu id="view-menu-placeholder">
  334 +
  335 + <attribute name='label' translatable='yes'>_View</attribute>
  336 +
  337 + <item>
  338 + <attribute name="label" translatable="yes">Trace</attribute>
  339 + <attribute name="action">win.trace</attribute>
  340 + </item>
  341 +
  342 + <item>
  343 + <attribute name="label" translatable="yes">Toolbar</attribute>
  344 + <attribute name="action">win.toolbar</attribute>
  345 + </item>
  346 +
  347 + <item>
  348 + <attribute name="label" translatable="yes">Menu</attribute>
  349 + <attribute name="action">win.menubar</attribute>
  350 + </item>
  351 +
  352 + <item>
  353 + <attribute name="label" translatable="yes">Field attributes</attribute>
  354 + <attribute name="action">win.fieldattr</attribute>
  355 + </item>
  356 +
  357 + </submenu>
  358 +
  359 + <submenu>
  360 +
  361 + <attribute name='label' translatable='yes'>_Network</attribute>
  362 +
  363 + <!-- item>
  364 + <attribute name="label" translatable="yes">Host properties</attribute>
  365 + <attribute name="action">win.host.properties</attribute>
  366 + </item -->
  367 +
  368 + <item>
  369 + <attribute name="label" translatable="yes">_Connect</attribute>
  370 + <attribute name="action">win.connect</attribute>
  371 + </item>
  372 +
  373 + <item>
  374 + <attribute name="label" translatable="yes">_Disconnect</attribute>
  375 + <attribute name="action">win.disconnect</attribute>
  376 + </item>
  377 +
  378 + </submenu>
  379 +
  380 + <submenu>
  381 +
  382 + <attribute name='label' translatable='yes'>Settings</attribute>
  383 +
  384 + <item>
  385 + <attribute name="label" translatable="yes">Application</attribute>
  386 + <attribute name="action">app.preferences</attribute>
  387 + </item>
  388 +
  389 + <item>
  390 + <attribute name="label" translatable="yes">Host and Emulation settings</attribute>
  391 + <attribute name="action">win.dialog-host</attribute>
  392 + </item>
  393 +
  394 + <item>
  395 + <attribute name="label" translatable="yes">Keyboard accelerators</attribute>
  396 + <attribute name="action">win.dialog-keyboard</attribute>
  397 + </item>
  398 +
  399 + <item>
  400 + <attribute name="label" translatable="yes">Clipboard</attribute>
  401 + <attribute name="action">win.dialog-clipboard</attribute>
  402 + </item>
  403 +
  404 + <item>
  405 + <attribute name="label" translatable="yes">Terminal colors</attribute>
  406 + <attribute name="action">win.dialog-colors</attribute>
  407 + </item>
  408 +
  409 + <!-- item>
  410 + <attribute name="label" translatable="yes">Current session</attribute>
  411 + <attribute name="action">win.session.properties</attribute>
  412 + </item -->
  413 +
  414 + <submenu>
  415 +
  416 + <attribute name="label" translatable="yes">Screen size</attribute>
  417 +
  418 + <item>
  419 + <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
  420 + <attribute name="action">win.model-number</attribute>
  421 + <attribute name="target">2</attribute>
  422 + </item>
  423 + <item>
  424 + <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
  425 + <attribute name="action">win.model-number</attribute>
  426 + <attribute name="target">3</attribute>
  427 + </item>
  428 + <item>
  429 + <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
  430 + <attribute name="action">win.model-number</attribute>
  431 + <attribute name="target">4</attribute>
  432 + </item>
  433 + <item>
  434 + <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
  435 + <attribute name="action">win.model-number</attribute>
  436 + <attribute name="target">5</attribute>
  437 + </item>
  438 +
  439 + </submenu>
  440 +
  441 + <submenu id='font-select-placeholder'>
  442 + <attribute name="label" translatable="yes">Terminal font</attribute>
  443 + </submenu>
  444 +
  445 + <submenu>
  446 +
  447 + <attribute name='label' translatable='yes'>Options</attribute>
  448 +
  449 + <item>
  450 + <attribute name="label" translatable="yes">Connect on startup</attribute>
  451 + <attribute name="action">win.autoconnect</attribute>
  452 + </item>
  453 +
  454 + <item>
  455 + <attribute name="label" translatable="yes">Blinking Cursor</attribute>
  456 + <attribute name="action">win.cursorblink</attribute>
  457 + </item>
  458 +
  459 + <item>
  460 + <attribute name="label" translatable="yes">Monocase</attribute>
  461 + <attribute name="action">win.monocase</attribute>
  462 + </item>
  463 +
  464 + <item>
  465 + <attribute name="label" translatable="yes">Track Cursor</attribute>
  466 + <attribute name="action">win.cursorpos</attribute>
  467 + </item>
  468 +
  469 + <item>
  470 + <attribute name="label" translatable="yes">Full Screen</attribute>
  471 + <attribute name="action">win.fullscreen</attribute>
  472 + </item>
  473 +
  474 + <item>
  475 + <attribute name="label" translatable="yes">Cross hair cursor</attribute>
  476 + <attribute name="action">win.crosshair</attribute>
  477 + </item>
  478 +
  479 + <item>
  480 + <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
  481 + <attribute name="action">win.altscreen</attribute>
  482 + </item>
  483 +
  484 + <item>
  485 + <attribute name="label" translatable="yes">Paste with left margin</attribute>
  486 + <attribute name="action">win.marginedpaste</attribute>
  487 + </item>
  488 +
  489 + <item>
  490 + <attribute name="label" translatable="yes">Blank Fill</attribute>
  491 + <attribute name="action">win.blankfill</attribute>
  492 + </item>
  493 +
  494 + <item>
  495 + <attribute name="label" translatable="yes">Select by rectangles</attribute>
  496 + <attribute name="action">win.rectselect</attribute>
  497 + </item>
  498 +
  499 + <item>
  500 + <attribute name="label" translatable="yes">Auto-Reconnect</attribute>
  501 + <attribute name="action">win.autoreconnect</attribute>
  502 + </item>
  503 +
  504 + <item>
  505 + <attribute name="label" translatable="yes">Bold</attribute>
  506 + <attribute name="action">win.bold</attribute>
  507 + </item>
  508 +
  509 + <item>
  510 + <attribute name="label" translatable="yes">Show Underline</attribute>
  511 + <attribute name="action">win.underline</attribute>
  512 + </item>
  513 +
  514 + <item>
  515 + <attribute name="label" translatable="yes">Keep selected</attribute>
  516 + <attribute name="action">win.keepselected</attribute>
  517 + </item>
  518 +
  519 + <item>
  520 + <attribute name="label" translatable="yes">Smart paste</attribute>
  521 + <attribute name="action">win.smartpaste</attribute>
  522 + </item>
  523 +
  524 + <item>
  525 + <attribute name="label" translatable="yes">Alert sound</attribute>
  526 + <attribute name="action">win.beep</attribute>
  527 + </item>
  528 +
  529 + <item>
  530 + <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
  531 + <attribute name="action">win.kpalternative</attribute>
  532 + </item>
  533 +
  534 + <item>
  535 + <attribute name="label" translatable="yes">Network keep alive</attribute>
  536 + <attribute name="action">win.keepalive</attribute>
  537 + </item>
  538 +
  539 + <item>
  540 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  541 + <attribute name="action">win.dynamic-font-spacing</attribute>
  542 + </item>
  543 +
  544 + </submenu>
  545 +
  546 + </submenu>
  547 +
  548 + <submenu id="help-menu-placeholder">
  549 +
  550 + <attribute name='label' translatable='yes'>Help</attribute>
  551 +
  552 + <item>
  553 + <attribute name="label" translatable="yes">About PW3270</attribute>
  554 + <attribute name="action">app.about</attribute>
  555 + </item>
  556 +
  557 + </submenu>
  558 +
  559 + </menu>
  560 +
  561 + <menu id="open-menu">
  562 +
  563 + <submenu>
  564 +
  565 + <attribute name='label' translatable='yes'>_New</attribute>
  566 +
  567 + <item>
  568 + <attribute name="label" translatable="yes">Window with default session</attribute>
  569 + <attribute name="action">app.window.new</attribute>
  570 + </item>
  571 +
  572 + <item>
  573 + <attribute name="label" translatable="yes">Tab with default session</attribute>
  574 + <attribute name="action">app.new.tab</attribute>
  575 + </item>
  576 +
  577 + </submenu>
  578 +
  579 + <submenu>
  580 +
  581 + <attribute name='label' translatable='yes'>_Open</attribute>
  582 +
  583 + <item>
  584 + <attribute name="label" translatable="yes">Session</attribute>
  585 + <attribute name="action">app.open.session</attribute>
  586 + </item>
  587 +
  588 + <item>
  589 + <attribute name="label" translatable="yes">Session in new window</attribute>
  590 + <attribute name="action">app.open.session.window</attribute>
  591 + </item>
  592 +
  593 + <item>
  594 + <attribute name="label" translatable="yes">Session in New Tab</attribute>
  595 + <attribute name="action">app.open.session.tab</attribute>
  596 + </item>
  597 +
  598 + </submenu>
  599 +
  600 + <submenu>
  601 +
  602 + <attribute name='label' translatable='yes'>Save</attribute>
  603 +
  604 + <section>
  605 +
  606 + <item>
  607 + <attribute name="label" translatable="yes">Current screen</attribute>
  608 + <attribute name="action">win.save-all</attribute>
  609 + </item>
  610 +
  611 + <item>
  612 + <attribute name="label" translatable="yes">Selected area</attribute>
  613 + <attribute name="action">win.save-selected</attribute>
  614 + </item>
  615 +
  616 + <item>
  617 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  618 + <attribute name="action">win.save-copy</attribute>
  619 + </item>
  620 +
  621 + </section>
  622 +
  623 + <section>
  624 +
  625 + <item>
  626 + <attribute name="label" translatable="yes">Shortcut for this session</attribute>
  627 + <attribute name="action">win.save.launcher</attribute>
  628 + </item>
  629 +
  630 + <item>
  631 + <attribute name="label" translatable="yes">Session preferences</attribute>
  632 + <attribute name="action">win.save.session.preferences</attribute>
  633 + </item>
  634 +
  635 + </section>
  636 +
  637 + </submenu>
  638 +
  639 + <submenu>
  640 +
  641 + <attribute name='label' translatable='yes'>Print</attribute>
  642 +
  643 + <item>
  644 + <attribute name="label" translatable="yes">Current Screen</attribute>
  645 + <attribute name="action">win.print-all</attribute>
  646 + </item>
  647 +
  648 + <item>
  649 + <attribute name="label" translatable="yes">Selected area</attribute>
  650 + <attribute name="action">win.print-selected</attribute>
  651 + </item>
  652 +
  653 + <item>
  654 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  655 + <attribute name="action">win.print-copy</attribute>
  656 + </item>
  657 +
  658 + </submenu>
  659 +
  660 + <submenu id='preferences-menu'>
  661 +
  662 + <attribute name='label' translatable='yes'>Preferences</attribute>
  663 +
  664 + <item>
  665 + <attribute name="label" translatable="yes">Application</attribute>
  666 + <attribute name="action">app.preferences</attribute>
  667 + </item>
  668 +
  669 + <item>
  670 + <attribute name="label" translatable="yes">Current session</attribute>
  671 + <attribute name="action">win.session.properties</attribute>
  672 + </item>
  673 +
  674 + </submenu>
  675 +
  676 + </menu>
  677 +
  678 + <menu id="popup-over-selected-area">
  679 +
  680 + <submenu>
  681 + <attribute name='label' translatable='yes'>_Edit</attribute>
  682 +
  683 + <section>
  684 +
  685 + <item>
  686 + <attribute name="label" translatable="yes">Copy</attribute>
  687 + <attribute name="action">win.copy</attribute>
  688 + </item>
  689 +
  690 + <item>
  691 + <attribute name="label" translatable="yes">Append to copy</attribute>
  692 + <attribute name="action">win.copy-append</attribute>
  693 + </item>
  694 +
  695 + <item>
  696 + <attribute name="label" translatable="yes">Copy as text</attribute>
  697 + <attribute name="action">win.copy-text</attribute>
  698 + </item>
  699 +
  700 + <item>
  701 + <attribute name="label" translatable="yes">Copy as table</attribute>
  702 + <attribute name="action">win.copy-table</attribute>
  703 + </item>
  704 +
  705 + <item>
  706 + <attribute name="label" translatable="yes">Copy as HTML</attribute>
  707 + <attribute name="action">win.copy-html</attribute>
  708 + </item>
  709 +
  710 + <item>
  711 + <attribute name="label" translatable="yes">Copy as image</attribute>
  712 + <attribute name="action">win.copy-pixbuff</attribute>
  713 + </item>
  714 +
  715 + <item>
  716 + <attribute name="label" translatable="yes">Cut</attribute>
  717 + <attribute name="action">win.cut</attribute>
  718 + </item>
  719 +
  720 + </section>
  721 +
  722 + <section>
  723 +
  724 + <item>
  725 + <attribute name="label" translatable="yes">Clear</attribute>
  726 + <attribute name="action">win.clear</attribute>
  727 + </item>
  728 +
  729 + <item>
  730 + <attribute name="label" translatable="yes">Erase input</attribute>
  731 + <attribute name="action">win.erase-input</attribute>
  732 + </item>
  733 +
  734 + <item>
  735 + <attribute name="label" translatable="yes">Delete Field</attribute>
  736 + <attribute name="action">win.delete-field</attribute>
  737 + </item>
  738 +
  739 + <item>
  740 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  741 + <attribute name="action">win.erase-eof</attribute>
  742 + </item>
  743 +
  744 + <item>
  745 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  746 + <attribute name="action">win.erase-eol</attribute>
  747 + </item>
  748 +
  749 + </section>
  750 +
  751 + </submenu>
  752 +
  753 + <submenu>
  754 +
  755 + <attribute name='label' translatable='yes'>Options</attribute>
  756 +
  757 + <section>
  758 +
  759 + <item>
  760 + <attribute name="label" translatable="yes">Select by rectangles</attribute>
  761 + <attribute name="action">win.rectselect</attribute>
  762 + </item>
  763 +
  764 + </section>
  765 +
  766 + <section>
  767 +
  768 + <item>
  769 + <attribute name="label" translatable="yes">Show toolbar</attribute>
  770 + <attribute name="action">win.toolbar</attribute>
  771 + </item>
  772 +
  773 + <item>
  774 + <attribute name="label" translatable="yes">Show menu</attribute>
  775 + <attribute name="action">win.menubar</attribute>
  776 + </item>
  777 +
  778 + <item>
  779 + <attribute name="label" translatable="yes">Full screen</attribute>
  780 + <attribute name="action">win.fullscreen</attribute>
  781 + </item>
  782 +
  783 + </section>
  784 +
  785 + </submenu>
  786 +
  787 + <section>
  788 +
  789 + <item>
  790 + <attribute name="label" translatable="yes">Save selected</attribute>
  791 + <attribute name="action">win.save-selected</attribute>
  792 + </item>
  793 +
  794 + <item>
  795 + <attribute name="label" translatable="yes">Print selected</attribute>
  796 + <attribute name="action">win.print-selected</attribute>
  797 + </item>
  798 +
  799 + <item>
  800 + <attribute name="label" translatable="yes">Unselect</attribute>
  801 + <attribute name="action">win.unselect</attribute>
  802 + </item>
  803 +
  804 + </section>
  805 +
  806 + <section>
  807 + <item>
  808 + <attribute name="label" translatable="yes">Disconnect</attribute>
  809 + <attribute name="action">win.disconnect</attribute>
  810 + </item>
  811 +
  812 + <item>
  813 + <attribute name="label" translatable="yes">Close window</attribute>
  814 + <attribute name="action">win.close</attribute>
  815 + </item>
  816 + </section>
  817 +
  818 + </menu>
  819 +
  820 + <menu id="popup-over-unselected-area">
  821 +
  822 + <submenu>
  823 +
  824 + <attribute name='label' translatable='yes'>_Edit</attribute>
  825 +
  826 + <section>
  827 +
  828 + <item>
  829 + <attribute name="label" translatable="yes">Paste from clipboard</attribute>
  830 + <attribute name="action">win.paste</attribute>
  831 + </item>
  832 +
  833 + <item>
  834 + <attribute name="label" translatable="yes">Paste next</attribute>
  835 + <attribute name="action">win.paste-next</attribute>
  836 + </item>
  837 +
  838 + <item>
  839 + <attribute name="label" translatable="yes">Paste from text file</attribute>
  840 + <attribute name="action">win.paste-file</attribute>
  841 + </item>
  842 +
  843 + </section>
  844 +
  845 + <section>
  846 +
  847 + <item>
  848 + <attribute name="label" translatable="yes">Select all</attribute>
  849 + <attribute name="action">win.select-all</attribute>
  850 + </item>
  851 +
  852 + <item>
  853 + <attribute name="label" translatable="yes">Select Field</attribute>
  854 + <attribute name="action">win.select-field</attribute>
  855 + </item>
  856 +
  857 + <item>
  858 + <attribute name="label" translatable="yes">Reselect</attribute>
  859 + <attribute name="action">win.reselect</attribute>
  860 + </item>
  861 +
  862 + </section>
  863 +
  864 + <section>
  865 +
  866 + <item>
  867 + <attribute name="label" translatable="yes">Clear</attribute>
  868 + <attribute name="action">win.clear</attribute>
  869 + </item>
  870 +
  871 + <item>
  872 + <attribute name="label" translatable="yes">Erase input</attribute>
  873 + <attribute name="action">win.erase-input</attribute>
  874 + </item>
  875 +
  876 + <item>
  877 + <attribute name="label" translatable="yes">Delete Field</attribute>
  878 + <attribute name="action">win.delete-field</attribute>
  879 + </item>
  880 +
  881 + <item>
  882 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  883 + <attribute name="action">win.erase-eof</attribute>
  884 + </item>
  885 +
  886 + <item>
  887 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  888 + <attribute name="action">win.erase-eol</attribute>
  889 + </item>
  890 +
  891 + </section>
  892 +
  893 + </submenu>
  894 +
  895 + <submenu>
  896 +
  897 + <attribute name='label' translatable='yes'>Options</attribute>
  898 +
  899 + <section>
  900 +
  901 + <item>
  902 + <attribute name="label" translatable="yes">Cross hair cursor</attribute>
  903 + <attribute name="action">win.crosshair</attribute>
  904 + </item>
  905 +
  906 + <item>
  907 + <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
  908 + <attribute name="action">win.kpalternative</attribute>
  909 + </item>
  910 +
  911 + <item>
  912 + <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
  913 + <attribute name="action">win.altscreen</attribute>
  914 + </item>
  915 +
  916 + <item>
  917 + <attribute name="label" translatable="yes">Alert sound</attribute>
  918 + <attribute name="action">win.beep</attribute>
  919 + </item>
  920 +
  921 + </section>
  922 +
  923 + <item>
  924 + <attribute name="label" translatable="yes">Monocase</attribute>
  925 + <attribute name="action">win.monocase</attribute>
  926 + </item>
  927 +
  928 + <item>
  929 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  930 + <attribute name="action">win.dynamic-font-spacing</attribute>
  931 + </item>
  932 +
  933 + <section>
  934 +
  935 + <item>
  936 + <attribute name="label" translatable="yes">Smart paste</attribute>
  937 + <attribute name="action">win.smartpaste</attribute>
  938 + </item>
  939 +
  940 + <item>
  941 + <attribute name="label" translatable="yes">Paste with left margin</attribute>
  942 + <attribute name="action">win.marginedpaste</attribute>
  943 + </item>
  944 +
  945 + <item>
  946 + <attribute name="label" translatable="yes">Blank Fill</attribute>
  947 + <attribute name="action">win.blankfill</attribute>
  948 + </item>
  949 +
  950 + </section>
  951 +
  952 + <section>
  953 +
  954 + <item>
  955 + <attribute name="label" translatable="yes">Full screen</attribute>
  956 + <attribute name="action">win.fullscreen</attribute>
  957 + </item>
  958 +
  959 + </section>
  960 +
  961 + </submenu>
  962 +
  963 + <submenu id="view-when-online-placeholder">
  964 +
  965 + <attribute name='label' translatable='yes'>View</attribute>
  966 +
  967 + <item>
  968 + <attribute name="label" translatable="yes">Toolbar</attribute>
  969 + <attribute name="action">win.toolbar</attribute>
  970 + </item>
  971 +
  972 + <item>
  973 + <attribute name="label" translatable="yes">Top menu</attribute>
  974 + <attribute name="action">win.menubar</attribute>
  975 + </item>
  976 +
  977 + <item>
  978 + <attribute name="label" translatable="yes">Session Trace</attribute>
  979 + <attribute name="action">win.trace</attribute>
  980 + </item>
  981 +
  982 + </submenu>
  983 +
  984 + <section>
  985 +
  986 + <item>
  987 + <attribute name="label" translatable="yes">Save screen</attribute>
  988 + <attribute name="action">win.save-all</attribute>
  989 + </item>
  990 +
  991 + <item>
  992 + <attribute name="label" translatable="yes">Print screen</attribute>
  993 + <attribute name="action">win.print-all</attribute>
  994 + </item>
  995 +
  996 + <item>
  997 + <attribute name="label" translatable="yes">Send/Receive files</attribute>
  998 + <attribute name="action">win.file.transfer</attribute>
  999 + </item>
  1000 +
  1001 + </section>
  1002 +
  1003 + <section>
  1004 +
  1005 + <item>
  1006 + <attribute name="label" translatable="yes">Disconnect</attribute>
  1007 + <attribute name="action">win.disconnect</attribute>
  1008 + </item>
  1009 +
  1010 + <item>
  1011 + <attribute name="label" translatable="yes">Close window</attribute>
  1012 + <attribute name="action">win.close</attribute>
  1013 + </item>
  1014 +
  1015 + </section>
  1016 +
  1017 + </menu>
  1018 +
  1019 + <menu id="popup-over-oia">
  1020 +
  1021 + <item>
  1022 + <attribute name="label" translatable="yes">Insert</attribute>
  1023 + <attribute name="action">win.insert</attribute>
  1024 + </item>
  1025 +
  1026 + <item>
  1027 + <attribute name="label" translatable="yes">Track Cursor</attribute>
  1028 + <attribute name="action">win.cursorpos</attribute>
  1029 + </item>
  1030 +
  1031 + <item>
  1032 + <attribute name="label" translatable="yes">Alert sound</attribute>
  1033 + <attribute name="action">win.beep</attribute>
  1034 + </item>
  1035 +
  1036 + </menu>
  1037 +
  1038 + <menu id="popup-when-offline">
  1039 +
  1040 + <submenu>
  1041 +
  1042 + <attribute name='label' translatable='yes'>Options</attribute>
  1043 +
  1044 + <item>
  1045 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  1046 + <attribute name="action">win.dynamic-font-spacing</attribute>
  1047 + </item>
  1048 +
  1049 + <item>
  1050 + <attribute name="label" translatable="yes">Full screen</attribute>
  1051 + <attribute name="action">win.fullscreen</attribute>
  1052 + </item>
  1053 +
  1054 + <submenu>
  1055 +
  1056 + <attribute name="label" translatable="yes">Screen size</attribute>
  1057 +
  1058 + <item>
  1059 + <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
  1060 + <attribute name="action">win.model-number</attribute>
  1061 + <attribute name="target">2</attribute>
  1062 + </item>
  1063 + <item>
  1064 + <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
  1065 + <attribute name="action">win.model-number</attribute>
  1066 + <attribute name="target">3</attribute>
  1067 + </item>
  1068 + <item>
  1069 + <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
  1070 + <attribute name="action">win.model-number</attribute>
  1071 + <attribute name="target">4</attribute>
  1072 + </item>
  1073 + <item>
  1074 + <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
  1075 + <attribute name="action">win.model-number</attribute>
  1076 + <attribute name="target">5</attribute>
  1077 + </item>
  1078 +
  1079 + </submenu>
  1080 +
  1081 + </submenu>
  1082 +
  1083 + <submenu id="view-when-offline-placeholder">
  1084 +
  1085 + <attribute name='label' translatable='yes'>View</attribute>
  1086 +
  1087 + <item>
  1088 + <attribute name="label" translatable="yes">Toolbar</attribute>
  1089 + <attribute name="action">win.toolbar</attribute>
  1090 + </item>
  1091 +
  1092 + <item>
  1093 + <attribute name="label" translatable="yes">Main menu</attribute>
  1094 + <attribute name="action">win.menubar</attribute>
  1095 + </item>
  1096 +
  1097 + <item>
  1098 + <attribute name="label" translatable="yes">Session Trace</attribute>
  1099 + <attribute name="action">win.trace</attribute>
  1100 + </item>
  1101 +
  1102 + </submenu>
  1103 +
  1104 + <section>
  1105 +
  1106 + <item>
  1107 + <attribute name="label" translatable="yes">_Connect</attribute>
  1108 + <attribute name="action">win.connect</attribute>
  1109 + </item>
  1110 +
  1111 + <item>
  1112 + <attribute name="label" translatable="yes">Session preferences</attribute>
  1113 + <attribute name="action">win.session.properties</attribute>
  1114 + </item>
  1115 +
  1116 +
  1117 + <item>
  1118 + <attribute name="label" translatable="yes">Close window</attribute>
  1119 + <attribute name="action">win.close</attribute>
  1120 + </item>
  1121 +
  1122 + </section>
  1123 +
  1124 + </menu>
  1125 +
  1126 +</interface>
... ...
ui/window.xml
... ... @@ -1,598 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!--
3   -
4   - Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
5   - (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
6   - aplicativos mainframe. Registro no INPI sob o nome G3270.
7   -
8   - Copyright (C) <2008> <Banco do Brasil S.A.>
9   -
10   - Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
11   - os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
12   - Free Software Foundation.
13   -
14   - Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
15   - GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
16   - A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
17   - obter mais detalhes.
18   -
19   - Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
20   - programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
21   - St, Fifth Floor, Boston, MA 02110-1301 USA
22   -
23   -
24   - Contatos:
25   -
26   - perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
27   - erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
28   -
29   --->
30   -<interface>
31   -
32   - <requires lib="gtk+" version="3.0"/>
33   - <menu id="open-menu">
34   -
35   - <submenu>
36   -
37   - <attribute name='label' translatable='yes'>_New</attribute>
38   -
39   - <item>
40   - <attribute name="label" translatable="yes">Window with default session</attribute>
41   - <attribute name="action">app.window.new</attribute>
42   - </item>
43   -
44   - <item>
45   - <attribute name="label" translatable="yes">Tab with default session</attribute>
46   - <attribute name="action">app.new.tab</attribute>
47   - </item>
48   -
49   - </submenu>
50   -
51   - <submenu>
52   -
53   - <attribute name='label' translatable='yes'>_Open</attribute>
54   -
55   - <item>
56   - <attribute name="label" translatable="yes">Session</attribute>
57   - <attribute name="action">app.open.session</attribute>
58   - </item>
59   -
60   - <item>
61   - <attribute name="label" translatable="yes">Session in new window</attribute>
62   - <attribute name="action">app.open.session.window</attribute>
63   - </item>
64   -
65   - <item>
66   - <attribute name="label" translatable="yes">Session in New Tab</attribute>
67   - <attribute name="action">app.open.session.tab</attribute>
68   - </item>
69   -
70   - </submenu>
71   -
72   - <submenu>
73   -
74   - <attribute name='label' translatable='yes'>Save</attribute>
75   -
76   - <section>
77   -
78   - <item>
79   - <attribute name="label" translatable="yes">Current screen</attribute>
80   - <attribute name="action">win.save-all</attribute>
81   - </item>
82   -
83   - <item>
84   - <attribute name="label" translatable="yes">Selected area</attribute>
85   - <attribute name="action">win.save-selected</attribute>
86   - </item>
87   -
88   - <item>
89   - <attribute name="label" translatable="yes">Clipboard contents</attribute>
90   - <attribute name="action">win.save-copy</attribute>
91   - </item>
92   -
93   - </section>
94   -
95   - <section>
96   -
97   - <item>
98   - <attribute name="label" translatable="yes">Shortcut for this session</attribute>
99   - <attribute name="action">win.save.launcher</attribute>
100   - </item>
101   -
102   - <item>
103   - <attribute name="label" translatable="yes">Session preferences</attribute>
104   - <attribute name="action">win.save.session.preferences</attribute>
105   - </item>
106   -
107   - </section>
108   -
109   - </submenu>
110   -
111   - <submenu>
112   -
113   - <attribute name='label' translatable='yes'>Print</attribute>
114   -
115   - <item>
116   - <attribute name="label" translatable="yes">Current Screen</attribute>
117   - <attribute name="action">win.print-all</attribute>
118   - </item>
119   -
120   - <item>
121   - <attribute name="label" translatable="yes">Selected area</attribute>
122   - <attribute name="action">win.print-selected</attribute>
123   - </item>
124   -
125   - <item>
126   - <attribute name="label" translatable="yes">Clipboard contents</attribute>
127   - <attribute name="action">win.print-copy</attribute>
128   - </item>
129   -
130   - </submenu>
131   -
132   - <submenu id='preferences-menu'>
133   -
134   - <attribute name='label' translatable='yes'>Preferences</attribute>
135   -
136   - <item>
137   - <attribute name="label" translatable="yes">Application</attribute>
138   - <attribute name="action">app.preferences</attribute>
139   - </item>
140   -
141   - <item>
142   - <attribute name="label" translatable="yes">Current session</attribute>
143   - <attribute name="action">win.session.properties</attribute>
144   - </item>
145   -
146   - </submenu>
147   -
148   - </menu>
149   -
150   - <menu id="popup-over-selected-area">
151   -
152   - <submenu>
153   - <attribute name='label' translatable='yes'>_Edit</attribute>
154   -
155   - <section>
156   -
157   - <item>
158   - <attribute name="label" translatable="yes">Copy</attribute>
159   - <attribute name="action">win.copy</attribute>
160   - </item>
161   -
162   - <item>
163   - <attribute name="label" translatable="yes">Copy as text</attribute>
164   - <attribute name="action">win.copy-text</attribute>
165   - </item>
166   -
167   - <item>
168   - <attribute name="label" translatable="yes">Copy as table</attribute>
169   - <attribute name="action">win.copy-table</attribute>
170   - </item>
171   -
172   - <item>
173   - <attribute name="label" translatable="yes">Copy as HTML</attribute>
174   - <attribute name="action">win.copy-html</attribute>
175   - </item>
176   -
177   - <item>
178   - <attribute name="label" translatable="yes">Copy as image</attribute>
179   - <attribute name="action">win.copy-pixbuff</attribute>
180   - </item>
181   -
182   - <item>
183   - <attribute name="label" translatable="yes">Append to copy</attribute>
184   - <attribute name="action">win.copy-append</attribute>
185   - </item>
186   -
187   - <item>
188   - <attribute name="label" translatable="yes">Cut</attribute>
189   - <attribute name="action">win.cut</attribute>
190   - </item>
191   -
192   - </section>
193   -
194   - <section>
195   -
196   - <item>
197   - <attribute name="label" translatable="yes">Clear</attribute>
198   - <attribute name="action">win.clear</attribute>
199   - </item>
200   -
201   - <item>
202   - <attribute name="label" translatable="yes">Erase input</attribute>
203   - <attribute name="action">win.erase-input</attribute>
204   - </item>
205   -
206   - <item>
207   - <attribute name="label" translatable="yes">Delete Field</attribute>
208   - <attribute name="action">win.delete-field</attribute>
209   - </item>
210   -
211   - <item>
212   - <attribute name="label" translatable="yes">Erase to end of field</attribute>
213   - <attribute name="action">win.erase-eof</attribute>
214   - </item>
215   -
216   - <item>
217   - <attribute name="label" translatable="yes">Erase to end of line</attribute>
218   - <attribute name="action">win.erase-eol</attribute>
219   - </item>
220   -
221   - </section>
222   -
223   - </submenu>
224   -
225   - <submenu>
226   -
227   - <attribute name='label' translatable='yes'>Options</attribute>
228   -
229   - <section>
230   -
231   - <item>
232   - <attribute name="label" translatable="yes">Select by rectangles</attribute>
233   - <attribute name="action">win.rectselect</attribute>
234   - </item>
235   -
236   - </section>
237   -
238   - <section>
239   -
240   - <item>
241   - <attribute name="label" translatable="yes">Show toolbar</attribute>
242   - <attribute name="action">win.toolbar</attribute>
243   - </item>
244   -
245   - <item>
246   - <attribute name="label" translatable="yes">Show menu</attribute>
247   - <attribute name="action">win.menubar</attribute>
248   - </item>
249   -
250   - <item>
251   - <attribute name="label" translatable="yes">Full screen</attribute>
252   - <attribute name="action">win.fullscreen</attribute>
253   - </item>
254   -
255   - </section>
256   -
257   - </submenu>
258   -
259   - <section>
260   -
261   - <item>
262   - <attribute name="label" translatable="yes">Save selected</attribute>
263   - <attribute name="action">win.save-selected</attribute>
264   - </item>
265   -
266   - <item>
267   - <attribute name="label" translatable="yes">Print selected</attribute>
268   - <attribute name="action">win.print-selected</attribute>
269   - </item>
270   -
271   - <item>
272   - <attribute name="label" translatable="yes">Unselect</attribute>
273   - <attribute name="action">win.unselect</attribute>
274   - </item>
275   -
276   - </section>
277   -
278   - <section>
279   - <item>
280   - <attribute name="label" translatable="yes">Disconnect</attribute>
281   - <attribute name="action">win.disconnect</attribute>
282   - </item>
283   -
284   - <item>
285   - <attribute name="label" translatable="yes">Close window</attribute>
286   - <attribute name="action">win.close</attribute>
287   - </item>
288   - </section>
289   -
290   - </menu>
291   -
292   - <menu id="popup-over-unselected-area">
293   -
294   - <submenu>
295   -
296   - <attribute name='label' translatable='yes'>_Edit</attribute>
297   -
298   - <section>
299   -
300   - <item>
301   - <attribute name="label" translatable="yes">Paste from clipboard</attribute>
302   - <attribute name="action">win.paste</attribute>
303   - </item>
304   -
305   - <item>
306   - <attribute name="label" translatable="yes">Paste next</attribute>
307   - <attribute name="action">win.paste-next</attribute>
308   - </item>
309   -
310   - <item>
311   - <attribute name="label" translatable="yes">Paste from text file</attribute>
312   - <attribute name="action">win.paste-file</attribute>
313   - </item>
314   -
315   - </section>
316   -
317   - <section>
318   -
319   - <item>
320   - <attribute name="label" translatable="yes">Select all</attribute>
321   - <attribute name="action">win.select-all</attribute>
322   - </item>
323   -
324   - <item>
325   - <attribute name="label" translatable="yes">Select Field</attribute>
326   - <attribute name="action">win.select-field</attribute>
327   - </item>
328   -
329   - <item>
330   - <attribute name="label" translatable="yes">Reselect</attribute>
331   - <attribute name="action">win.reselect</attribute>
332   - </item>
333   -
334   - </section>
335   -
336   - <section>
337   -
338   - <item>
339   - <attribute name="label" translatable="yes">Clear</attribute>
340   - <attribute name="action">win.clear</attribute>
341   - </item>
342   -
343   - <item>
344   - <attribute name="label" translatable="yes">Erase input</attribute>
345   - <attribute name="action">win.erase-input</attribute>
346   - </item>
347   -
348   - <item>
349   - <attribute name="label" translatable="yes">Delete Field</attribute>
350   - <attribute name="action">win.delete-field</attribute>
351   - </item>
352   -
353   - <item>
354   - <attribute name="label" translatable="yes">Erase to end of field</attribute>
355   - <attribute name="action">win.erase-eof</attribute>
356   - </item>
357   -
358   - <item>
359   - <attribute name="label" translatable="yes">Erase to end of line</attribute>
360   - <attribute name="action">win.erase-eol</attribute>
361   - </item>
362   -
363   - </section>
364   -
365   - </submenu>
366   -
367   - <submenu>
368   -
369   - <attribute name='label' translatable='yes'>Options</attribute>
370   -
371   - <section>
372   -
373   - <item>
374   - <attribute name="label" translatable="yes">Cross hair cursor</attribute>
375   - <attribute name="action">win.crosshair</attribute>
376   - </item>
377   -
378   - <item>
379   - <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
380   - <attribute name="action">win.kpalternative</attribute>
381   - </item>
382   -
383   - <item>
384   - <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
385   - <attribute name="action">win.altscreen</attribute>
386   - </item>
387   -
388   - <item>
389   - <attribute name="label" translatable="yes">Alert sound</attribute>
390   - <attribute name="action">win.beep</attribute>
391   - </item>
392   -
393   - </section>
394   -
395   - <item>
396   - <attribute name="label" translatable="yes">Monocase</attribute>
397   - <attribute name="action">win.monocase</attribute>
398   - </item>
399   -
400   - <item>
401   - <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
402   - <attribute name="action">win.dynamic-font-spacing</attribute>
403   - </item>
404   -
405   - <section>
406   -
407   - <item>
408   - <attribute name="label" translatable="yes">Smart paste</attribute>
409   - <attribute name="action">win.smartpaste</attribute>
410   - </item>
411   -
412   - <item>
413   - <attribute name="label" translatable="yes">Paste with left margin</attribute>
414   - <attribute name="action">win.marginedpaste</attribute>
415   - </item>
416   -
417   - <item>
418   - <attribute name="label" translatable="yes">Blank Fill</attribute>
419   - <attribute name="action">win.blankfill</attribute>
420   - </item>
421   -
422   - </section>
423   -
424   - <section>
425   -
426   - <item>
427   - <attribute name="label" translatable="yes">Full screen</attribute>
428   - <attribute name="action">win.fullscreen</attribute>
429   - </item>
430   -
431   - </section>
432   -
433   - </submenu>
434   -
435   - <submenu id="view-when-online-placeholder">
436   -
437   - <attribute name='label' translatable='yes'>View</attribute>
438   -
439   - <item>
440   - <attribute name="label" translatable="yes">Toolbar</attribute>
441   - <attribute name="action">win.toolbar</attribute>
442   - </item>
443   -
444   - <item>
445   - <attribute name="label" translatable="yes">Top menu</attribute>
446   - <attribute name="action">win.menubar</attribute>
447   - </item>
448   -
449   - <item>
450   - <attribute name="label" translatable="yes">Session Trace</attribute>
451   - <attribute name="action">win.trace</attribute>
452   - </item>
453   -
454   - </submenu>
455   -
456   - <section>
457   -
458   - <item>
459   - <attribute name="label" translatable="yes">Save screen</attribute>
460   - <attribute name="action">win.save-all</attribute>
461   - </item>
462   -
463   - <item>
464   - <attribute name="label" translatable="yes">Print screen</attribute>
465   - <attribute name="action">win.print-all</attribute>
466   - </item>
467   -
468   - <item>
469   - <attribute name="label" translatable="yes">Send/Receive files</attribute>
470   - <attribute name="action">win.file.transfer</attribute>
471   - </item>
472   -
473   - </section>
474   -
475   - <section>
476   -
477   - <item>
478   - <attribute name="label" translatable="yes">Disconnect</attribute>
479   - <attribute name="action">win.disconnect</attribute>
480   - </item>
481   -
482   - <item>
483   - <attribute name="label" translatable="yes">Close window</attribute>
484   - <attribute name="action">win.close</attribute>
485   - </item>
486   -
487   - </section>
488   -
489   - </menu>
490   -
491   - <menu id="popup-over-oia">
492   -
493   - <item>
494   - <attribute name="label" translatable="yes">Insert</attribute>
495   - <attribute name="action">win.insert</attribute>
496   - </item>
497   -
498   - <item>
499   - <attribute name="label" translatable="yes">Track Cursor</attribute>
500   - <attribute name="action">win.cursorpos</attribute>
501   - </item>
502   -
503   - <item>
504   - <attribute name="label" translatable="yes">Alert sound</attribute>
505   - <attribute name="action">win.beep</attribute>
506   - </item>
507   -
508   - </menu>
509   -
510   - <menu id="popup-when-offline">
511   -
512   - <submenu>
513   -
514   - <attribute name='label' translatable='yes'>Options</attribute>
515   -
516   - <item>
517   - <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
518   - <attribute name="action">win.dynamic-font-spacing</attribute>
519   - </item>
520   -
521   - <item>
522   - <attribute name="label" translatable="yes">Full screen</attribute>
523   - <attribute name="action">win.fullscreen</attribute>
524   - </item>
525   -
526   - <submenu>
527   -
528   - <attribute name="label" translatable="yes">Screen size</attribute>
529   -
530   - <item>
531   - <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
532   - <attribute name="action">win.model-number</attribute>
533   - <attribute name="target">2</attribute>
534   - </item>
535   - <item>
536   - <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
537   - <attribute name="action">win.model-number</attribute>
538   - <attribute name="target">3</attribute>
539   - </item>
540   - <item>
541   - <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
542   - <attribute name="action">win.model-number</attribute>
543   - <attribute name="target">4</attribute>
544   - </item>
545   - <item>
546   - <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
547   - <attribute name="action">win.model-number</attribute>
548   - <attribute name="target">5</attribute>
549   - </item>
550   -
551   - </submenu>
552   -
553   - </submenu>
554   -
555   - <submenu id="view-when-offline-placeholder">
556   -
557   - <attribute name='label' translatable='yes'>View</attribute>
558   -
559   - <item>
560   - <attribute name="label" translatable="yes">Toolbar</attribute>
561   - <attribute name="action">win.toolbar</attribute>
562   - </item>
563   -
564   - <item>
565   - <attribute name="label" translatable="yes">Main menu</attribute>
566   - <attribute name="action">win.menubar</attribute>
567   - </item>
568   -
569   - <item>
570   - <attribute name="label" translatable="yes">Session Trace</attribute>
571   - <attribute name="action">win.trace</attribute>
572   - </item>
573   -
574   - </submenu>
575   -
576   - <section>
577   -
578   - <item>
579   - <attribute name="label" translatable="yes">_Connect</attribute>
580   - <attribute name="action">win.connect</attribute>
581   - </item>
582   -
583   - <item>
584   - <attribute name="label" translatable="yes">Session preferences</attribute>
585   - <attribute name="action">win.session.properties</attribute>
586   - </item>
587   -
588   -
589   - <item>
590   - <attribute name="label" translatable="yes">Close window</attribute>
591   - <attribute name="action">win.close</attribute>
592   - </item>
593   -
594   - </section>
595   -
596   - </menu>
597   -
598   -</interface>
ui/windows.ui.xml 0 → 100644
... ... @@ -0,0 +1,1126 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 +
  4 + Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
  5 + (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
  6 + aplicativos mainframe. Registro no INPI sob o nome G3270.
  7 +
  8 + Copyright (C) <2008> <Banco do Brasil S.A.>
  9 +
  10 + Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
  11 + os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
  12 + Free Software Foundation.
  13 +
  14 + Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
  15 + GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
  16 + A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
  17 + obter mais detalhes.
  18 +
  19 + Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
  20 + programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin
  21 + St, Fifth Floor, Boston, MA 02110-1301 USA
  22 +
  23 +
  24 + Contatos:
  25 +
  26 + perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
  27 + erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)
  28 +
  29 +-->
  30 +<interface>
  31 + <requires lib="gtk+" version="3.0"/>
  32 +
  33 + <menu id="app-menu">
  34 +
  35 + <submenu id="help-menu-placeholder">
  36 +
  37 + <attribute name='label' translatable='yes'>Help</attribute>
  38 +
  39 + <item>
  40 + <attribute name="label" translatable="yes">About PW3270</attribute>
  41 + <attribute name="action">app.about</attribute>
  42 + </item>
  43 +
  44 + </submenu>
  45 +
  46 + <submenu>
  47 +
  48 + <attribute name='label' translatable='yes'>Session</attribute>
  49 +
  50 + <item>
  51 + <attribute name="label" translatable="yes">Open in New Window</attribute>
  52 + <attribute name="action">app.open.session.window</attribute>
  53 + </item>
  54 +
  55 + <item>
  56 + <attribute name="label" translatable="yes">Open in New Tab</attribute>
  57 + <attribute name="action">app.open.session.tab</attribute>
  58 + </item>
  59 +
  60 + </submenu>
  61 +
  62 + <submenu id="view-menu-placeholder">
  63 +
  64 + <attribute name='label' translatable='yes'>View</attribute>
  65 +
  66 + <item>
  67 + <attribute name="label" translatable="yes">Main Toolbar</attribute>
  68 + <attribute name="action">win.toolbar</attribute>
  69 + </item>
  70 +
  71 + <item>
  72 + <attribute name="label" translatable="yes">Main Menu</attribute>
  73 + <attribute name="action">win.menubar</attribute>
  74 + </item>
  75 +
  76 + <item>
  77 + <attribute name="label" translatable="yes">Session Trace</attribute>
  78 + <attribute name="action">win.trace</attribute>
  79 + </item>
  80 +
  81 + </submenu>
  82 +
  83 + <item>
  84 + <attribute name="label" translatable="yes">Application preferences</attribute>
  85 + <attribute name="action">app.preferences</attribute>
  86 + </item>
  87 +
  88 + <item>
  89 + <attribute name="label" translatable="yes">Quit</attribute>
  90 + <attribute name="action">app.quit</attribute>
  91 + </item>
  92 +
  93 + </menu>
  94 +
  95 + <menu id='menubar'>
  96 +
  97 + <submenu>
  98 +
  99 + <attribute name='label' translatable='yes'>_File</attribute>
  100 +
  101 + <submenu>
  102 +
  103 + <attribute name='label' translatable='yes'>_New</attribute>
  104 +
  105 + <item>
  106 + <attribute name="label" translatable="yes">Window with default session</attribute>
  107 + <attribute name="action">app.window.new</attribute>
  108 + </item>
  109 +
  110 + <item>
  111 + <attribute name="label" translatable="yes">Tab with default session</attribute>
  112 + <attribute name="action">app.new.tab</attribute>
  113 + </item>
  114 +
  115 + </submenu>
  116 +
  117 + <submenu>
  118 +
  119 + <attribute name='label' translatable='yes'>_Open</attribute>
  120 +
  121 + <item>
  122 + <attribute name="label" translatable="yes">Session in new window</attribute>
  123 + <attribute name="action">app.open.session.window</attribute>
  124 + </item>
  125 +
  126 + <item>
  127 + <attribute name="label" translatable="yes">Session in New Tab</attribute>
  128 + <attribute name="action">app.open.session.tab</attribute>
  129 + </item>
  130 +
  131 + </submenu>
  132 +
  133 + <submenu>
  134 +
  135 + <attribute name='label' translatable='yes'>Save</attribute>
  136 +
  137 + <section>
  138 +
  139 + <item>
  140 + <attribute name="label" translatable="yes">Current screen</attribute>
  141 + <attribute name="action">win.save-all</attribute>
  142 + </item>
  143 +
  144 + <item>
  145 + <attribute name="label" translatable="yes">Selected area</attribute>
  146 + <attribute name="action">win.save-selected</attribute>
  147 + </item>
  148 +
  149 + <item>
  150 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  151 + <attribute name="action">win.save-copy</attribute>
  152 + </item>
  153 +
  154 + </section>
  155 +
  156 + <section>
  157 +
  158 + <item>
  159 + <attribute name="label" translatable="yes">Shortcut for this session</attribute>
  160 + <attribute name="action">win.save.launcher</attribute>
  161 + </item>
  162 +
  163 + <item>
  164 + <attribute name="label" translatable="yes">Session preferences</attribute>
  165 + <attribute name="action">win.save.session.preferences</attribute>
  166 + </item>
  167 +
  168 + </section>
  169 +
  170 + </submenu>
  171 +
  172 + <submenu>
  173 +
  174 + <attribute name='label' translatable='yes'>Print</attribute>
  175 +
  176 + <item>
  177 + <attribute name="label" translatable="yes">Current Screen</attribute>
  178 + <attribute name="action">win.print-all</attribute>
  179 + </item>
  180 +
  181 + <item>
  182 + <attribute name="label" translatable="yes">Selected area</attribute>
  183 + <attribute name="action">win.print-selected</attribute>
  184 + </item>
  185 +
  186 + <item>
  187 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  188 + <attribute name="action">win.print-copy</attribute>
  189 + </item>
  190 +
  191 + </submenu>
  192 +
  193 + <section>
  194 +
  195 + <item>
  196 + <attribute name="label" translatable="yes">Send/Receive files</attribute>
  197 + <attribute name="action">win.file.transfer</attribute>
  198 + </item>
  199 +
  200 + <!-- submenu>
  201 +
  202 + <attribute name='label' translatable='yes'>Preferences</attribute>
  203 +
  204 + <item>
  205 + <attribute name="label" translatable="yes">Application</attribute>
  206 + <attribute name="action">app.preferences</attribute>
  207 + </item>
  208 +
  209 + <item>
  210 + <attribute name="label" translatable="yes">Current session</attribute>
  211 + <attribute name="action">win.session.properties</attribute>
  212 + </item>
  213 +
  214 + </submenu -->
  215 +
  216 + <item>
  217 + <attribute name="label" translatable="yes">Close window</attribute>
  218 + <attribute name="action">win.close</attribute>
  219 + </item>
  220 +
  221 + <!-- item>
  222 + <attribute name="label" translatable="yes">Quit application</attribute>
  223 + <attribute name="action">app.quit</attribute>
  224 + </item -->
  225 +
  226 + </section>
  227 +
  228 + </submenu>
  229 +
  230 + <submenu>
  231 +
  232 + <attribute name='label' translatable='yes'>_Edit</attribute>
  233 +
  234 + <section>
  235 +
  236 + <item>
  237 + <attribute name="label" translatable="yes">Copy</attribute>
  238 + <attribute name="action">win.copy</attribute>
  239 + </item>
  240 +
  241 + <item>
  242 + <attribute name="label" translatable="yes">Copy as text</attribute>
  243 + <attribute name="action">win.copy-text</attribute>
  244 + </item>
  245 +
  246 + <item>
  247 + <attribute name="label" translatable="yes">Copy as table</attribute>
  248 + <attribute name="action">win.copy-table</attribute>
  249 + </item>
  250 +
  251 + <item>
  252 + <attribute name="label" translatable="yes">Append to copy</attribute>
  253 + <attribute name="action">win.copy-append</attribute>
  254 + </item>
  255 +
  256 + <item>
  257 + <attribute name="label" translatable="yes">Cut</attribute>
  258 + <attribute name="action">win.cut</attribute>
  259 + </item>
  260 +
  261 + <item>
  262 + <attribute name="label" translatable="yes">Paste from clipboard</attribute>
  263 + <attribute name="action">win.paste</attribute>
  264 + </item>
  265 +
  266 + <item>
  267 + <attribute name="label" translatable="yes">Paste next</attribute>
  268 + <attribute name="action">win.paste-next</attribute>
  269 + </item>
  270 +
  271 + <item>
  272 + <attribute name="label" translatable="yes">Paste from text file</attribute>
  273 + <attribute name="action">win.paste-file</attribute>
  274 + </item>
  275 +
  276 + </section>
  277 +
  278 + <section>
  279 +
  280 + <item>
  281 + <attribute name="label" translatable="yes">Select all</attribute>
  282 + <attribute name="action">win.select-all</attribute>
  283 + </item>
  284 +
  285 + <item>
  286 + <attribute name="label" translatable="yes">Select Field</attribute>
  287 + <attribute name="action">win.select-field</attribute>
  288 + </item>
  289 +
  290 + <item>
  291 + <attribute name="label" translatable="yes">Unselect</attribute>
  292 + <attribute name="action">win.unselect</attribute>
  293 + </item>
  294 +
  295 + <item>
  296 + <attribute name="label" translatable="yes">Reselect</attribute>
  297 + <attribute name="action">win.reselect</attribute>
  298 + </item>
  299 +
  300 + </section>
  301 +
  302 + <section>
  303 +
  304 + <item>
  305 + <attribute name="label" translatable="yes">Clear</attribute>
  306 + <attribute name="action">win.clear</attribute>
  307 + </item>
  308 +
  309 + <item>
  310 + <attribute name="label" translatable="yes">Erase input</attribute>
  311 + <attribute name="action">win.erase-input</attribute>
  312 + </item>
  313 +
  314 + <item>
  315 + <attribute name="label" translatable="yes">Delete Field</attribute>
  316 + <attribute name="action">win.delete-field</attribute>
  317 + </item>
  318 +
  319 + <item>
  320 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  321 + <attribute name="action">win.erase-eof</attribute>
  322 + </item>
  323 +
  324 + <item>
  325 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  326 + <attribute name="action">win.erase-eol</attribute>
  327 + </item>
  328 +
  329 + </section>
  330 +
  331 + </submenu>
  332 +
  333 + <submenu id="view-menu-placeholder">
  334 +
  335 + <attribute name='label' translatable='yes'>_View</attribute>
  336 +
  337 + <item>
  338 + <attribute name="label" translatable="yes">Trace</attribute>
  339 + <attribute name="action">win.trace</attribute>
  340 + </item>
  341 +
  342 + <item>
  343 + <attribute name="label" translatable="yes">Toolbar</attribute>
  344 + <attribute name="action">win.toolbar</attribute>
  345 + </item>
  346 +
  347 + <item>
  348 + <attribute name="label" translatable="yes">Menu</attribute>
  349 + <attribute name="action">win.menubar</attribute>
  350 + </item>
  351 +
  352 + <item>
  353 + <attribute name="label" translatable="yes">Field attributes</attribute>
  354 + <attribute name="action">win.fieldattr</attribute>
  355 + </item>
  356 +
  357 + </submenu>
  358 +
  359 + <submenu>
  360 +
  361 + <attribute name='label' translatable='yes'>_Network</attribute>
  362 +
  363 + <!-- item>
  364 + <attribute name="label" translatable="yes">Host properties</attribute>
  365 + <attribute name="action">win.host.properties</attribute>
  366 + </item -->
  367 +
  368 + <item>
  369 + <attribute name="label" translatable="yes">_Connect</attribute>
  370 + <attribute name="action">win.connect</attribute>
  371 + </item>
  372 +
  373 + <item>
  374 + <attribute name="label" translatable="yes">_Disconnect</attribute>
  375 + <attribute name="action">win.disconnect</attribute>
  376 + </item>
  377 +
  378 + </submenu>
  379 +
  380 + <submenu>
  381 +
  382 + <attribute name='label' translatable='yes'>Settings</attribute>
  383 +
  384 + <item>
  385 + <attribute name="label" translatable="yes">Application</attribute>
  386 + <attribute name="action">app.preferences</attribute>
  387 + </item>
  388 +
  389 + <item>
  390 + <attribute name="label" translatable="yes">Host and Emulation settings</attribute>
  391 + <attribute name="action">win.dialog-host</attribute>
  392 + </item>
  393 +
  394 + <item>
  395 + <attribute name="label" translatable="yes">Keyboard accelerators</attribute>
  396 + <attribute name="action">win.dialog-keyboard</attribute>
  397 + </item>
  398 +
  399 + <item>
  400 + <attribute name="label" translatable="yes">Clipboard</attribute>
  401 + <attribute name="action">win.dialog-clipboard</attribute>
  402 + </item>
  403 +
  404 + <item>
  405 + <attribute name="label" translatable="yes">Terminal colors</attribute>
  406 + <attribute name="action">win.dialog-colors</attribute>
  407 + </item>
  408 +
  409 + <!-- item>
  410 + <attribute name="label" translatable="yes">Current session</attribute>
  411 + <attribute name="action">win.session.properties</attribute>
  412 + </item -->
  413 +
  414 + <submenu>
  415 +
  416 + <attribute name="label" translatable="yes">Screen size</attribute>
  417 +
  418 + <item>
  419 + <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
  420 + <attribute name="action">win.model-number</attribute>
  421 + <attribute name="target">2</attribute>
  422 + </item>
  423 + <item>
  424 + <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
  425 + <attribute name="action">win.model-number</attribute>
  426 + <attribute name="target">3</attribute>
  427 + </item>
  428 + <item>
  429 + <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
  430 + <attribute name="action">win.model-number</attribute>
  431 + <attribute name="target">4</attribute>
  432 + </item>
  433 + <item>
  434 + <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
  435 + <attribute name="action">win.model-number</attribute>
  436 + <attribute name="target">5</attribute>
  437 + </item>
  438 +
  439 + </submenu>
  440 +
  441 + <submenu id='font-select-placeholder'>
  442 + <attribute name="label" translatable="yes">Terminal font</attribute>
  443 + </submenu>
  444 +
  445 + <submenu>
  446 +
  447 + <attribute name='label' translatable='yes'>Options</attribute>
  448 +
  449 + <item>
  450 + <attribute name="label" translatable="yes">Connect on startup</attribute>
  451 + <attribute name="action">win.autoconnect</attribute>
  452 + </item>
  453 +
  454 + <item>
  455 + <attribute name="label" translatable="yes">Blinking Cursor</attribute>
  456 + <attribute name="action">win.cursorblink</attribute>
  457 + </item>
  458 +
  459 + <item>
  460 + <attribute name="label" translatable="yes">Monocase</attribute>
  461 + <attribute name="action">win.monocase</attribute>
  462 + </item>
  463 +
  464 + <item>
  465 + <attribute name="label" translatable="yes">Track Cursor</attribute>
  466 + <attribute name="action">win.cursorpos</attribute>
  467 + </item>
  468 +
  469 + <item>
  470 + <attribute name="label" translatable="yes">Full Screen</attribute>
  471 + <attribute name="action">win.fullscreen</attribute>
  472 + </item>
  473 +
  474 + <item>
  475 + <attribute name="label" translatable="yes">Cross hair cursor</attribute>
  476 + <attribute name="action">win.crosshair</attribute>
  477 + </item>
  478 +
  479 + <item>
  480 + <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
  481 + <attribute name="action">win.altscreen</attribute>
  482 + </item>
  483 +
  484 + <item>
  485 + <attribute name="label" translatable="yes">Paste with left margin</attribute>
  486 + <attribute name="action">win.marginedpaste</attribute>
  487 + </item>
  488 +
  489 + <item>
  490 + <attribute name="label" translatable="yes">Blank Fill</attribute>
  491 + <attribute name="action">win.blankfill</attribute>
  492 + </item>
  493 +
  494 + <item>
  495 + <attribute name="label" translatable="yes">Select by rectangles</attribute>
  496 + <attribute name="action">win.rectselect</attribute>
  497 + </item>
  498 +
  499 + <item>
  500 + <attribute name="label" translatable="yes">Auto-Reconnect</attribute>
  501 + <attribute name="action">win.autoreconnect</attribute>
  502 + </item>
  503 +
  504 + <item>
  505 + <attribute name="label" translatable="yes">Bold</attribute>
  506 + <attribute name="action">win.bold</attribute>
  507 + </item>
  508 +
  509 + <item>
  510 + <attribute name="label" translatable="yes">Show Underline</attribute>
  511 + <attribute name="action">win.underline</attribute>
  512 + </item>
  513 +
  514 + <item>
  515 + <attribute name="label" translatable="yes">Keep selected</attribute>
  516 + <attribute name="action">win.keepselected</attribute>
  517 + </item>
  518 +
  519 + <item>
  520 + <attribute name="label" translatable="yes">Smart paste</attribute>
  521 + <attribute name="action">win.smartpaste</attribute>
  522 + </item>
  523 +
  524 + <item>
  525 + <attribute name="label" translatable="yes">Alert sound</attribute>
  526 + <attribute name="action">win.beep</attribute>
  527 + </item>
  528 +
  529 + <item>
  530 + <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
  531 + <attribute name="action">win.kpalternative</attribute>
  532 + </item>
  533 +
  534 + <item>
  535 + <attribute name="label" translatable="yes">Network keep alive</attribute>
  536 + <attribute name="action">win.keepalive</attribute>
  537 + </item>
  538 +
  539 + <item>
  540 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  541 + <attribute name="action">win.dynamic-font-spacing</attribute>
  542 + </item>
  543 +
  544 + </submenu>
  545 +
  546 + </submenu>
  547 +
  548 + <submenu id="help-menu-placeholder">
  549 +
  550 + <attribute name='label' translatable='yes'>Help</attribute>
  551 +
  552 + <item>
  553 + <attribute name="label" translatable="yes">About PW3270</attribute>
  554 + <attribute name="action">app.about</attribute>
  555 + </item>
  556 +
  557 + </submenu>
  558 +
  559 + </menu>
  560 +
  561 + <menu id="open-menu">
  562 +
  563 + <submenu>
  564 +
  565 + <attribute name='label' translatable='yes'>_New</attribute>
  566 +
  567 + <item>
  568 + <attribute name="label" translatable="yes">Window with default session</attribute>
  569 + <attribute name="action">app.window.new</attribute>
  570 + </item>
  571 +
  572 + <item>
  573 + <attribute name="label" translatable="yes">Tab with default session</attribute>
  574 + <attribute name="action">app.new.tab</attribute>
  575 + </item>
  576 +
  577 + </submenu>
  578 +
  579 + <submenu>
  580 +
  581 + <attribute name='label' translatable='yes'>_Open</attribute>
  582 +
  583 + <item>
  584 + <attribute name="label" translatable="yes">Session</attribute>
  585 + <attribute name="action">app.open.session</attribute>
  586 + </item>
  587 +
  588 + <item>
  589 + <attribute name="label" translatable="yes">Session in new window</attribute>
  590 + <attribute name="action">app.open.session.window</attribute>
  591 + </item>
  592 +
  593 + <item>
  594 + <attribute name="label" translatable="yes">Session in New Tab</attribute>
  595 + <attribute name="action">app.open.session.tab</attribute>
  596 + </item>
  597 +
  598 + </submenu>
  599 +
  600 + <submenu>
  601 +
  602 + <attribute name='label' translatable='yes'>Save</attribute>
  603 +
  604 + <section>
  605 +
  606 + <item>
  607 + <attribute name="label" translatable="yes">Current screen</attribute>
  608 + <attribute name="action">win.save-all</attribute>
  609 + </item>
  610 +
  611 + <item>
  612 + <attribute name="label" translatable="yes">Selected area</attribute>
  613 + <attribute name="action">win.save-selected</attribute>
  614 + </item>
  615 +
  616 + <item>
  617 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  618 + <attribute name="action">win.save-copy</attribute>
  619 + </item>
  620 +
  621 + </section>
  622 +
  623 + <section>
  624 +
  625 + <item>
  626 + <attribute name="label" translatable="yes">Shortcut for this session</attribute>
  627 + <attribute name="action">win.save.launcher</attribute>
  628 + </item>
  629 +
  630 + <item>
  631 + <attribute name="label" translatable="yes">Session preferences</attribute>
  632 + <attribute name="action">win.save.session.preferences</attribute>
  633 + </item>
  634 +
  635 + </section>
  636 +
  637 + </submenu>
  638 +
  639 + <submenu>
  640 +
  641 + <attribute name='label' translatable='yes'>Print</attribute>
  642 +
  643 + <item>
  644 + <attribute name="label" translatable="yes">Current Screen</attribute>
  645 + <attribute name="action">win.print-all</attribute>
  646 + </item>
  647 +
  648 + <item>
  649 + <attribute name="label" translatable="yes">Selected area</attribute>
  650 + <attribute name="action">win.print-selected</attribute>
  651 + </item>
  652 +
  653 + <item>
  654 + <attribute name="label" translatable="yes">Clipboard contents</attribute>
  655 + <attribute name="action">win.print-copy</attribute>
  656 + </item>
  657 +
  658 + </submenu>
  659 +
  660 + <submenu id='preferences-menu'>
  661 +
  662 + <attribute name='label' translatable='yes'>Preferences</attribute>
  663 +
  664 + <item>
  665 + <attribute name="label" translatable="yes">Application</attribute>
  666 + <attribute name="action">app.preferences</attribute>
  667 + </item>
  668 +
  669 + <item>
  670 + <attribute name="label" translatable="yes">Current session</attribute>
  671 + <attribute name="action">win.session.properties</attribute>
  672 + </item>
  673 +
  674 + </submenu>
  675 +
  676 + </menu>
  677 +
  678 + <menu id="popup-over-selected-area">
  679 +
  680 + <submenu>
  681 + <attribute name='label' translatable='yes'>_Edit</attribute>
  682 +
  683 + <section>
  684 +
  685 + <item>
  686 + <attribute name="label" translatable="yes">Copy</attribute>
  687 + <attribute name="action">win.copy</attribute>
  688 + </item>
  689 +
  690 + <item>
  691 + <attribute name="label" translatable="yes">Append to copy</attribute>
  692 + <attribute name="action">win.copy-append</attribute>
  693 + </item>
  694 +
  695 + <item>
  696 + <attribute name="label" translatable="yes">Copy as text</attribute>
  697 + <attribute name="action">win.copy-text</attribute>
  698 + </item>
  699 +
  700 + <item>
  701 + <attribute name="label" translatable="yes">Copy as table</attribute>
  702 + <attribute name="action">win.copy-table</attribute>
  703 + </item>
  704 +
  705 + <item>
  706 + <attribute name="label" translatable="yes">Copy as HTML</attribute>
  707 + <attribute name="action">win.copy-html</attribute>
  708 + </item>
  709 +
  710 + <item>
  711 + <attribute name="label" translatable="yes">Copy as image</attribute>
  712 + <attribute name="action">win.copy-pixbuff</attribute>
  713 + </item>
  714 +
  715 + <item>
  716 + <attribute name="label" translatable="yes">Cut</attribute>
  717 + <attribute name="action">win.cut</attribute>
  718 + </item>
  719 +
  720 + </section>
  721 +
  722 + <section>
  723 +
  724 + <item>
  725 + <attribute name="label" translatable="yes">Clear</attribute>
  726 + <attribute name="action">win.clear</attribute>
  727 + </item>
  728 +
  729 + <item>
  730 + <attribute name="label" translatable="yes">Erase input</attribute>
  731 + <attribute name="action">win.erase-input</attribute>
  732 + </item>
  733 +
  734 + <item>
  735 + <attribute name="label" translatable="yes">Delete Field</attribute>
  736 + <attribute name="action">win.delete-field</attribute>
  737 + </item>
  738 +
  739 + <item>
  740 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  741 + <attribute name="action">win.erase-eof</attribute>
  742 + </item>
  743 +
  744 + <item>
  745 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  746 + <attribute name="action">win.erase-eol</attribute>
  747 + </item>
  748 +
  749 + </section>
  750 +
  751 + </submenu>
  752 +
  753 + <submenu>
  754 +
  755 + <attribute name='label' translatable='yes'>Options</attribute>
  756 +
  757 + <section>
  758 +
  759 + <item>
  760 + <attribute name="label" translatable="yes">Select by rectangles</attribute>
  761 + <attribute name="action">win.rectselect</attribute>
  762 + </item>
  763 +
  764 + </section>
  765 +
  766 + <section>
  767 +
  768 + <item>
  769 + <attribute name="label" translatable="yes">Show toolbar</attribute>
  770 + <attribute name="action">win.toolbar</attribute>
  771 + </item>
  772 +
  773 + <item>
  774 + <attribute name="label" translatable="yes">Show menu</attribute>
  775 + <attribute name="action">win.menubar</attribute>
  776 + </item>
  777 +
  778 + <item>
  779 + <attribute name="label" translatable="yes">Full screen</attribute>
  780 + <attribute name="action">win.fullscreen</attribute>
  781 + </item>
  782 +
  783 + </section>
  784 +
  785 + </submenu>
  786 +
  787 + <section>
  788 +
  789 + <item>
  790 + <attribute name="label" translatable="yes">Save selected</attribute>
  791 + <attribute name="action">win.save-selected</attribute>
  792 + </item>
  793 +
  794 + <item>
  795 + <attribute name="label" translatable="yes">Print selected</attribute>
  796 + <attribute name="action">win.print-selected</attribute>
  797 + </item>
  798 +
  799 + <item>
  800 + <attribute name="label" translatable="yes">Unselect</attribute>
  801 + <attribute name="action">win.unselect</attribute>
  802 + </item>
  803 +
  804 + </section>
  805 +
  806 + <section>
  807 + <item>
  808 + <attribute name="label" translatable="yes">Disconnect</attribute>
  809 + <attribute name="action">win.disconnect</attribute>
  810 + </item>
  811 +
  812 + <item>
  813 + <attribute name="label" translatable="yes">Close window</attribute>
  814 + <attribute name="action">win.close</attribute>
  815 + </item>
  816 + </section>
  817 +
  818 + </menu>
  819 +
  820 + <menu id="popup-over-unselected-area">
  821 +
  822 + <submenu>
  823 +
  824 + <attribute name='label' translatable='yes'>_Edit</attribute>
  825 +
  826 + <section>
  827 +
  828 + <item>
  829 + <attribute name="label" translatable="yes">Paste from clipboard</attribute>
  830 + <attribute name="action">win.paste</attribute>
  831 + </item>
  832 +
  833 + <item>
  834 + <attribute name="label" translatable="yes">Paste next</attribute>
  835 + <attribute name="action">win.paste-next</attribute>
  836 + </item>
  837 +
  838 + <item>
  839 + <attribute name="label" translatable="yes">Paste from text file</attribute>
  840 + <attribute name="action">win.paste-file</attribute>
  841 + </item>
  842 +
  843 + </section>
  844 +
  845 + <section>
  846 +
  847 + <item>
  848 + <attribute name="label" translatable="yes">Select all</attribute>
  849 + <attribute name="action">win.select-all</attribute>
  850 + </item>
  851 +
  852 + <item>
  853 + <attribute name="label" translatable="yes">Select Field</attribute>
  854 + <attribute name="action">win.select-field</attribute>
  855 + </item>
  856 +
  857 + <item>
  858 + <attribute name="label" translatable="yes">Reselect</attribute>
  859 + <attribute name="action">win.reselect</attribute>
  860 + </item>
  861 +
  862 + </section>
  863 +
  864 + <section>
  865 +
  866 + <item>
  867 + <attribute name="label" translatable="yes">Clear</attribute>
  868 + <attribute name="action">win.clear</attribute>
  869 + </item>
  870 +
  871 + <item>
  872 + <attribute name="label" translatable="yes">Erase input</attribute>
  873 + <attribute name="action">win.erase-input</attribute>
  874 + </item>
  875 +
  876 + <item>
  877 + <attribute name="label" translatable="yes">Delete Field</attribute>
  878 + <attribute name="action">win.delete-field</attribute>
  879 + </item>
  880 +
  881 + <item>
  882 + <attribute name="label" translatable="yes">Erase to end of field</attribute>
  883 + <attribute name="action">win.erase-eof</attribute>
  884 + </item>
  885 +
  886 + <item>
  887 + <attribute name="label" translatable="yes">Erase to end of line</attribute>
  888 + <attribute name="action">win.erase-eol</attribute>
  889 + </item>
  890 +
  891 + </section>
  892 +
  893 + </submenu>
  894 +
  895 + <submenu>
  896 +
  897 + <attribute name='label' translatable='yes'>Options</attribute>
  898 +
  899 + <section>
  900 +
  901 + <item>
  902 + <attribute name="label" translatable="yes">Cross hair cursor</attribute>
  903 + <attribute name="action">win.crosshair</attribute>
  904 + </item>
  905 +
  906 + <item>
  907 + <attribute name="label" translatable="yes">Use +/- for field navigation</attribute>
  908 + <attribute name="action">win.kpalternative</attribute>
  909 + </item>
  910 +
  911 + <item>
  912 + <attribute name="label" translatable="yes">Resize on alternate screen</attribute>
  913 + <attribute name="action">win.altscreen</attribute>
  914 + </item>
  915 +
  916 + <item>
  917 + <attribute name="label" translatable="yes">Alert sound</attribute>
  918 + <attribute name="action">win.beep</attribute>
  919 + </item>
  920 +
  921 + </section>
  922 +
  923 + <item>
  924 + <attribute name="label" translatable="yes">Monocase</attribute>
  925 + <attribute name="action">win.monocase</attribute>
  926 + </item>
  927 +
  928 + <item>
  929 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  930 + <attribute name="action">win.dynamic-font-spacing</attribute>
  931 + </item>
  932 +
  933 + <section>
  934 +
  935 + <item>
  936 + <attribute name="label" translatable="yes">Smart paste</attribute>
  937 + <attribute name="action">win.smartpaste</attribute>
  938 + </item>
  939 +
  940 + <item>
  941 + <attribute name="label" translatable="yes">Paste with left margin</attribute>
  942 + <attribute name="action">win.marginedpaste</attribute>
  943 + </item>
  944 +
  945 + <item>
  946 + <attribute name="label" translatable="yes">Blank Fill</attribute>
  947 + <attribute name="action">win.blankfill</attribute>
  948 + </item>
  949 +
  950 + </section>
  951 +
  952 + <section>
  953 +
  954 + <item>
  955 + <attribute name="label" translatable="yes">Full screen</attribute>
  956 + <attribute name="action">win.fullscreen</attribute>
  957 + </item>
  958 +
  959 + </section>
  960 +
  961 + </submenu>
  962 +
  963 + <submenu id="view-when-online-placeholder">
  964 +
  965 + <attribute name='label' translatable='yes'>View</attribute>
  966 +
  967 + <item>
  968 + <attribute name="label" translatable="yes">Toolbar</attribute>
  969 + <attribute name="action">win.toolbar</attribute>
  970 + </item>
  971 +
  972 + <item>
  973 + <attribute name="label" translatable="yes">Top menu</attribute>
  974 + <attribute name="action">win.menubar</attribute>
  975 + </item>
  976 +
  977 + <item>
  978 + <attribute name="label" translatable="yes">Session Trace</attribute>
  979 + <attribute name="action">win.trace</attribute>
  980 + </item>
  981 +
  982 + </submenu>
  983 +
  984 + <section>
  985 +
  986 + <item>
  987 + <attribute name="label" translatable="yes">Save screen</attribute>
  988 + <attribute name="action">win.save-all</attribute>
  989 + </item>
  990 +
  991 + <item>
  992 + <attribute name="label" translatable="yes">Print screen</attribute>
  993 + <attribute name="action">win.print-all</attribute>
  994 + </item>
  995 +
  996 + <item>
  997 + <attribute name="label" translatable="yes">Send/Receive files</attribute>
  998 + <attribute name="action">win.file.transfer</attribute>
  999 + </item>
  1000 +
  1001 + </section>
  1002 +
  1003 + <section>
  1004 +
  1005 + <item>
  1006 + <attribute name="label" translatable="yes">Disconnect</attribute>
  1007 + <attribute name="action">win.disconnect</attribute>
  1008 + </item>
  1009 +
  1010 + <item>
  1011 + <attribute name="label" translatable="yes">Close window</attribute>
  1012 + <attribute name="action">win.close</attribute>
  1013 + </item>
  1014 +
  1015 + </section>
  1016 +
  1017 + </menu>
  1018 +
  1019 + <menu id="popup-over-oia">
  1020 +
  1021 + <item>
  1022 + <attribute name="label" translatable="yes">Insert</attribute>
  1023 + <attribute name="action">win.insert</attribute>
  1024 + </item>
  1025 +
  1026 + <item>
  1027 + <attribute name="label" translatable="yes">Track Cursor</attribute>
  1028 + <attribute name="action">win.cursorpos</attribute>
  1029 + </item>
  1030 +
  1031 + <item>
  1032 + <attribute name="label" translatable="yes">Alert sound</attribute>
  1033 + <attribute name="action">win.beep</attribute>
  1034 + </item>
  1035 +
  1036 + </menu>
  1037 +
  1038 + <menu id="popup-when-offline">
  1039 +
  1040 + <submenu>
  1041 +
  1042 + <attribute name='label' translatable='yes'>Options</attribute>
  1043 +
  1044 + <item>
  1045 + <attribute name="label" translatable="yes">Dynamic font spacing</attribute>
  1046 + <attribute name="action">win.dynamic-font-spacing</attribute>
  1047 + </item>
  1048 +
  1049 + <item>
  1050 + <attribute name="label" translatable="yes">Full screen</attribute>
  1051 + <attribute name="action">win.fullscreen</attribute>
  1052 + </item>
  1053 +
  1054 + <submenu>
  1055 +
  1056 + <attribute name="label" translatable="yes">Screen size</attribute>
  1057 +
  1058 + <item>
  1059 + <attribute name="label" translatable="yes">Model 2 - 80x24</attribute>
  1060 + <attribute name="action">win.model-number</attribute>
  1061 + <attribute name="target">2</attribute>
  1062 + </item>
  1063 + <item>
  1064 + <attribute name="label" translatable="yes">Model 3 - 80x32</attribute>
  1065 + <attribute name="action">win.model-number</attribute>
  1066 + <attribute name="target">3</attribute>
  1067 + </item>
  1068 + <item>
  1069 + <attribute name="label" translatable="yes">Model 4 - 80x43</attribute>
  1070 + <attribute name="action">win.model-number</attribute>
  1071 + <attribute name="target">4</attribute>
  1072 + </item>
  1073 + <item>
  1074 + <attribute name="label" translatable="yes">Model 5 - 132x27</attribute>
  1075 + <attribute name="action">win.model-number</attribute>
  1076 + <attribute name="target">5</attribute>
  1077 + </item>
  1078 +
  1079 + </submenu>
  1080 +
  1081 + </submenu>
  1082 +
  1083 + <submenu id="view-when-offline-placeholder">
  1084 +
  1085 + <attribute name='label' translatable='yes'>View</attribute>
  1086 +
  1087 + <item>
  1088 + <attribute name="label" translatable="yes">Toolbar</attribute>
  1089 + <attribute name="action">win.toolbar</attribute>
  1090 + </item>
  1091 +
  1092 + <item>
  1093 + <attribute name="label" translatable="yes">Main menu</attribute>
  1094 + <attribute name="action">win.menubar</attribute>
  1095 + </item>
  1096 +
  1097 + <item>
  1098 + <attribute name="label" translatable="yes">Session Trace</attribute>
  1099 + <attribute name="action">win.trace</attribute>
  1100 + </item>
  1101 +
  1102 + </submenu>
  1103 +
  1104 + <section>
  1105 +
  1106 + <item>
  1107 + <attribute name="label" translatable="yes">_Connect</attribute>
  1108 + <attribute name="action">win.connect</attribute>
  1109 + </item>
  1110 +
  1111 + <item>
  1112 + <attribute name="label" translatable="yes">Session preferences</attribute>
  1113 + <attribute name="action">win.session.properties</attribute>
  1114 + </item>
  1115 +
  1116 +
  1117 + <item>
  1118 + <attribute name="label" translatable="yes">Close window</attribute>
  1119 + <attribute name="action">win.close</attribute>
  1120 + </item>
  1121 +
  1122 + </section>
  1123 +
  1124 + </menu>
  1125 +
  1126 +</interface>
... ...
win/copydeps.sh.in
... ... @@ -2,7 +2,7 @@
2 2 myDIR=$(dirname $(readlink -f $0))
3 3  
4 4 # Updated by ./configure
5   -BASEDIR=@BASEDIR@
  5 +BUILDDIR=@BUILDDIR@
6 6 prefix=@prefix@
7 7  
8 8 # Crio diretório temporário
... ... @@ -79,8 +79,8 @@ libs_to_exclude=&quot;
79 79 #
80 80 # Fico em loop montando dependências
81 81 #
82   -APPLICATION_PATH=${BASEDIR}/.bin/Release
83   -RUNTIME_PATH=${BASEDIR}/.bin/runtime
  82 +APPLICATION_PATH=${BUILDDIR}/.bin/Release
  83 +RUNTIME_PATH=${BUILDDIR}/.bin/runtime
84 84  
85 85 mkdir -p ${RUNTIME_PATH}
86 86  
... ...
win/makeruntime.sh.in
... ... @@ -45,9 +45,9 @@ GTK_VERSION=&quot;gtk+-@GTK_VERSION@&quot;
45 45 GTK_PREFIX=$($PKG_CONFIG --variable=prefix ${GTK_VERSION})
46 46 GDK_LOADERS=$(${PKG_CONFIG} --variable=gdk_pixbuf_binarydir gdk-pixbuf-2.0 | sed -e "s@${prefix}@@g")
47 47  
48   -TARGET="@BASEDIR@/.bin/runtime"
49   -BINDIR="@BASEDIR@/.bin/Release/"
50   -SCHEMADIR="@BASEDIR@/schemas/"
  48 +TARGET="@BUILDDIR@/.bin/runtime"
  49 +BINDIR="@BUILDDIR@/.bin/Release/"
  50 +SCHEMADIR="@BUILDDIR@/schemas/"
51 51  
52 52 # Change to bin path
53 53 mkdir -p ${TARGET}
... ...
win/pack.sh
... ... @@ -614,32 +614,18 @@ copy_install_file() {
614 614 cp -v "${1}" "${FILENAME}"
615 615 fi
616 616  
617   - if [ -d ~/public_html/win/${PRODUCT_NAME} ]; then
  617 + if [ ! -z "${XDG_PUBLICSHARE_DIR}" ] && [ -d "${XDG_PUBLICSHARE_DIR}/win/${PRODUCT_NAME}" ]; then
618 618  
619   - mkdir -p "~/public_html/win/${TARGET_PATH}"
  619 + mkdir -p "${XDG_PUBLICSHARE_DIR}/win/${TARGET_PATH}"
620 620 if [ "$?" != "0" ]; then
621   - failed "Can't create ~/public_html/win/${TARGET_PATH}"
  621 + failed "Can't create ${XDG_PUBLICSHARE_DIR}/win/${TARGET_PATH}"
622 622 fi
623 623  
624 624 if [ "${CLEAR_TARGET_PATH}" == "1" ]; then
625   - rm -fr ~/public_html/win/${TARGET_PATH}/*
  625 + rm -fr ${XDG_PUBLICSHARE_DIR}/win/${TARGET_PATH}/*
626 626 fi
627 627  
628   - ln -f -v "${FILENAME}" ~/public_html/win/${TARGET_PATH}
629   - fi
630   -
631   - if [ ! -z "${XDG_PUBLICSHARE_DIR}" ] && [ -d "${XDG_PUBLICSHARE_DIR}/${PRODUCT_NAME}" ]; then
632   -
633   - mkdir -p "${XDG_PUBLICSHARE_DIR}/${TARGET_PATH}"
634   - if [ "$?" != "0" ]; then
635   - failed "Can't create ${XDG_PUBLICSHARE_DIR}/${TARGET_PATH}"
636   - fi
637   -
638   - if [ "${CLEAR_TARGET_PATH}" == "1" ]; then
639   - rm -fr ${XDG_PUBLICSHARE_DIR}/${TARGET_PATH}/*
640   - fi
641   -
642   - ln -f -v "${FILENAME}" ${XDG_PUBLICSHARE_DIR}/${TARGET_PATH}
  628 + ln -f -v "${FILENAME}" ${XDG_PUBLICSHARE_DIR}/win/${TARGET_PATH}
643 629  
644 630 fi
645 631  
... ...
win/pw3270.nsi.in
  1 +# SPDX-License-Identifier: LGPL-3.0-or-later
1 2 #
2   -# "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270
3   -# (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a
4   -# aplicativos mainframe. Registro no INPI sob o nome G3270.
  3 +# Copyright (C) 2021 Perry Werneck <perry.werneck@gmail.com>
5 4 #
6   -# Copyright (C) <2008> <Banco do Brasil S.A.>
  5 +# This program is free software: you can redistribute it and/or modify
  6 +# it under the terms of the GNU Lesser General Public License as published
  7 +# by the Free Software Foundation, either version 3 of the License, or
  8 +# (at your option) any later version.
7 9 #
8   -# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob
9   -# os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela
10   -# Free Software Foundation.
  10 +# This program is distributed in the hope that it will be useful,
  11 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13 +# GNU General Public License for more details.
11 14 #
12   -# Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER
13   -# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO
14   -# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para
15   -# obter mais detalhes.
16   -#
17   -# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este
18   -# programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple
19   -# Place, Suite 330, Boston, MA, 02111-1307, USA
20   -#
21   -# Contatos:
22   -#
23   -# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck)
24   -# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça)
  15 +# You should have received a copy of the GNU Lesser General Public License
  16 +# along with this program. If not, see <https://www.gnu.org/licenses/>.
25 17 #
26 18  
27 19 !include "MUI2.nsh"
... ...