From b7ff1dedb956e3e18ed79d4065a81422717f503d Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 3 May 2023 00:23:29 -0300 Subject: [PATCH] Implementing search for data files based on bundle *or* program path. --- locale/lib3270.pot | 2137 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/core/macos/util.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------- src/testprogram/testprogram.c | 3 +++ 3 files changed, 81 insertions(+), 2151 deletions(-) delete mode 100644 locale/lib3270.pot diff --git a/locale/lib3270.pot b/locale/lib3270.pot deleted file mode 100644 index 5449189..0000000 --- a/locale/lib3270.pot +++ /dev/null @@ -1,2137 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-21 08:38-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: src/core/ctlr.c:178 -#, c-format -msgid "%dx%d is negative or zero" -msgstr "" - -#: src/core/ctlr.c:190 -#, c-format -msgid "%dx%d screen size is bigger than the maximum size" -msgstr "" - -#: src/network_modules/tools.c:175 src/network_modules/tools.c:191 -#, c-format -msgid "%s" -msgstr "" - -#: src/core/keyboard/kybd.c:1763 -#, c-format -msgid "%s: Bell not supported" -msgstr "" - -#: src/core/keyboard/kybd.c:1908 -#, c-format -msgid "%s: Missing hex digits after \\x" -msgstr "" - -#: src/core/keyboard/kybd.c:1861 -#, c-format -msgid "%s: Unknown character after \\p" -msgstr "" - -#: src/core/keyboard/kybd.c:1889 -#, c-format -msgid "%s: Unknown character after \\pa" -msgstr "" - -#: src/core/keyboard/kybd.c:1872 -#, c-format -msgid "%s: Unknown character after \\pf" -msgstr "" - -#: src/core/keyboard/kybd.c:1814 -#, c-format -msgid "%s: Vertical tab not supported" -msgstr "" - -#: src/core/telnet.c:1785 -msgid "3270 Mode" -msgstr "" - -#: src/core/actions/table.c:678 -msgid "3270-style backspace" -msgstr "" - -#: src/network_modules/openssl/messages.c:314 -msgid "" -"A CA certificate is invalid. Either it is not a CA or its extensions are not " -"consistent with the supplied purpose." -msgstr "" - -#: src/core/actions/table.c:692 -msgid "ATTN key, per RFC 2355. Sends IP, regardless" -msgstr "" - -#: src/core/ft/ft.c:100 -msgid "Abort sent; awaiting response" -msgstr "" - -#: src/core/ft/ft.c:612 -msgid "Aborting..." -msgstr "" - -#: src/core/ft/ft.c:98 -msgid "Ack received, data flowing" -msgstr "" - -#: src/core/paste.c:373 -msgid "Action failed" -msgstr "" - -#: src/core/toggles/table.c:256 -msgid "Alert sound" -msgstr "" - -#: src/network_modules/openssl/start.c:264 -msgid "An EOF was observed that violates the protocol" -msgstr "" - -#: src/core/ft/ftmessages.c:67 -msgid "An error exists in the PC's file name." -msgstr "" - -#: src/core/ft/ftmessages.c:46 -msgid "" -"An error occurred in the file transfer, which may be an error in the data " -"being transferred, or an unidentified system error." -msgstr "" - -#: src/network_modules/openssl/messages.c:238 -msgid "An error occurred trying to allocate memory. This should never happen." -msgstr "" - -#: src/core/ft/ftmessages.c:102 -msgid "An invalid SEND or RECEIVE parameter was sent to the host." -msgstr "" - -#: src/core/actions/table.c:691 -msgid "Attn" -msgstr "" - -#: src/network_modules/openssl/messages.c:390 -msgid "Authority and issuer serial number mismatch" -msgstr "" - -#: src/network_modules/openssl/messages.c:379 -msgid "Authority and subject key identifier mismatch" -msgstr "" - -#: src/core/toggles/table.c:275 -msgid "Auto Resize" -msgstr "" - -#: src/core/toggles/table.c:318 src/core/toggles/table.c:319 -msgid "Auto-Reconnect" -msgstr "" - -#: src/core/toggles/table.c:236 -msgid "Automatically connect to host on startup" -msgstr "" - -#: src/core/toggles/table.c:115 -msgid "" -"Automatically convert trailing blanks in a field to NULLs in order to insert " -"a character, and will automatically convert leading NULLs to blanks so that " -"input data is not squeezed to the left" -msgstr "" - -#: src/core/toggles/table.c:320 -msgid "Automatically reconnect to the host if it ever disconnects" -msgstr "" - -#: src/core/ft/ft.c:99 -msgid "Awaiting chance to send an abort" -msgstr "" - -#: src/core/actions/table.c:677 -msgid "Back space" -msgstr "" - -#: src/core/actions/table.c:504 -msgid "Backspaces the cursor until it hits the front of a word" -msgstr "" - -#: src/core/windows/connect.c:123 -msgid "Bad winsock version" -msgstr "" - -#: src/core/toggles/table.c:257 -msgid "Beep on errors" -msgstr "" - -#: src/core/toggles/table.c:113 src/core/toggles/table.c:114 -msgid "Blank Fill" -msgstr "" - -#: src/core/toggles/table.c:62 src/core/toggles/table.c:63 -msgid "Blinking Cursor" -msgstr "" - -#: src/core/toggles/table.c:205 src/core/toggles/table.c:206 -msgid "Bold" -msgstr "" - -#: src/core/actions/table.c:705 src/core/actions/table.c:706 -msgid "Break" -msgstr "" - -#: src/network_modules/tools.c:113 -msgid "Broken pipe" -msgstr "" - -#: src/core/ft/ftmessages.c:215 -msgid "CMS disk is full: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:208 -msgid "CMS disk is not accessed: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:201 -msgid "CMS disk is read-only: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:194 -msgid "CMS file not found: file transfer canceled" -msgstr "" - -#: src/network_modules/openssl/messages.c:134 -msgid "CRL signature failure" -msgstr "" - -#: src/core/toggles/init.c:83 src/core/linux/connect.c:334 -#: src/core/windows/connect.c:372 src/core/macos/connect.c:334 -#, c-format -msgid "Can't %s network keep-alive" -msgstr "" - -#: src/core/windows/ldap.c:149 -msgid "Can't bind to LDAP server" -msgstr "" - -#: src/core/linux/connect.c:215 src/core/linux/connect.c:269 -#: src/core/windows/connect.c:232 src/core/windows/connect.c:276 -#: src/core/macos/connect.c:215 src/core/macos/connect.c:269 -#, c-format -msgid "Can't connect to %s:%s" -msgstr "" - -#: src/core/windows/http.c:110 -msgid "Can't connect to HTTP server." -msgstr "" - -#: src/core/linux/connect.c:165 src/core/windows/connect.c:197 -#: src/core/macos/connect.c:165 -msgid "Can't connect to host" -msgstr "" - -#: src/core/windows/http.c:121 -msgid "Can't create HTTP request." -msgstr "" - -#: src/network_modules/openssl/start.c:71 -msgid "Can't decode CRL data" -msgstr "" - -#: src/core/linux/ldap.c:167 src/core/windows/ldap.c:204 -#: src/core/macos/ldap.c:167 -msgid "Can't decode certificate revocation list" -msgstr "" - -#: src/core/connect.c:169 -msgid "Can't determine the TLS/SSL state" -msgstr "" - -#: src/core/ft/ft.c:391 -msgid "Can't get file size" -msgstr "" - -#: src/core/windows/ldap.c:133 -msgid "Can't initialize LDAP" -msgstr "" - -#: src/core/linux/curl.c:171 src/core/macos/curl.c:171 -msgid "Can't initialize curl operation" -msgstr "" - -#: src/network_modules/openssl/context.c:236 -msgid "Can't initialize the TLS/SSL context." -msgstr "" - -#: src/core/session.c:176 -msgid "Can't load" -msgstr "" - -#: src/network_modules/openssl/context.c:338 -#, c-format -msgid "Can't load \"%s\": %s" -msgstr "" - -#: src/network_modules/openssl/context.c:291 -#, c-format -msgid "Can't open \"%s\" (The Windows error code was %ld)" -msgstr "" - -#: src/network_modules/openssl/context.c:304 -#, c-format -msgid "Can't open \"%s\": %s" -msgstr "" - -#: src/core/windows/http.c:99 -msgid "Can't open HTTP session" -msgstr "" - -#: src/core/session.c:164 -msgid "Can't print" -msgstr "" - -#: src/network_modules/openssl/context.c:322 -#, c-format -msgid "Can't read \"%s\": %s" -msgstr "" - -#: src/core/windows/http.c:173 -msgid "Can't read HTTP response size." -msgstr "" - -#: src/core/session.c:170 -msgid "Can't save" -msgstr "" - -#: src/core/windows/http.c:134 -msgid "Can't send HTTP request." -msgstr "" - -#: src/core/windows/ldap.c:141 -msgid "Can't set LDAP protocol version" -msgstr "" - -#: src/network_modules/tools.c:190 -msgid "Can't set socket to blocking mode." -msgstr "" - -#: src/network_modules/tools.c:190 -msgid "Can't set socket to non blocking mode" -msgstr "" - -#: src/core/ft/ft.c:192 -msgid "Can't start file transfer." -msgstr "" - -#: src/core/windows/connect.c:124 -msgid "Can't use this system winsock" -msgstr "" - -#: src/core/ft/ft.c:151 -msgid "Cancelled by user" -msgstr "" - -#: src/core/telnet.c:928 -msgid "Cannot connect to specified LU" -msgstr "" - -#: src/network_modules/openssl/start.c:213 -msgid "Cant create a new SSL structure for current connection." -msgstr "" - -#: src/network_modules/openssl/context.c:332 -msgid "Cant load custom certificate file." -msgstr "" - -#: src/network_modules/openssl/context.c:286 -msgid "Cant open custom certificate directory." -msgstr "" - -#: src/network_modules/openssl/context.c:316 -msgid "Cant read custom certificate file." -msgstr "" - -#: src/network_modules/openssl/start.c:230 -msgid "" -"Cant set the file descriptor for the input/output facility for the TLS/SSL " -"(encrypted) side of ssl." -msgstr "" - -#: src/network_modules/openssl/messages.c:156 -msgid "Certificate has expired" -msgstr "" - -#: src/network_modules/openssl/messages.c:145 -msgid "Certificate is not yet valid" -msgstr "" - -#: src/network_modules/openssl/messages.c:346 -msgid "Certificate not trusted" -msgstr "" - -#: src/network_modules/openssl/messages.c:357 -msgid "Certificate rejected" -msgstr "" - -#: src/network_modules/openssl/messages.c:302 -msgid "Certificate revoked" -msgstr "" - -#: src/network_modules/openssl/messages.c:123 -msgid "Certificate signature failure" -msgstr "" - -#: src/core/toggles/table.c:277 -msgid "Change screen size on alternative screen" -msgstr "" - -#: src/core/telnet.c:1790 -msgid "Charset" -msgstr "" - -#: src/core/actions/table.c:765 -msgid "Charset table" -msgstr "" - -#: src/core/actions/table.c:588 -msgid "Clear" -msgstr "" - -#: src/core/actions/table.c:589 -msgid "Clear AID key" -msgstr "" - -#: src/core/ft/ftmessages.c:73 -msgid "Command incomplete: file transfer canceled" -msgstr "" - -#: src/core/telnet.c:1784 -msgid "Connect" -msgstr "" - -#: src/core/toggles/table.c:235 -msgid "Connect on startup" -msgstr "" - -#: src/core/telnet.c:1764 -msgid "Connected initial" -msgstr "" - -#: src/core/telnet.c:1782 -msgid "Connecting" -msgstr "" - -#: src/network_modules/tools.c:160 src/core/linux/connect.c:230 -#: src/core/linux/connect.c:321 src/core/linux/connect.c:338 -#: src/core/windows/connect.c:358 src/core/windows/connect.c:376 -#: src/core/macos/connect.c:230 src/core/macos/connect.c:321 -#: src/core/macos/connect.c:338 -msgid "Connection error" -msgstr "" - -#: src/network_modules/openssl/start.c:246 -msgid "Connection failed" -msgstr "" - -#: src/network_modules/tools.c:122 -msgid "Connection reset by peer" -msgstr "" - -#: src/core/properties/signed.c:55 -msgid "Connection state" -msgstr "" - -#: src/network_modules/openssl/messages.c:80 -#: src/network_modules/openssl/messages.c:253 -#: src/network_modules/openssl/messages.c:268 -msgid "Continue" -msgstr "" - -#: src/core/toggles/table.c:165 src/core/toggles/table.c:166 -msgid "Cross hair cursor" -msgstr "" - -#: src/core/properties/unsigned.c:117 -msgid "Current screen height in rows" -msgstr "" - -#: src/core/properties/unsigned.c:110 -msgid "Current screen width in columns" -msgstr "" - -#: src/core/properties/signed.c:63 -msgid "Cursor address" -msgstr "" - -#: src/core/actions/table.c:158 -msgid "Cursor down 1 position" -msgstr "" - -#: src/core/actions/table.c:172 -msgid "Cursor left 1 position" -msgstr "" - -#: src/core/actions/table.c:186 -msgid "Cursor right 1 position" -msgstr "" - -#: src/core/actions/table.c:200 -msgid "Cursor to first field on next line or any lines after that" -msgstr "" - -#: src/core/actions/table.c:228 -msgid "Cursor to next unprotected word" -msgstr "" - -#: src/core/actions/table.c:214 -msgid "Cursor to previous word" -msgstr "" - -#: src/core/actions/table.c:144 -msgid "Cursor up 1 position" -msgstr "" - -#: src/core/actions/table.c:650 -msgid "DUP key" -msgstr "" - -#: src/core/ft/ft_cut.c:163 src/core/ft/ft_cut.c:171 -msgid "Data conversion error" -msgstr "" - -#: src/core/properties/string.c:159 -msgid "Default host URL" -msgstr "" - -#: src/core/actions/table.c:635 src/core/actions/table.c:636 -msgid "Delete" -msgstr "" - -#: src/core/actions/table.c:517 src/core/actions/table.c:518 -msgid "Delete field" -msgstr "" - -#: src/core/actions/table.c:503 -msgid "Delete word" -msgstr "" - -#: src/core/properties/string.c:173 -msgid "Description of the current security state" -msgstr "" - -#: src/core/telnet.c:1175 -msgid "Device type rejected" -msgstr "" - -#: src/core/actions/table.c:127 -msgid "Disconnect from host" -msgstr "" - -#: src/core/ft/ft.c:244 src/network_modules/openssl/main.c:100 -#: src/network_modules/openssl/main.c:148 -msgid "Disconnected from host." -msgstr "" - -#: src/core/properties/string.c:120 -msgid "Display charset" -msgstr "" - -#: src/core/toggles/table.c:84 -msgid "Display the cursor location in the OIA (the status line)" -msgstr "" - -#: src/core/actions/table.c:157 -msgid "Down" -msgstr "" - -#: src/core/actions/table.c:649 -msgid "Dup" -msgstr "" - -#: src/core/telnet.c:728 -msgid "EOR received when not in 3270 mode, ignored." -msgstr "" - -#: src/core/windows/http.c:157 -msgid "Empty response from HTTP server." -msgstr "" - -#: src/core/toggles/table.c:298 -msgid "Enable network in/out trace" -msgstr "" - -#: src/core/toggles/table.c:287 -msgid "Enable network keep-alive with SO_KEEPALIVE" -msgstr "" - -#: src/core/toggles/table.c:309 -msgid "Enable security negotiation trace" -msgstr "" - -#: src/core/toggles/table.c:286 -msgid "Enable use of network keep alive" -msgstr "" - -#: src/core/actions/table.c:605 -msgid "Enter" -msgstr "" - -#: src/core/actions/table.c:574 src/core/actions/table.c:575 -msgid "Erase" -msgstr "" - -#: src/core/actions/table.c:546 -msgid "Erase EOF" -msgstr "" - -#: src/core/actions/table.c:560 -msgid "Erase EOL" -msgstr "" - -#: src/core/actions/table.c:547 -msgid "Erase End Of Field" -msgstr "" - -#: src/core/actions/table.c:561 -msgid "Erase End Of Line" -msgstr "" - -#: src/core/actions/table.c:533 -msgid "Erase all unprotected fields" -msgstr "" - -#: src/core/actions/table.c:532 -msgid "Erase input" -msgstr "" - -#: src/network_modules/tools.c:100 -msgid "Erro sending data to host" -msgstr "" - -#: src/core/ft/ft_dft.c:413 src/core/ft/ft_cut.c:408 -#, c-format -msgid "Error \"%s\" reading from local file (rc=%d)" -msgstr "" - -#: src/core/ft/ft_dft.c:306 src/core/ft/ft_cut.c:504 -#, c-format -msgid "Error \"%s\" writing to local file (rc=%d)" -msgstr "" - -#: src/core/ft/ftmessages.c:45 -msgid "Error in file transfer: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:87 -msgid "Error reading file from host: file transfer canceled" -msgstr "" - -#: src/network_modules/openssl/main.c:170 -msgid "Error reading from host" -msgstr "" - -#: src/core/windows/http.c:145 -msgid "Error receiving HTTP response." -msgstr "" - -#: src/network_modules/tools.c:66 src/network_modules/tools.c:82 -msgid "Error receiving data from host" -msgstr "" - -#: src/core/ft/ftmessages.c:145 -msgid "Error while reading or writing to host disk: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:80 -msgid "Error writing file to host: file transfer canceled" -msgstr "" - -#: src/network_modules/openssl/main.c:123 -msgid "Error writing to host." -msgstr "" - -#: src/core/telnet.c:1789 -msgid "Exiting" -msgstr "" - -#: src/core/actions/table.c:663 -msgid "FM key" -msgstr "" - -#: src/core/actions/table.c:664 -msgid "Field Mark" -msgstr "" - -#: src/core/actions/table.c:443 -msgid "Field end" -msgstr "" - -#: src/core/ft/ftmessages.c:52 -msgid "File transfer complete" -msgstr "" - -#: src/core/ft/ftmessages.c:59 -msgid "File transfer complete with records segmented" -msgstr "" - -#: src/core/ft/ft.c:247 -msgid "File transfer is already active in this session." -msgstr "" - -#: src/core/actions/table.c:457 -msgid "First field" -msgstr "" - -#: src/network_modules/openssl/messages.c:215 -msgid "Format error in CRL's lastUpdate field" -msgstr "" - -#: src/network_modules/openssl/messages.c:226 -msgid "Format error in CRL's nextUpdate field" -msgstr "" - -#: src/network_modules/openssl/messages.c:204 -msgid "Format error in certificate's notAfter field" -msgstr "" - -#: src/network_modules/openssl/messages.c:193 -msgid "Format error in certificate's notBefore field" -msgstr "" - -#: src/core/properties/boolean.c:177 -msgid "Formatted screen" -msgstr "" - -#: src/core/toggles/table.c:175 src/core/toggles/table.c:176 -msgid "Full Screen" -msgstr "" - -#: src/core/telnet.c:1783 -msgid "Half connect" -msgstr "" - -#: src/core/properties/boolean.c:156 -msgid "Has selected area" -msgstr "" - -#: src/core/properties/string.c:113 -msgid "Host charset" -msgstr "" - -#: src/core/ft/ft.c:620 -msgid "Host disconnected, transfer cancelled" -msgstr "" - -#: src/core/telnet.c:1233 -msgid "Host illegally added function(s)" -msgstr "" - -#: src/core/ft/ftmessages.c:222 -msgid "Host program error code xxxxxxxxxx: file transfer canceled" -msgstr "" - -#: src/core/telnet.c:1163 -msgid "Host rejected device type or request type" -msgstr "" - -#: src/core/telnet.c:1173 -msgid "Host rejected resource(s)" -msgstr "" - -#: src/core/properties/string.c:90 -msgid "Host type name" -msgstr "" - -#: src/core/properties/unsigned.c:90 -msgid "Host type number" -msgstr "" - -#: src/core/options.c:48 -msgid "IBM AS/400" -msgstr "" - -#: src/core/options.c:42 -msgid "IBM S/390" -msgstr "" - -#: src/core/properties/signed.c:77 -msgid "ID of the session security state" -msgstr "" - -#: src/core/toggles/table.c:197 -msgid "" -"If set the characters pasted over protected areas will be skipped to avoid " -"locks" -msgstr "" - -#: src/core/toggles/table.c:217 -msgid "If set the selection will not be removed on screen changes" -msgstr "" - -#: src/core/toggles/table.c:177 -msgid "If set, asks to place the toplevel window in the fullscreen state" -msgstr "" - -#: src/core/toggles/table.c:147 -msgid "" -"If set, puts restrictions on how pasted text is placed on the screen. The " -"position of the cursor at the time the paste operation is begun is used as a " -"left margin. No pasted text will fill any area of the screen to the left of " -"that position. This option is useful for pasting into certain IBM editors " -"that use the left side of the screen for control information" -msgstr "" - -#: src/core/toggles/table.c:105 -msgid "" -"If set, the NVT terminal emulator automatically assumes a NEWLINE character " -"when it reaches the end of a line." -msgstr "" - -#: src/core/toggles/table.c:64 -msgid "If set, the cursor blinks" -msgstr "" - -#: src/core/toggles/table.c:53 -msgid "If set, the terminal operates in uppercase-only mode" -msgstr "" - -#: src/core/toggles/table.c:157 -msgid "" -"If set, the terminal will always select rectangular areas of the screen. " -"Otherwise, it selects continuous regions of the screen" -msgstr "" - -#: src/core/toggles/table.c:167 -msgid "" -"If set, the terminal will display a crosshair over the cursor: lines " -"extending the full width and height of the screen, centered over the cursor " -"position. This makes locating the cursor on the screen much easier" -msgstr "" - -#: src/core/toggles/table.c:74 -msgid "" -"If set, the time taken by the host to process an AID is displayed on the " -"status line" -msgstr "" - -#: src/core/ft/ft_cut.c:484 -msgid "Illegal frame length" -msgstr "" - -#: src/core/ft/ftmessages.c:138 -msgid "Incorrect option specified: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:101 -msgid "Incorrect request code: file transfer canceled" -msgstr "" - -#: src/core/toggles/table.c:185 -msgid "Insert" -msgstr "" - -#: src/network_modules/openssl/messages.c:313 -msgid "Invalid CA certificate" -msgstr "" - -#: src/core/ft/ftmessages.c:166 -msgid "Invalid option xxxxxxxx with APPEND: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:180 -msgid "Invalid option xxxxxxxx with PDS: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:159 -msgid "Invalid option xxxxxxxx with RECEIVE: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:173 -msgid "Invalid option xxxxxxxx without SPACE: file transfer canceled" -msgstr "" - -#: src/core/ft/ftmessages.c:152 -msgid "Invalid option xxxxxxxx: file transfer canceled" -msgstr "" - -#: src/core/ctlr.c:176 src/core/ctlr.c:188 src/core/ctlr.c:201 -#: src/core/ctlr.c:213 -msgid "Invalid oversize" -msgstr "" - -#: src/core/properties/boolean.c:77 -msgid "Is connection secure" -msgstr "" - -#: src/core/properties/boolean.c:170 -msgid "Is starting (no first screen)?" -msgstr "" - -#: src/core/properties/boolean.c:70 -msgid "Is terminal connected" -msgstr "" - -#: src/core/properties/boolean.c:149 -msgid "Is terminal in the INITIAL_E state?" -msgstr "" - -#: src/core/properties/boolean.c:63 -msgid "Is terminal ready" -msgstr "" - -#: src/core/toggles/table.c:215 src/core/toggles/table.c:216 -msgid "Keep selected" -msgstr "" - -#: src/network_modules/openssl/messages.c:401 -msgid "Key usage does not include certificate signing" -msgstr "" - -#: src/core/paste.c:375 -msgid "Keyboard is locked" -msgstr "" - -#: src/core/properties/unsigned.c:169 -msgid "Keyboard lock status" -msgstr "" - -#: src/core/windows/ldap.c:179 -msgid "LDAP Search did not produce any attributes." -msgstr "" - -#: src/core/linux/ldap.c:147 src/core/macos/ldap.c:147 -msgid "LDAP search did not produce any attributes." -msgstr "" - -#: src/core/linux/ldap.c:157 src/core/macos/ldap.c:157 -msgid "LDAP search did not produce any values." -msgstr "" - -#: src/core/windows/ldap.c:186 -msgid "LDAPSearch did not produce any values." -msgstr "" - -#: src/core/properties/signed.c:70 -msgid "Latest program message" -msgstr "" - -#: src/core/actions/table.c:171 -msgid "Left" -msgstr "" - -#: src/core/telnet.c:1786 -msgid "Line mode" -msgstr "" - -#: src/core/properties/boolean.c:184 -msgid "Lock keyboard on operator error" -msgstr "" - -#: src/core/toggles/table.c:145 -msgid "Margined paste" -msgstr "" - -#: src/core/properties/unsigned.c:131 -msgid "Maximum screen height in rows" -msgstr "" - -#: src/core/properties/unsigned.c:124 -msgid "Maximum screen width in columns" -msgstr "" - -#: src/core/properties/string.c:82 -msgid "Model name" -msgstr "" - -#: src/core/toggles/table.c:51 -msgid "Monocase" -msgstr "" - -#: src/core/actions/table.c:329 -msgid "Move cursor down and select" -msgstr "" - -#: src/core/actions/table.c:343 -msgid "Move cursor left and select" -msgstr "" - -#: src/core/actions/table.c:357 -msgid "Move cursor rigth and select" -msgstr "" - -#: src/core/actions/table.c:315 -msgid "Move cursor up and select" -msgstr "" - -#: src/core/actions/table.c:385 -msgid "Move selection down" -msgstr "" - -#: src/core/actions/table.c:399 -msgid "Move selection left" -msgstr "" - -#: src/core/actions/table.c:413 -msgid "Move selection right" -msgstr "" - -#: src/core/actions/table.c:371 -msgid "Move selection up" -msgstr "" - -#: src/core/actions/table.c:444 -msgid "" -"Move the cursor to the first blank after the last non blank in the field" -msgstr "" - -#: src/core/actions/table.c:458 -msgid "Move to first unprotected field on screen" -msgstr "" - -#: src/core/actions/table.c:472 -msgid "Move to the next unprotected field on screen" -msgstr "" - -#: src/core/actions/table.c:486 -msgid "Move to the previous unprotected field on screen" -msgstr "" - -#: src/core/telnet.c:304 src/core/linux/event_dispatcher.c:130 -#: src/core/linux/connect.c:200 src/core/windows/event_dispatcher.c:135 -#: src/core/windows/connect.c:223 src/core/macos/event_dispatcher.c:130 -#: src/core/macos/connect.c:200 -msgid "Network error" -msgstr "" - -#: src/core/toggles/table.c:285 -msgid "Network keep alive" -msgstr "" - -#: src/core/actions/table.c:199 -msgid "New line" -msgstr "" - -#: src/core/actions/table.c:471 -msgid "Next field" -msgstr "" - -#: src/core/actions/table.c:227 -msgid "Next word" -msgstr "" - -#: src/network_modules/openssl/start.c:53 -msgid "No LDAP support" -msgstr "" - -#: src/network_modules/default/main.c:149 -msgid "No TLS/SSL support on this session" -msgstr "" - -#: src/core/linux/download.c:55 src/core/windows/download.c:62 -#: src/core/macos/download.c:55 -msgid "No handler for URL scheme." -msgstr "" - -#: src/network_modules/openssl/messages.c:292 -msgid "" -"No signatures could be verified because the chain contains only one " -"certificate and it is not self signed." -msgstr "" - -#: src/core/ft/ft.c:97 -msgid "No transfer in progress" -msgstr "" - -#: src/core/properties/boolean.c:198 -msgid "Non zero if the download of CRL is enabled" -msgstr "" - -#: src/core/properties/boolean.c:93 -msgid "Non zero if the host is AS400." -msgstr "" - -#: src/core/properties/boolean.c:85 -msgid "Non zero if the host is TSO." -msgstr "" - -#: src/core/windows/connect.c:307 -msgid "Not connected to host" -msgstr "" - -#: src/core/ft/ft.c:626 -msgid "Not in 3270 mode, transfer cancelled" -msgstr "" - -#: src/core/ft/ftmessages.c:187 -msgid "Only one of TRACKS, CYLINDERS, AVBLOCK allowed: file transfer canceled" -msgstr "" - -#: src/core/options.c:54 -msgid "Other (TSO)" -msgstr "" - -#: src/core/options.c:60 -msgid "Other (VM/CMS)" -msgstr "" - -#: src/network_modules/openssl/messages.c:237 -msgid "Out of memory" -msgstr "" - -#: src/core/actions/table.c:782 src/core/actions/table.c:796 -#: src/core/actions/table.c:810 -msgid "PA1" -msgstr "" - -#: src/core/actions/table.c:241 -msgid "Paste from file" -msgstr "" - -#: src/core/actions/table.c:242 -msgid "Paste from text file" -msgstr "" - -#: src/core/actions/table.c:719 src/core/actions/table.c:720 -msgid "Paste next" -msgstr "" - -#: src/core/toggles/table.c:146 -msgid "Paste with left margin" -msgstr "" - -#: src/network_modules/openssl/messages.c:324 -msgid "Path length constraint exceeded" -msgstr "" - -#: src/core/telnet.c:1763 -msgid "Pending" -msgstr "" - -#: src/core/ft/ftmessages.c:66 -msgid "Personal computer filespec incorrect: file transfer canceled" -msgstr "" - -#: src/core/properties/string.c:152 -msgid "Preferred protocol for CRL download" -msgstr "" - -#: src/core/actions/table.c:485 -msgid "Previous field" -msgstr "" - -#: src/core/actions/table.c:213 -msgid "Previous word" -msgstr "" - -#: src/core/telnet.c:1788 -msgid "Printer" -msgstr "" - -#: src/core/actions/table.c:783 -msgid "Program Action 1" -msgstr "" - -#: src/core/actions/table.c:797 -msgid "Program Action 2" -msgstr "" - -#: src/core/actions/table.c:811 -msgid "Program Action 3" -msgstr "" - -#: src/core/rpq.c:229 -#, c-format -msgid "RPQ %s term omitted due to insufficient space" -msgstr "" - -#: src/core/rpq.c:338 -#, c-format -msgid "RPQ %s term override ignored" -msgstr "" - -#: src/core/rpq.c:642 src/core/rpq.c:712 -#, c-format -msgid "RPQ ADDRESS term has unrecognized family %u" -msgstr "" - -#: src/core/rpq.c:650 src/core/rpq.c:679 src/core/rpq.c:719 -msgid "RPQ ADDRESS term incomplete due to space limit" -msgstr "" - -#: src/core/rpq.c:222 -msgid "RPQ Error" -msgstr "" - -#: src/core/rpq.c:403 src/core/rpq.c:412 -msgid "RPQ TIMEZONE term is invalid - use +/-hhmm" -msgstr "" - -#: src/core/rpq.c:520 -msgid "RPQ USER term has non-hex character" -msgstr "" - -#: src/core/rpq.c:545 -msgid "RPQ USER term has odd number of hex digits" -msgstr "" - -#: src/core/rpq.c:526 -#, c-format -msgid "RPQ USER term truncated after %d bytes" -msgstr "" - -#: src/core/rpq.c:570 -#, c-format -msgid "RPQ USER term truncated after %d characters" -msgstr "" - -#: src/core/rpq.c:350 -#, c-format -msgid "RPQ term \"%s\" is unrecognized" -msgstr "" - -#: src/core/rpq.c:224 -#, c-format -msgid "RPQ term %d is unknown" -msgstr "" - -#: src/core/rpq.c:465 -msgid "RPQ timezone exceeds 12 hour UTC offset" -msgstr "" - -#: src/core/rpq.c:434 src/core/rpq.c:444 -msgid "RPQ: Unable to determine workstation UTC time" -msgstr "" - -#: src/core/rpq.c:424 -msgid "RPQ: Unable to determine workstation local time" -msgstr "" - -#: src/core/rpq.c:655 -#, c-format -msgid "RPQ: can't resolve '%s': %s" -msgstr "" - -#: src/core/rpq.c:668 -msgid "RPQ: gethostbyname error" -msgstr "" - -#: src/core/actions/table.c:113 -msgid "Reconnect to the same host" -msgstr "" - -#: src/core/telnet.c:1787 -msgid "Remodel" -msgstr "" - -#: src/core/actions/table.c:272 src/core/actions/table.c:273 -msgid "Remove selection" -msgstr "" - -#: src/core/ft/ft.c:192 -msgid "Request failed" -msgstr "" - -#: src/core/ft/ftmessages.c:94 -msgid "Required host storage unavailable: file transfer canceled" -msgstr "" - -#: src/core/actions/table.c:286 src/core/actions/table.c:287 -msgid "Reselect" -msgstr "" - -#: src/core/actions/table.c:620 -msgid "Reset" -msgstr "" - -#: src/core/actions/table.c:621 -msgid "Reset keyboard lock" -msgstr "" - -#: src/core/toggles/table.c:276 -msgid "Resize on alternate screen" -msgstr "" - -#: src/core/telnet.c:1762 src/core/telnet.c:1781 -msgid "Resolving" -msgstr "" - -#: src/core/actions/table.c:185 -msgid "Right" -msgstr "" - -#: src/core/ft/ftmessages.c:188 -msgid "" -"SPACE can be specified in units of TRACKS, CYLINDERS, or AVBLOCK, and only " -"one option can be used." -msgstr "" - -#: src/network_modules/openssl/start.c:229 -msgid "SSL negotiation failed" -msgstr "" - -#: src/core/properties/unsigned.c:138 -msgid "Screen buffer length in bytes" -msgstr "" - -#: src/core/properties/string.c:181 -msgid "Screen oversize if larger than the chosen model" -msgstr "" - -#: src/network_modules/openssl/messages.c:52 -msgid "Secure connection was successful." -msgstr "" - -#: src/core/actions/table.c:328 -msgid "Select Down" -msgstr "" - -#: src/core/actions/table.c:429 -msgid "Select Field" -msgstr "" - -#: src/core/actions/table.c:342 -msgid "Select Left" -msgstr "" - -#: src/core/actions/table.c:314 -msgid "Select UP" -msgstr "" - -#: src/core/actions/table.c:258 src/core/actions/table.c:259 -msgid "Select all" -msgstr "" - -#: src/core/toggles/table.c:155 src/core/toggles/table.c:156 -msgid "Select by rectangles" -msgstr "" - -#: src/core/actions/table.c:428 -msgid "Select field" -msgstr "" - -#: src/core/actions/table.c:356 -msgid "Select right" -msgstr "" - -#: src/core/actions/table.c:300 src/core/actions/table.c:301 -msgid "Select word" -msgstr "" - -#: src/core/linux/event_dispatcher.c:131 -#: src/core/windows/event_dispatcher.c:136 -#: src/core/macos/event_dispatcher.c:131 -msgid "Select() failed when processing for events." -msgstr "" - -#: src/core/actions/table.c:384 -msgid "Selection down" -msgstr "" - -#: src/core/actions/table.c:398 -msgid "Selection left" -msgstr "" - -#: src/core/actions/table.c:412 -msgid "Selection right" -msgstr "" - -#: src/core/actions/table.c:370 -msgid "Selection up" -msgstr "" - -#: src/network_modules/openssl/messages.c:252 -msgid "Self signed certificate" -msgstr "" - -#: src/network_modules/openssl/messages.c:269 -msgid "Self signed certificate in certificate chain" -msgstr "" - -#: src/core/actions/table.c:606 -msgid "Send an \"Enter\" action" -msgstr "" - -#: src/core/toggles/table.c:186 -msgid "Set insert mode" -msgstr "" - -#: src/core/toggles/table.c:265 -msgid "Show Field" -msgstr "" - -#: src/core/toggles/table.c:266 -msgid "Show Field attributes" -msgstr "" - -#: src/core/toggles/table.c:226 -msgid "Show Underline" -msgstr "" - -#: src/core/actions/table.c:766 -msgid "Show charset table" -msgstr "" - -#: src/core/actions/table.c:752 -msgid "Show test pattern" -msgstr "" - -#: src/core/toggles/table.c:72 src/core/toggles/table.c:73 -msgid "Show timer when processing" -msgstr "" - -#: src/core/toggles/table.c:195 src/core/toggles/table.c:196 -msgid "Smart paste" -msgstr "" - -#: src/network_modules/tools.c:173 src/network_modules/tools.c:189 -msgid "Socket error" -msgstr "" - -#: src/core/toggles/table.c:255 -msgid "Sound" -msgstr "" - -#: src/core/properties/boolean.c:128 -msgid "State is 3270, TN3270e or SSCP" -msgstr "" - -#: src/core/properties/boolean.c:163 -msgid "Still have text to paste" -msgstr "" - -#: src/network_modules/openssl/messages.c:368 -msgid "Subject issuer mismatch" -msgstr "" - -#: src/core/actions/table.c:733 -msgid "Sys Req" -msgstr "" - -#: src/core/actions/table.c:734 -msgid "Sys Request" -msgstr "" - -#: src/core/telnet.c:995 -msgid "TLS negotiation failure" -msgstr "" - -#: src/core/telnet.c:1766 -msgid "TN3270 3270" -msgstr "" - -#: src/core/telnet.c:1765 -msgid "TN3270 NVT" -msgstr "" - -#: src/core/telnet.c:1767 -msgid "TN3270E" -msgstr "" - -#: src/core/telnet.c:1770 -msgid "TN3270E 3270" -msgstr "" - -#: src/core/telnet.c:1768 -msgid "TN3270E NVT" -msgstr "" - -#: src/core/telnet.c:1769 -msgid "TN3270E SSCP-LU" -msgstr "" - -#: src/core/properties/unsigned.c:99 -msgid "Terminal model" -msgstr "" - -#: src/core/properties/string.c:104 -msgid "Terminal name" -msgstr "" - -#: src/core/properties/string.c:97 -msgid "Terminal type" -msgstr "" - -#: src/core/actions/table.c:751 -msgid "Test pattern" -msgstr "" - -#: src/core/ft/ftmessages.c:216 -msgid "" -"The CMS disk is full, or the maximum number of files on the minidisk (3400) " -"has been reached, or the maximum number of data blocks per file (16060) has " -"been reached." -msgstr "" - -#: src/network_modules/openssl/messages.c:182 -msgid "The CRL has expired." -msgstr "" - -#: src/network_modules/openssl/messages.c:167 -msgid "The CRL is not yet valid." -msgstr "" - -#: src/network_modules/openssl/messages.c:216 -msgid "The CRL lastUpdate field contains an invalid time." -msgstr "" - -#: src/network_modules/openssl/messages.c:227 -msgid "The CRL nextUpdate field contains an invalid time." -msgstr "" - -#: src/network_modules/openssl/messages.c:102 -msgid "" -"The CRL signature could not be decrypted: this means that the actual " -"signature value could not be determined rather than it not matching the " -"expected value. Unused." -msgstr "" - -#: src/network_modules/openssl/messages.c:183 -msgid "The Certificate revocation list (CRL) has expired." -msgstr "" - -#: src/network_modules/openssl/messages.c:168 -msgid "The Certificate revocation list (CRL) is not yet valid." -msgstr "" - -#: src/network_modules/openssl/messages.c:79 -msgid "" -"The Certificate revocation list (CRL) of a certificate could not be found." -msgstr "" - -#: src/network_modules/openssl/main.c:124 -#: src/network_modules/openssl/main.c:171 -#, c-format -msgid "The SSL error message was %s" -msgstr "" - -#: src/core/linux/connect.c:191 src/core/macos/connect.c:191 -#, c-format -msgid "The System error was '%s' (rc=%d)" -msgstr "" - -#: src/core/linux/ldap.c:82 src/core/linux/ldap.c:91 -#: src/core/windows/ldap.c:101 src/core/windows/ldap.c:110 -#: src/core/macos/ldap.c:82 src/core/macos/ldap.c:91 -msgid "The URL argument should be in the format ldap://[HOST]/[DN]?attribute" -msgstr "" - -#: src/network_modules/openssl/messages.c:325 -msgid "The basicConstraints pathlength parameter has been exceeded." -msgstr "" - -#: src/network_modules/openssl/messages.c:270 -msgid "" -"The certificate chain could be built up using the untrusted certificates but " -"the root could not be found locally." -msgstr "" - -#: src/network_modules/openssl/messages.c:303 -msgid "The certificate has been revoked." -msgstr "" - -#: src/network_modules/openssl/messages.c:157 -msgid "" -"The certificate has expired: that is the notAfter date is before the current " -"time." -msgstr "" - -#: src/network_modules/openssl/messages.c:146 -msgid "" -"The certificate is not yet valid: the notBefore date is after the current " -"time." -msgstr "" - -#: src/network_modules/openssl/messages.c:205 -msgid "The certificate notAfter field contains an invalid time." -msgstr "" - -#: src/network_modules/openssl/messages.c:194 -msgid "The certificate notBefore field contains an invalid time." -msgstr "" - -#: src/network_modules/openssl/messages.c:91 -msgid "" -"The certificate signature could not be decrypted. This means that the actual " -"signature value could not be determined rather than it not matching the " -"expected value, this is only meaningful for RSA keys." -msgstr "" - -#: src/core/properties/unsigned.c:81 -msgid "The color type" -msgstr "" - -#: src/network_modules/state.c:77 -msgid "The connection is insecure" -msgstr "" - -#: src/network_modules/openssl/messages.c:53 -msgid "The connection is secure and the host identity was confirmed." -msgstr "" - -#: src/network_modules/openssl/messages.c:391 -msgid "" -"The current candidate issuer certificate was rejected because its issuer " -"name and serial number was present and did not match the authority key " -"identifier of the current certificate. Only displayed when the -" -"issuer_checks option is set." -msgstr "" - -#: src/network_modules/openssl/messages.c:402 -msgid "" -"The current candidate issuer certificate was rejected because its keyUsage " -"extension does not permit certificate signing." -msgstr "" - -#: src/network_modules/openssl/messages.c:380 -msgid "" -"The current candidate issuer certificate was rejected because its subject " -"key identifier was present and did not match the authority key identifier " -"current certificate. Only displayed when the -issuer_checks option is set." -msgstr "" - -#: src/network_modules/openssl/messages.c:369 -msgid "" -"The current candidate issuer certificate was rejected because its subject " -"name did not match the issuer name of the current certificate. Only " -"displayed when the -issuer_checks option is set." -msgstr "" - -#: src/core/properties/unsigned.c:162 -msgid "The delay between the host unlocking the keyboard and the actual unlock" -msgstr "" - -#: src/core/ft/ftmessages.c:60 -msgid "" -"The file transfer operation has been completed, and any record greater than " -"the logical record length (LRECL) of the file being appended has been " -"divided and becomes multiple records." -msgstr "" - -#: src/core/ft/ftmessages.c:53 -msgid "The file transfer operation has been successfully completed." -msgstr "" - -#: src/core/ctlr.c:215 -#, c-format -msgid "The height %d is less than model %d rows (%d)" -msgstr "" - -#: src/core/ft/ftmessages.c:81 src/core/ft/ftmessages.c:88 -msgid "" -"The host program has detected an error in the file data during a RECEIVE " -"operation." -msgstr "" - -#: src/network_modules/openssl/messages.c:281 -msgid "" -"The issuer certificate could not be found: this occurs if the issuer " -"certificate of an untrusted certificate cannot be found." -msgstr "" - -#: src/network_modules/openssl/messages.c:64 -msgid "" -"The issuer certificate of a looked up certificate could not be found. This " -"normally means the list of trusted certificates is not complete." -msgstr "" - -#: src/core/properties/string.c:189 -msgid "The log file name" -msgstr "" - -#: src/core/properties/unsigned.c:100 -msgid "The model number" -msgstr "" - -#: src/core/properties/string.c:62 -msgid "The name of the LU associated with the session" -msgstr "" - -#: src/core/connect.c:170 -msgid "" -"The network module didn't set the TLS/SSL state message, this is not " -"supposed to happen and can be a coding error" -msgstr "" - -#: src/core/ctlr.c:214 -msgid "The oversize height is too small." -msgstr "" - -#: src/core/ctlr.c:177 -msgid "The oversize values are invalid." -msgstr "" - -#: src/core/ctlr.c:189 -msgid "The oversize values are too big." -msgstr "" - -#: src/core/ctlr.c:202 -msgid "The oversize width is too small." -msgstr "" - -#: src/network_modules/openssl/messages.c:254 -msgid "" -"The passed certificate is self signed and the same certificate cannot be " -"found in the list of trusted certificates." -msgstr "" - -#: src/network_modules/openssl/messages.c:113 -msgid "" -"The public key in the certificate SubjectPublicKeyInfo could not be read." -msgstr "" - -#: src/core/ft/ft.c:251 -msgid "The remote file name is invalid." -msgstr "" - -#: src/network_modules/openssl/messages.c:358 -msgid "The root CA is marked to reject the specified purpose." -msgstr "" - -#: src/network_modules/openssl/messages.c:347 -msgid "The root CA is not marked as trusted for the specified purpose." -msgstr "" - -#: src/network_modules/openssl/main.c:102 -#: src/network_modules/openssl/main.c:150 -msgid "The secure connection has been closed cleanly." -msgstr "" - -#: src/core/properties/string.c:166 -msgid "The security state" -msgstr "" - -#: src/network_modules/default/main.c:148 -msgid "The session is not secure" -msgstr "" - -#: src/network_modules/openssl/messages.c:124 -#: src/network_modules/openssl/messages.c:135 -msgid "The signature of the certificate is invalid." -msgstr "" - -#: src/network_modules/openssl/messages.c:336 -msgid "The supplied certificate cannot be used for the specified purpose." -msgstr "" - -#: src/network_modules/tools.c:114 src/network_modules/tools.c:123 -#, c-format -msgid "The system error code was %d" -msgstr "" - -#: src/network_modules/tools.c:83 src/network_modules/tools.c:135 -#, c-format -msgid "The system error code was %d (%s)" -msgstr "" - -#: src/core/windows/connect.c:239 -#, c-format -msgid "The system error was \"%s\"" -msgstr "" - -#: src/core/linux/connect.c:222 src/core/linux/connect.c:282 -#: src/core/windows/connect.c:298 src/core/windows/connect.c:306 -#: src/core/windows/connect.c:314 src/core/windows/connect.c:324 -#: src/core/macos/connect.c:222 src/core/macos/connect.c:282 -#, c-format -msgid "The system error was \"%s\" (rc=%d)" -msgstr "" - -#: src/core/windows/connect.c:225 src/core/windows/connect.c:360 -#: src/core/windows/connect.c:378 -#, c-format -msgid "The system error was %s" -msgstr "" - -#: src/core/util.c:266 -#, c-format -msgid "The system error was '%s' (rc=%d)" -msgstr "" - -#: src/core/properties/string.c:197 -msgid "The trace file name" -msgstr "" - -#: src/core/ctlr.c:203 -#, c-format -msgid "The width %d is less than model %d columns (%d)" -msgstr "" - -#: src/network_modules/tools.c:67 src/network_modules/tools.c:101 -#, c-format -msgid "The windows error code was %u" -msgstr "" - -#: src/core/ft/ftmessages.c:146 -msgid "There is not enough space available for data on the host." -msgstr "" - -#: src/core/ft/ftmessages.c:223 -msgid "This is a host program error." -msgstr "" - -#: src/core/properties/unsigned.c:146 -msgid "Time for auto-reconnect" -msgstr "" - -#: src/core/windows/connect.c:299 -msgid "Timeout conneting to host" -msgstr "" - -#: src/core/toggles/table.c:93 src/core/toggles/table.c:94 -msgid "Trace Data Stream" -msgstr "" - -#: src/core/toggles/table.c:135 -msgid "Trace Events" -msgstr "" - -#: src/core/toggles/table.c:296 -msgid "Trace Network" -msgstr "" - -#: src/core/toggles/table.c:308 -msgid "Trace SSL negotiation" -msgstr "" - -#: src/core/toggles/table.c:124 -msgid "Trace Screen" -msgstr "" - -#: src/core/toggles/table.c:307 -msgid "Trace Security" -msgstr "" - -#: src/core/toggles/table.c:136 -msgid "Trace interface and application events" -msgstr "" - -#: src/core/toggles/table.c:297 -msgid "Trace network data flow" -msgstr "" - -#: src/core/toggles/table.c:125 -msgid "Trace screen contents" -msgstr "" - -#: src/core/toggles/table.c:82 -msgid "Track Cursor" -msgstr "" - -#: src/core/toggles/table.c:83 -msgid "Track Cursor location" -msgstr "" - -#: src/core/ft/ft_cut.c:360 -msgid "Transfer cancelled by host" -msgstr "" - -#: src/core/ft/ft_dft.c:213 src/core/ft/ft_dft.c:344 src/core/ft/ft_cut.c:387 -#: src/core/ft/ft_cut.c:475 -msgid "Transfer cancelled by user" -msgstr "" - -#: src/core/ft/ft.c:526 -msgid "Transfer complete" -msgstr "" - -#: src/core/ft/ft.c:530 -msgid "Transfer failed" -msgstr "" - -#: src/core/ft/ft_cut.c:447 -msgid "Transmission error" -msgstr "" - -#: src/core/linux/connect.c:166 src/core/windows/connect.c:198 -#: src/core/macos/connect.c:166 -msgid "Try again" -msgstr "" - -#: src/core/properties/string.c:74 -msgid "URL of the current host" -msgstr "" - -#: src/core/ft/ft_dft.c:161 -msgid "Uknown DFT Open type from host" -msgstr "" - -#: src/network_modules/openssl/messages.c:112 -msgid "Unable to decode issuer public key" -msgstr "" - -#: src/network_modules/openssl/messages.c:101 -msgid "Unable to decrypt CRL's signature" -msgstr "" - -#: src/network_modules/openssl/messages.c:90 -msgid "Unable to decrypt certificate's signature" -msgstr "" - -#: src/network_modules/openssl/messages.c:78 -msgid "Unable to get certificate CRL." -msgstr "" - -#: src/core/linux/connect.c:201 src/core/windows/connect.c:224 -#: src/core/macos/connect.c:201 -msgid "Unable to get connection state." -msgstr "" - -#: src/network_modules/openssl/messages.c:63 -msgid "Unable to get issuer certificate" -msgstr "" - -#: src/network_modules/openssl/messages.c:280 -msgid "Unable to get local issuer certificate" -msgstr "" - -#: src/core/session.c:176 -msgid "Unable to load from file" -msgstr "" - -#: src/network_modules/openssl/start.c:247 -msgid "Unable to negotiate a secure connection with the host" -msgstr "" - -#: src/core/paste.c:374 -msgid "Unable to paste text" -msgstr "" - -#: src/core/session.c:164 -msgid "Unable to print" -msgstr "" - -#: src/core/session.c:170 -msgid "Unable to save" -msgstr "" - -#: src/core/ft/ft.c:478 -msgid "Unable to send file-transfer request" -msgstr "" - -#: src/network_modules/openssl/messages.c:291 -msgid "Unable to verify the first certificate" -msgstr "" - -#: src/core/telnet.c:1761 -msgid "Unconnected" -msgstr "" - -#: src/core/toggles/table.c:225 -msgid "Underline" -msgstr "" - -#: src/network_modules/openssl/start.c:268 -msgid "Unexpected I/O error" -msgstr "" - -#: src/core/paste.c:375 -msgid "Unexpected error" -msgstr "" - -#: src/network_modules/tools.c:134 -msgid "Unexpected error writing to network socket" -msgstr "" - -#: src/core/keyboard/kybd.c:269 -#, c-format -msgid "Unexpected type %d in typeahead queue" -msgstr "" - -#: src/core/telnet.c:1774 src/core/telnet.c:1794 -msgid "Unknown" -msgstr "" - -#: src/core/ctlr.c:626 -#, c-format -msgid "Unknown 3270 Data Stream command: 0x%X" -msgstr "" - -#: src/core/ft/ft_cut.c:368 -msgid "Unknown FT control code from host" -msgstr "" - -#: src/core/keyboard/kybd.c:1547 -#, c-format -msgid "Unknown PA key %d" -msgstr "" - -#: src/core/keyboard/kybd.c:1560 -#, c-format -msgid "Unknown PF key %d" -msgstr "" - -#: src/core/ft/ft_cut.c:297 -msgid "Unknown frame type from host" -msgstr "" - -#: src/core/properties/unsigned.c:161 -msgid "Unlock delay" -msgstr "" - -#: src/core/rpq.c:223 -msgid "Unsupported RPQ term" -msgstr "" - -#: src/network_modules/openssl/messages.c:335 -msgid "Unsupported certificate purpose" -msgstr "" - -#: src/core/actions/table.c:143 -msgid "Up" -msgstr "" - -#: src/core/toggles/table.c:52 -msgid "Uppercase only" -msgstr "" - -#: src/core/toggles/table.c:245 src/core/toggles/table.c:246 -msgid "Use +/- for field navigation" -msgstr "" - -#: src/core/toggles/table.c:247 -msgid "Use the keys +/- from keypad to select editable fields" -msgstr "" - -#: src/core/windows/connect.c:111 -msgid "WSAStartup failed" -msgstr "" - -#: src/core/ft/ft.c:487 -msgid "Waiting for GET response" -msgstr "" - -#: src/core/ft/ft.c:489 -msgid "Waiting for PUT response" -msgstr "" - -#: src/core/telnet.c:727 -msgid "Warning" -msgstr "" - -#: src/core/windows/util.c:124 src/core/windows/util.c:167 -#, c-format -msgid "Windows error %d" -msgstr "" - -#: src/core/toggles/table.c:103 src/core/toggles/table.c:104 -msgid "Wrap around" -msgstr "" - -#: src/core/ft/ftmessages.c:74 -msgid "" -"You did not enter the required parameters after a SEND or RECEIVE command." -msgstr "" - -#: src/core/ft/ftmessages.c:195 -msgid "You did not specify an existing CMS file for RECEIVE." -msgstr "" - -#: src/core/ft/ftmessages.c:95 -msgid "" -"You need 30 KB of main storage (not disk space) on the host for the file " -"transfer, in addition to the host requirement." -msgstr "" - -#: src/core/ft/ftmessages.c:174 -msgid "" -"You selected an option that can only be used if SPACE is also specified." -msgstr "" - -#: src/core/ft/ftmessages.c:153 -msgid "" -"You selected an option that is either not recognized, is specified as a " -"positional keyword, or has an associated value that is incorrect." -msgstr "" - -#: src/core/ft/ftmessages.c:181 -msgid "" -"You selected an option that is invalid with a host-partitioned data set." -msgstr "" - -#: src/core/ft/ftmessages.c:167 -msgid "" -"You selected an option that is not valid with APPEND, but otherwise may be " -"used." -msgstr "" - -#: src/core/ft/ftmessages.c:160 -msgid "" -"You selected an option that is not valid with RECEIVE, but can be used with " -"SEND." -msgstr "" - -#: src/core/ft/ftmessages.c:202 -msgid "" -"You specified a CMS file mode for the SEND key that does not allow write " -"access." -msgstr "" - -#: src/core/ft/ftmessages.c:209 -msgid "You specified a CMS file mode that is not in the CMS search order." -msgstr "" - -#: src/core/ft/ftmessages.c:139 -msgid "You specified an option that is invalid." -msgstr "" - -#: src/core/actions/table.c:126 -msgid "_Disconnect" -msgstr "" - -#: src/core/actions/table.c:112 -msgid "_Reconnect" -msgstr "" - -#: src/core/linux/connect.c:233 src/core/linux/connect.c:302 -#: src/core/windows/connect.c:340 src/core/macos/connect.c:233 -#: src/core/macos/connect.c:302 -msgid "_Retry" -msgstr "" - -#: src/core/toggles/init.c:83 src/core/linux/connect.c:334 -#: src/core/windows/connect.c:372 src/core/macos/connect.c:334 -msgid "disable" -msgstr "" - -#: src/core/toggles/init.c:83 src/core/linux/connect.c:334 -#: src/core/windows/connect.c:372 src/core/macos/connect.c:334 -msgid "enable" -msgstr "" - -#: src/network_modules/tools.c:174 -msgid "fcntl() error when getting socket state." -msgstr "" - -#: src/network_modules/tools.c:161 -msgid "ioctlsocket(FIONBIO) failed." -msgstr "" - -#: src/core/properties/string.c:134 -msgid "lib3270 revision" -msgstr "" - -#: src/core/properties/string.c:127 -msgid "lib3270 version" -msgstr "" - -#: src/core/properties/boolean.c:191 -msgid "numeric lock" -msgstr "" - -#: src/core/linux/connect.c:322 src/core/windows/connect.c:359 -#: src/core/macos/connect.c:322 -msgid "setsockopt(SO_OOBINLINE) has failed" -msgstr "" diff --git a/src/core/macos/util.c b/src/core/macos/util.c index f88c55d..20f125d 100644 --- a/src/core/macos/util.c +++ b/src/core/macos/util.c @@ -64,6 +64,30 @@ static char * build_filename(const char *root, const char *str, va_list args) { return (char *) lib3270_realloc(filename,strlen(filename)+1); } +LIB3270_EXPORT char * lib3270_get_installation_path() { + + char lpFilename[PATH_MAX+1]; + + memset(lpFilename,0,sizeof(lpFilename)); + uint32_t szPath = PATH_MAX; + _NSGetExecutablePath(lpFilename, &szPath); + lpFilename[szPath] = 0; + + char *ptr = strrchr(lpFilename,'/'); + if(ptr) { + ptr[0] = 0; + + ptr = strrchr(lpFilename,'/'); + if(ptr && !(strcasecmp(ptr,"/bin") && strcasecmp(ptr,"/lib"))) { + *ptr = 0; + } + + strncat(lpFilename,"/",PATH_MAX); + } + + return strdup(lpFilename); +} + char * lib3270_build_data_filename(const char *str, ...) { va_list args; @@ -102,27 +126,67 @@ char * lib3270_build_data_filename(const char *str, ...) { } - /* // - // Try EXE Path + // Try from installation path // { - uint32_t size = szPath; - _NSGetExecutablePath(path, &size); - path[size] = 0; + char *ptr; + lib3270_autoptr(char) instpath = lib3270_get_installation_path(); + if( *(instpath+strlen(instpath)-1) == '/') { + instpath[strlen(instpath)-1] = 0; + } - } - */ + char relative[PATH_MAX+1]; + memset(relative,0,PATH_MAX); - // - // Not found, use the system datadir - // - va_start (args, str); - filename = build_filename(LIB3270_STRINGIZE_VALUE_OF(DATADIR), str, args); - va_end (args); + { + va_list args; + va_start (args, str); + + while(str) { + + if(str[0] == '/') { + strncat(relative,str,PATH_MAX); + } else { + strncat(relative,"/",PATH_MAX); + strncat(relative,str,PATH_MAX); + } + + str = va_arg(args, const char *); + } + + va_end (args); + } + + char filename[PATH_MAX+1]; + memset(filename,0,PATH_MAX+1); + + // Check instdir + strncpy(filename,instpath,PATH_MAX); + strncat(filename,"/share",PATH_MAX); + strncat(filename,relative,PATH_MAX); + + if(access(filename,0) == 0) { + return strdup(filename); + } + + strncpy(filename,instpath,PATH_MAX); + strncat(filename,"/share/",PATH_MAX); + strncat(filename,LIB3270_STRINGIZE_VALUE_OF(PRODUCT_NAME),PATH_MAX); + strncat(filename,relative,PATH_MAX); + + if(access(filename,0) == 0) { + return strdup(filename); + } + + // Default behavior. + strncpy(filename,instpath,PATH_MAX); + strncat(filename,relative,PATH_MAX); + + return strdup(filename); + } - return filename; } char * lib3270_build_config_filename(const char *str, ...) { diff --git a/src/testprogram/testprogram.c b/src/testprogram/testprogram.c index 12f8fbd..a6a0fb2 100644 --- a/src/testprogram/testprogram.c +++ b/src/testprogram/testprogram.c @@ -158,6 +158,7 @@ int main(int argc, char *argv[]) { printf("Datafile: \"%s\"\n",datafile); } + /* { lib3270_autoptr(char) datafile = lib3270_build_config_filename("test","file.conf",NULL); printf("Configfile: \"%s\"\n",datafile); @@ -167,7 +168,9 @@ int main(int argc, char *argv[]) { lib3270_autoptr(char) datafile = lib3270_build_filename("Makefile",NULL); printf("Custom file: \"%s\"\n",datafile); } + */ + exit(0); //lib3270_set_toggle(h,LIB3270_TOGGLE_DS_TRACE,1); lib3270_set_toggle(h,LIB3270_TOGGLE_SSL_TRACE,1); -- libgit2 0.21.2