divendres commented on code in PR #930: URL: https://github.com/apache/guacamole-client/pull/930#discussion_r1392599597
########## guacamole/src/main/frontend/src/translations/ca.json: ########## @@ -163,6 +183,80 @@ }, + "IMPORT": { + + "ACTION_ACKNOWLEDGE" : "@:APP.ACTION_ACKNOWLEDGE", + "ACTION_BROWSE" : "Navega pels fitxers", + "ACTION_CANCEL" : "@:APP.ACTION_CANCEL", + "ACTION_CLEAR" : "@:APP.ACTION_CLEAR", + "ACTION_VIEW_FORMAT_HELP" : "Veure l'ajuda de format", + "ACTION_IMPORT" : "@:APP.ACTION_IMPORT", + "ACTION_IMPORT_CONNECTIONS" : "Importa connexions", + + "DIALOG_HEADER_ERROR" : "@:APP.DIALOG_HEADER_ERROR", + "DIALOG_HEADER_SUCCESS" : "Fet", + + "ERROR_AMBIGUOUS_CSV_HEADER" : "La capçalera \"{HEADER}\" del CSV és ambigua, pot ser o bé un atribut de connexió o un paràmetre", + "ERROR_AMBIGUOUS_PARENT_GROUP" : "No es pot especificar el grup i el parentIdentifier alhora", + "ERROR_ARRAY_REQUIRED" : "El fitxer ha de contenir un llistat de connexions", + "ERROR_DETECTED_INVALID_TYPE" : "Tipus de fitxer no suportat. Assegureu-vos que és un fitxer CSV, JSON o YAML vàlid.", + "ERROR_DUPLICATE_CONNECTION_IN_FILE" : "Nom de connexió \"{NAME}\" duplicat a \"{PATH}\" al fitxer d'importació", + "ERROR_DUPLICATE_CSV_HEADER" : "Capçalera duplicada al CSV: {HEADER}", + "ERROR_EMPTY_FILE" : "El fitxer està buit", + "ERROR_INVALID_CSV_HEADER" : "La capçalera \"{HEADER}\" del CSV no és vàlida, no és ni un atribut ni un paràmetre", + "ERROR_INVALID_MIME_TYPE" : "Tipus de fitxer no suportat: \"{TYPE}\"", + "ERROR_INVALID_GROUP" : "No s'ha trobat cap grup que coincideixi amb \"{GROUP}\"", + "ERROR_INVALID_GROUP_IDENTIFIER" : "No s'ha trobat cap grup de connexió amb l'identificador \"{IDENTIFIER}\"", + "ERROR_INVALID_GROUP_TYPE" : "El grup no és vàlid - ha de ser una cadena de text.", + "ERROR_INVALID_PROTOCOL" : "El protocol no és vàlid \"{PROTOCOL}\"", + "ERROR_INVALID_USER_GROUPS_TYPE" : "El grup d'usuari no és vàlid - ha de ser un array d'identificadors de grup d'usuari.", + "ERROR_INVALID_USERS_TYPE" : "Usuaris no vàlids - ha de ser un array d'identificadors d'usuari.", + "ERROR_NO_FILE_SUPPLIED" : "Seleccioneu un fitxer per importar", + "ERROR_PARSE_FAILURE_CSV" : "Assegureu-vos que heu pujat un fitxer CSV vàlid. L'anàlisi ha fallat amb el següent error \"{ERROR}\". ", + "ERROR_PARSE_FAILURE_JSON" : "Assegureu-vos que heu pujat un fitxer JSON vàlid. L'anàlisi ha fallat amb el següent error \"{ERROR}\". ", + "ERROR_PARSE_FAILURE_YAML" : "Assegureu-vos que heu pujat un fitxer YAML vàlid. L'anàlisi ha fallat amb el següent error \"{ERROR}\". ", + "ERROR_REJECT_UPDATE_CONNECTION" : "La connexió \"{NAME}\" ja existeix a \"{PATH}\"", + "ERROR_REQUIRED_NAME_CONNECTION" : "El nom de connexió és obligatori", + "ERROR_REQUIRED_PROTOCOL_CONNECTION" : "El protocol de connexió és obligatori", + "ERROR_REQUIRED_NAME_FILE" : "No s'ha trobat el nom de la connexió al fitxer", + "ERROR_REQUIRED_PROTOCOL_FILE" : "No s'ha trobat el protocol de connexió al fitxer", + + "FIELD_PLACEHOLDER_FILTER" : "@:APP.FIELD_PLACEHOLDER_FILTER", + + "FIELD_HEADER_EXISTING_CONNECTION_MODE" : "Substituir/Actualitzar les connexions existents", + "FIELD_HEADER_EXISTING_PERMISSION_MODE" : "Reinicia els permisos", + + "HELP_CSV_DESCRIPTION" : "Un fitxer CSV d'importació de connexions ha de tenir un registre de connexió per línia. Cada columna especificarà un camp de la connexió. Com a mínim cal especificar el nom de la connexió i el protocol.", + "HELP_CSV_EXAMPLE" : "name,protocol,username,password,hostname,group,users,groups,guacd-encryption (attribute)\nconn1,vnc,alice,pass1,conn1.web.com,ROOT,guac user 1;guac user 2,Connection 1 Users,none\nconn2,rdp,bob,pass2,conn2.web.com,ROOT/Parent Group,guac user 1,,ssl\nconn3,ssh,carol,pass3,conn3.web.com,ROOT/Parent Group/Child Group,guac user 2;guac user 3,,\nconn4,kubernetes,,,,,,,", + "HELP_CSV_MORE_DETAILS" : "The CSV header for each row specifies the connection field. The connection group ID that the connection should be imported into may be directly specified with \"parentIdentifier\", or the path to the parent group may be specified using \"group\" as shown below. In most cases, there should be no conflict between fields, but if needed, an \" (attribute)\" or \" (parameter)\" suffix may be added to disambiguate. Lists of user or user group identifiers must be semicolon-separated.¹", + "HELP_FILE_TYPE_DESCRIPTION" : "Three file types are supported for connection import: CSV, JSON, and YAML. The same data may be specified by each file type. This must include the connection name and protocol. Optionally, a connection group location, a list of users and/or user groups to grant access, connection parameters, or connection protocols may also be specified. Any users or user groups that do not exist in the current data source will be automatically created. Note that any existing connection permissions will not be removed for updated connections, unless \"Reset permissions\" is checked.", + "HELP_FILE_TYPE_HEADER" : "Tipus de fitxers", + "HELP_JSON_DESCRIPTION" : "Un fitxer JSON d'importació de connexions conté una llista d'objectes de connexió. Com a mínim cal especificar el nom de la connexió i el protocol en cada objecte de connexió.", + "HELP_JSON_EXAMPLE" : "[\n \\{\n \"name\": \"conn1\",\n \"protocol\": \"vnc\",\n \"parameters\": \\{ \"username\": \"alice\", \"password\": \"pass1\", \"hostname\": \"conn1.web.com\" \\},\n \"parentIdentifier\": \"ROOT\",\n \"users\": [ \"guac user 1\", \"guac user 2\" ],\n \"groups\": [ \"Connection 1 Users\" ],\n \"attributes\": \\{ \"guacd-encryption\": \"none\" \\}\n \\},\n \\{\n \"name\": \"conn2\",\n \"protocol\": \"rdp\",\n \"parameters\": \\{ \"username\": \"bob\", \"password\": \"pass2\", \"hostname\": \"conn2.web.com\" \\},\n \"group\": \"ROOT/Parent Group\",\n \"users\": [ \"guac user 1\" ],\n \"attributes\": \\{ \"guacd-encryption\": \"none\" \\}\n \\},\n \\{\n \"name\": \"conn3\",\n \"protocol\": \"ssh\",\n \"parameters\": \\{ \"username\": \"carol\", \"password\": \"pass3\", \"hostname\": \"conn3.web.com\" \\},\n \"group\": \"ROOT/Parent Group/Child Group\",\n \"users\": [ \"guac user 2\ ", \"guac user 3\" ]\n \\},\n \\{\n \"name\": \"conn4\",\n \"protocol\": \"kubernetes\"\n \\}\n]", + "HELP_JSON_MORE_DETAILS" : "The connection group ID that the connection should be imported into may be directly specified with a \"parentIdentifier\" field, or the path to the parent group may be specified using a \"group\" field as shown below. An array of user and user group identifiers to grant access to may be specified per connection.", + "HELP_EXISTING_CONNECTION_MODE" : "Entirely replace/update existing connections if their names and parent connection groups match the values in the provided file. If unchecked, attempting to import a connection with the same name and parent connection group of an existing connection will be considered an error.", + "HELP_EXISTING_PERMISSION_MODE" : "Fully reset the permissions granted for all connections in the provided file to the permissions specified in that file. If no permissions are specified, all relevant connection permissions will be revoked. If unchecked, existing permissions are preserved, and any permissions specified in the file will be added.", + "HELP_SEMICOLON_FOOTNOTE" : "Si cal, els punt i coma es poden escapar utilitzant una contrabarra, per exemple. \"first\\\\;last\"", + "HELP_UPLOAD_DROP_TITLE" : "Arrossegueu un fitxer aquí", + "HELP_UPLOAD_FILE_TYPES" : "CSV, JSON, o YAML", + "HELP_YAML_DESCRIPTION" : "Un fitxer YAML d'importació de connexions és una llista d'objectes de connexió amb exactament la mateixa estructura que el format JSON.", + "HELP_YAML_EXAMPLE" : "---\n - name: conn1\n protocol: vnc\n parameters:\n username: alice\n password: pass1\n hostname: conn1.web.com\n group: ROOT\n users:\n - guac user 1\n - guac user 2\n groups:\n - Connection 1 Users\n attributes:\n guacd-encryption: none\n - name: conn2\n protocol: rdp\n parameters:\n username: bob\n password: pass2\n hostname: conn2.web.com\n group: ROOT/Parent Group\n users:\n - guac user 1\n attributes:\n guacd-encryption: none\n - name: conn3\n protocol: ssh\n parameters:\n username: carol\n password: pass3\n hostname: conn3.web.com\n group: ROOT/Parent Group/Child Group\n users:\n - guac user 2\n - guac user 3\n - name: conn4\n protocol: kubernetes", + + "INFO_CONNECTIONS_IMPORTED_SUCCESS" : "{NUMBER} {NUMBER, plural, one{connexió importada} other{connexions importades}} correctament.", + + "SECTION_HEADER_CONNECTION_IMPORT" : "Importa una connexió", + "SECTION_HEADER_HELP_CONNECTION_IMPORT_FILE" : "Format de fitxer d'importació de connexions", Review Comment: Reorganized -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org