Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/22697/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_cups/es/?format=api", "source": [ "# Log general information in error_log - change \"info\" to \"debug\" for\n# troubleshooting...\nLogLevel info\n\n# Administrator user group...\nSystemGroup wheel\n\n# Listen for connections on Port 631.\nPort 631\n#Listen localhost:631\nListen /var/run/cups.sock\n\n# Show shared printers on the local network.\nBrowsing On\nBrowseOrder allow,deny\n#BrowseAllow @LOCAL\nBrowseAllow 192.168.1.* # change to local LAN settings\nBrowseAddress 192.168.1.* # change to local LAN settings\n\n# Default authentication type, when authentication is required...\nDefaultAuthType Basic\nDefaultEncryption Never # comment this line to allow encryption\n\n# Allow access to the server from any machine on the LAN\n<Location />\n Order allow,deny\n #Allow localhost\n Allow 192.168.1.* # change to local LAN settings\n</Location>\n\n# Allow access to the admin pages from any machine on the LAN\n<Location /admin>\n #Encryption Required\n Order allow,deny\n #Allow localhost\n Allow 192.168.1.* # change to local LAN settings\n</Location>\n\n# Allow access to configuration files from any machine on the LAN\n<Location /admin/conf>\n AuthType Basic\n Require user @SYSTEM\n Order allow,deny\n #Allow localhost\n Allow 192.168.1.* # change to local LAN settings\n</Location>\n\n# Set the default printer/job policies...\n<Policy default>\n # Job-related operations must be done by the owner or an administrator...\n <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs \\\nSet-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription \\\nGet-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job \\\nCUPS-Move-Job>\n Require user @OWNER @SYSTEM\n Order deny,allow\n </Limit>\n\n # All administration operations require an administrator to authenticate...\n <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer \\\nDisable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs \\\nDeactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer \\\nPromote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class \\\nCUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>\n AuthType Basic\n Require user @SYSTEM\n Order deny,allow\n </Limit>\n\n # Only the owner or an administrator can cancel or authenticate a job...\n <Limit Cancel-Job CUPS-Authenticate-Job>\n Require user @OWNER @SYSTEM\n Order deny,allow\n </Limit>\n\n <Limit All>\n Order deny,allow\n </Limit>\n</Policy>" ], "previous_source": "", "target": [ "# Registrar la información general en error_log - cambie \"info\" a \"debug\" para\n#la resolución de problemas...\nLogLevel info\n\n# Administrador del grupo de usuarios...\nSystemGroup wheel\n\n# Escuchar las conexiones en el puerto 631.\nPort 631\n#Escuchar localhost:631\nListen /var/run/cups.sock\n\n# Mostrar impresoras compartidas en la red local.\nBrowsing On\nBrowseOrder allow,deny\n#BrowseAllow @LOCAL\nBrowseAllow 192.168.1.* # change to local LAN settings\nBrowseAddress 192.168.1.* # change to local LAN settings\n\n# Tipo de autenticación predeterminado, cuando se requiere autenticación...\nDefaultAuthType Basic\nDefaultEncryption Never # comenta esta línea para permitir el cifrado\n\n# Permitir el acceso al servidor desde cualquier máquina en la LAN\n<Location />\n Order allow,deny\n #Permitir localhost\n Allow 192.168.1.* # cambiar a la configuración de LAN local\n</Location>\n\n# Permitir el acceso a las páginas de administración desde cualquier máquina en la LAN\n<Location /admin>\n #Cifrado requerido\n Order allow,deny\n #Permitir localhost\n Allow 192.168.1.* # cambiar a la configuración de LAN local\n</Location>\n\n# Permitir el acceso a los archivos de configuración desde cualquier máquina en la LAN\n<Location /admin/conf>\n AuthType Basic\n Require user @SYSTEM\n Order allow,deny\n #Permitir localhost\n Allow 192.168.1.* # cambiar a la configuración de LAN local\n</Location>\n\n# Establece las políticas predeterminadas de impresora/trabajo...\n<Policy default>\n # Las operaciones relacionadas con un job deben ser realizadas por el propietario o un administrador...\n <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs \\\nSet-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription \\\nGet-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job \\\nCUPS-Move-Job>\n Require user @OWNER @SYSTEM\n Order deny,allow\n </Limit>\n\n # Todas las operaciones de administración requieren de un administrador para autenticarse...\n <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer \\\nDisable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs \\\nDeactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer \\\nPromote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class \\\nCUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>\n AuthType Basic\n Require user @SYSTEM\n Order deny,allow\n </Limit>\n\n # Solo el propietario o un administrador puede cancelar o autenticar un job...\n <Limit Cancel-Job CUPS-Authenticate-Job>\n Require user @OWNER @SYSTEM\n Order deny,allow\n </Limit>\n\n <Limit All>\n Order deny,allow\n </Limit>\n</Policy>" ], "id_hash": -5013769016378229320, "content_hash": -5013769016378229320, "location": "article.translate.xml:288", "context": "", "note": "(itstool) path: sect1/programlisting", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 48, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 293, "source_unit": "https://translate-dev.freebsd.org/api/units/98007/?format=api", "priority": 100, "id": 22697, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_cups/es/?checksum=3a6b83a4c8ea7db8", "url": "https://translate-dev.freebsd.org/api/units/22697/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:02:13.092596Z" }