chore: remove source comments and unused code, translate every missing string (#1965)

* chore(i18n): translate every missing string in all locales

Adds the 87 strings the bottom-screen Dashboard and in-game stats pages
introduced to all 32 locales, plus the 51 older settings strings Japanese
and the 50 Chinese locales were still missing. Every locale now has all
3456 translatable strings with the same placeholders as English.

Also translates 36 entries that were still English where the language
does not use the English word, and makes es-419 touch_app_id use the same
%1$s placeholder as English.

* chore(patches): drop comments from the lines downstream patches add

Removes comment lines and trailing comments from lines our patches add,
with hunk headers recounted. Lines that a later patch uses as context
and the upstream backport 0123 are left as they are.

The gamescope, FEX, proot and xodus series still apply to their pinned
sources, and the patched trees differ only in those comments.
test_hud_frames now finds the HUD writer by its first declaration.

* docs: credit Greenlight, Better xCloud, viture-v2, GameNative and DiRTTelemetryErrorFix

These were credited only in source headers and NOTICE files.

* chore: remove source comments and unused functions

Removes explanatory comments from first-party Kotlin, Java, C, C++,
Rust, TypeScript, Python, shell, Gradle, CMake and workflow files.
License and attribution headers stay, and vendored third-party trees,
generated files and license files are untouched. A shellcheck directive
is kept, and udevmon's fallthrough comments became fallthrough attributes.

Syntax trees and token streams match the previous sources apart from the
comments and Python docstrings. Module docstrings that argparse prints
are kept, and device-smoke.sh prints the same --help text from a heredoc.

Also removes 37 functions and 4 fields that nothing referenced.

* chore: remove comments from the Syncthing integration and the latest main sources

* docs: credit Syncthing and the syncthing-android fork

* chore(i18n): translate the Syncthing strings in all locales

The 107 strings the Syncthing integration added are now in all 32 locales.
sync_web_path_locked names the Syncthing tab by its label.

* docs: credit @xXJSONDeruloXx for the HUD metric readers

The CPU, GPU load, thermal and battery readers come from their
PerformanceHudView pull requests #777, #877, #991, #1406 and #1573.
The FusionHUD credit line is unchanged.

* docs: credit the HUD metric readers to @xXJSONDeruloXx's work
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-11-01 16:27:27 -05:00
1 parent d730f0fa8b
commit c5577478ca
511 files changed
+6813 -4068

No files matched your search

+194
View File
@@ -1790,6 +1790,93 @@
<string name="second_mode_keyboard_trackpad">Teclado + trackpad</string>
<string name="second_mode_terminal">Terminal</string>
<string name="second_mode_deck_controls">Pegas + trackpads do Deck</string>
<string name="second_mode_dashboard">Painel</string>
<string name="bottom_dashboard_empty">Ainda não há nada para mostrar aqui.</string>
<string name="bottom_page_downloads">Transferências</string>
<string name="bottom_downloads_none">Nenhuma transferência em curso.</string>
<string name="bottom_downloads_steam">Steam</string>
<string name="bottom_downloads_shader">A transferir a cache de shaders</string>
<string name="bottom_downloads_paused">Em pausa</string>
<string name="bottom_downloads_queued">A aguardar início</string>
<string name="bottom_page_notifications">Notificações</string>
<string name="bottom_notifications_listener">Ecrã inferior do DroidDeck</string>
<string name="bottom_notifications_why">Mostre aqui mensagens e outras notificações enquanto joga. Ficam apenas neste ecrã e não são guardadas. O Android pergunta uma vez: a página de acesso às notificações abre neste ecrã; ative lá o DroidDeck e esta página volta automaticamente.</string>
<string name="bottom_notifications_allow">Permitir acesso às notificações</string>
<string name="bottom_notifications_none">Sem notificações.</string>
<string name="bottom_notifications_count">%1$d notificações</string>
<string name="bottom_notifications_clear">Limpar</string>
<string name="bottom_page_screenshots">Capturas de ecrã</string>
<string name="stats_fps_needs_hud">O FPS requer o HUD ativado</string>
<string name="stats_speed">Velocidade</string>
<string name="stats_pedals">Pedais</string>
<string name="stats_gforce">Força G</string>
<string name="stats_timing">Tempos</string>
<string name="stats_best_lap">Melhor volta</string>
<string name="stats_tires">Pneus °C</string>
<string name="stats_trace">Acelerador e travão, últimos 10 s</string>
<string name="stats_speed_chart">Velocidade, %1$s</string>
<string name="stats_gear">Mudança</string>
<string name="stats_speed_units">Unidade de velocidade</string>
<string name="stats_speed_units_auto">Automático (%1$s)</string>
<string name="stats_steam_client_arm">Cliente Steam ARM</string>
<string name="stats_steam_client_x86">Cliente Steam x86</string>
<string name="stats_throttle">Acelerador</string>
<string name="stats_brake">Travão</string>
<string name="stats_lights">Painel</string>
<string name="stats_lamp_shift">Engrenar mudança</string>
<string name="stats_lamp_handbrake">Travão de mão</string>
<string name="stats_lamp_pit">Limitador de pit</string>
<string name="stats_lamp_tc">TC</string>
<string name="stats_lamp_abs">ABS</string>
<string name="stats_turbo">Turbo %1$s bar</string>
<string name="stats_engine_temp">Motor %1$s °C</string>
<string name="stats_oil_temp">Óleo %1$s °C</string>
<string name="stats_power">Distribuidor de energia</string>
<string name="stats_fuel_t">Combustível, t</string>
<string name="stats_fuel_main">Principal %1$s t</string>
<string name="stats_fuel_reserve">Reserva %1$s t</string>
<string name="stats_tap_hint">Toque na faixa superior ou no painel para alterar o estilo.</string>
<string name="bottom_telemetry_send_title">Enviar dados para o painel</string>
<string name="bottom_telemetry_send_auto">Automático</string>
<string name="bottom_telemetry_send_auto_hint">Ativa para todos os jogos aqui listados, incluindo os encontrados mais tarde. Os jogos que desativar permanecem desativados.</string>
<string name="bottom_telemetry_send_note">Isto altera a definição de saída de dados do próprio jogo. Aplica-se da próxima vez que o jogo iniciar; desativar repõe a definição anterior.</string>
<string name="bottom_telemetry_send_close">Feche %1$s para alterar isto.</string>
<string name="bottom_telemetry_send_failed">Não foi possível alterar as definições de %1$s.</string>
<string name="bottom_telemetry_send_menu">%1$s: ative %2$s nas definições do jogo com o IP 127.0.0.1 e a porta %3$d.</string>
<string name="bottom_shots_where">Guardadas em Pictures/DroidDeck. As capturas de ecrã do Steam também aparecem aqui.</string>
<string name="bottom_shots_take">Fazer captura de ecrã</string>
<string name="bottom_shots_saved">Captura de ecrã guardada.</string>
<string name="bottom_shots_failed">Não foi possível fazer a captura de ecrã.</string>
<string name="bottom_shots_none">Ainda não há capturas de ecrã.</string>
<string name="bottom_page_chat">Chat e voz</string>
<string name="bottom_chat_why">Leia e responda ao chat do Steam aqui enquanto o jogo continua a correr no ecrã principal. Utiliza a conta com que o Steam tem sessão iniciada.</string>
<string name="bottom_chat_not_signed_in">O Steam ainda não tem uma sessão web para partilhar, por isso inicie sessão aqui uma vez.</string>
<string name="bottom_chat_stopped">O Android fechou a página do chat enquanto o DroidDeck estava em segundo plano. Volta a abrir quando regressar ao DroidDeck.</string>
<string name="bottom_chat_open">Abrir o Steam Chat</string>
<string name="bottom_chat_close">Fechar chat</string>
<string name="bottom_chat_mic_on">Microfone ligado</string>
<string name="bottom_chat_mic_off">Microfone desligado</string>
<string name="bottom_chat_mic_unavailable">O microfone está desligado neste jogo. Para falar, ative Microfone nas definições do Steam do DroidDeck (Áudio) e volte a iniciar o jogo.</string>
<string name="bottom_chat_volume">Volume %1$d%%</string>
<string name="bottom_page_telemetry">Estatísticas no jogo</string>
<string name="bottom_telemetry_fps">FPS</string>
<string name="bottom_telemetry_cpu">CPU</string>
<string name="bottom_telemetry_gpu">GPU</string>
<string name="bottom_telemetry_battery">Bateria</string>
<string name="bottom_telemetry_lap">Volta</string>
<string name="bottom_telemetry_position">Posição</string>
<string name="bottom_telemetry_this_lap">Volta atual</string>
<string name="bottom_telemetry_last_lap">Última volta</string>
<string name="bottom_telemetry_fuel">Combustível</string>
<string name="bottom_telemetry_cargo">Carga</string>
<string name="bottom_telemetry_pips">Pips SYS · ENG · WEP</string>
<string name="bottom_telemetry_legal">Estado legal</string>
<string name="bottom_telemetry_balance">Saldo</string>
<string name="bottom_telemetry_war_thunder">War Thunder</string>
<string name="bottom_telemetry_elite">Elite Dangerous</string>
<string name="bottom_telemetry_help">Ative a saída de dados de um jogo de corridas (muitas vezes chamada telemetria ou UDP) para ver aqui um painel em direto. Os dados ficam neste dispositivo.</string>
<string name="bottom_telemetry_unknown_format">A porta %1$d está a receber dados (%2$d pacotes de %3$d bytes), mas num formato que esta página ainda não consegue ler.</string>
<string name="bottom_telemetry_port_busy">Outro programa já utiliza a porta %1$s, por isso esse jogo não pode aparecer aqui.</string>
<string name="rtinst_removing">A remover o runtime Linux</string>
<plurals name="rtinst_removing_entries">
@@ -3283,6 +3370,113 @@
<string name="spatial_saved_views_hint">As visualizações guardadas podem ser recalculadas. Inicie uma nova calibração para captar no sistema de coordenadas de seguimento atual.</string>
<string name="spatial_model_checksum_error">Incompatibilidade de checksum do modelo de mãos</string>
<string name="spatial_opencv_load_error">O OpenCV não conseguiu carregar</string>
<string name="setup_tab_sync">Syncthing</string>
<string name="sync_group">Syncthing</string>
<string name="sync_enable">Sincronizar com o Syncthing</string>
<string name="sync_enable_hint">Baseada no Syncthing-Fork, esta é uma implementação do Syncthing que lhe permite sincronizar ficheiros do sistema de ficheiros interno do DroidDeck com outras instâncias do Syncthing. Aplica-se apenas aos ficheiros que guarda no sistema de ficheiros interno do DroidDeck.</string>
<string name="sync_missing">Esta compilação não inclui o Syncthing.</string>
<string name="sync_starting">A iniciar o Syncthing</string>
<string name="sync_status_starting">A iniciar</string>
<string name="sync_status_up_to_date">Atualizado</string>
<string name="sync_status_syncing">A sincronizar</string>
<string name="sync_status_paused">Em pausa</string>
<string name="sync_status_pausing">A pausar</string>
<string name="sync_status_resuming">A retomar</string>
<string name="sync_status_attention">Requer atenção</string>
<string name="sync_status_failed">O Syncthing parou</string>
<string name="sync_failed_retry">Tentar novamente</string>
<string name="sync_paused_wifi">Em pausa até haver Wi-Fi</string>
<string name="sync_paused_game">Em pausa durante o jogo</string>
<string name="sync_summary">%1$d pastas · %2$d de %3$d dispositivos ligados</string>
<string name="sync_left">Faltam %1$s</string>
<string name="sync_open_web_ui">Abrir interface web</string>
<string name="sync_pause">Pausar</string>
<string name="sync_resume">Retomar</string>
<string name="sync_running">Em execução</string>
<string name="sync_running_hint">Desative para parar o Syncthing por completo.</string>
<string name="sync_this_device">Este dispositivo</string>
<string name="sync_device_id">ID do dispositivo</string>
<string name="sync_show_qr">Mostrar QR</string>
<string name="sync_advanced">Avançado</string>
<string name="sync_advanced_hint">Portas, quando executar, repor</string>
<string name="sync_open">Abrir</string>
<string name="sync_waiting">À sua espera</string>
<string name="sync_pending_device">%1$s quer ligar-se</string>
<string name="sync_pending_folder">%1$s quer partilhar “%2$s”</string>
<string name="sync_pending_folder_hint">Aceite para escolher onde é guardada no DroidDeck.</string>
<string name="sync_review">Rever na interface web</string>
<string name="sync_folders">Pastas</string>
<string name="sync_no_folders">Ainda não há pastas.</string>
<string name="sync_folder_detail">%1$s · %2$s</string>
<string name="sync_folder_up_to_date">Atualizada</string>
<string name="sync_folder_syncing">A sincronizar %1$d%%</string>
<string name="sync_folder_scanning">A analisar</string>
<string name="sync_folder_paused">Em pausa</string>
<string name="sync_folder_out_of_sync">Dessincronizada</string>
<string name="sync_folder_errors">Não foi possível sincronizar %1$d ficheiros</string>
<string name="sync_folder_blocked">Bloqueada</string>
<string name="sync_folder_blocked_hint">Esta pasta está fora do armazenamento do DroidDeck, por isso o DroidDeck colocou-a em pausa. Para sincronizar pastas fora do DroidDeck, utilize a app Syncthing-Fork.</string>
<string name="sync_remove_folder">Remover do Syncthing</string>
<string name="sync_remove_folder_hint">Removê-la não elimina nenhum ficheiro.</string>
<string name="sync_devices">Dispositivos</string>
<string name="sync_no_devices">Ainda não há dispositivos.</string>
<string name="sync_connected">Ligado</string>
<string name="sync_offline">Offline</string>
<string name="sync_last_seen">Visto pela última vez: %1$s</string>
<string name="sync_device_id_title">ID deste dispositivo</string>
<string name="sync_device_id_hint">No outro dispositivo, adicione um dispositivo no Syncthing e leia este código ou cole o ID. Depois, aceite-o aqui na interface web.</string>
<string name="sync_copy">Copiar</string>
<string name="sync_share">Partilhar</string>
<string name="sync_done">Concluído</string>
<string name="sync_off_title">Desativar o Syncthing?</string>
<string name="sync_off_body">O Syncthing para agora e continua parado até voltar a ser ativado. Os ficheiros sincronizados ficam onde estão.</string>
<string name="sync_off_forget">Eliminar também a configuração do Syncthing</string>
<string name="sync_off_forget_hint">Remove o ID deste dispositivo, as pastas e os dispositivos. Ao voltar a ativá-lo, começa do zero.</string>
<string name="sync_turn_off">Desativar</string>
<string name="sync_ports">Portas</string>
<string name="sync_port_sync">Sincronização</string>
<string name="sync_port_discovery">Descoberta local</string>
<string name="sync_repick">Escolher novas portas</string>
<string name="sync_repick_hint">Verificadas novamente em cada início.</string>
<string name="sync_repick_button">Escolher novamente</string>
<string name="sync_reset_group">Repor</string>
<string name="sync_api_key">Chave da API</string>
<string name="sync_regenerate">Regenerar</string>
<string name="sync_reset">Repor o Syncthing</string>
<string name="sync_reset_hint">Novo ID do dispositivo; pastas e dispositivos removidos. Os ficheiros no armazenamento do DroidDeck são mantidos.</string>
<string name="sync_reset_button">Repor</string>
<string name="sync_reset_confirm_title">Repor o Syncthing?</string>
<string name="sync_running_group">Execução</string>
<string name="sync_run">Executar</string>
<string name="sync_run_open">Enquanto o DroidDeck estiver aberto</string>
<string name="sync_run_background">Em segundo plano</string>
<string name="sync_wifi_only">Apenas Wi-Fi</string>
<string name="sync_pause_games">Pausar durante os jogos</string>
<string name="sync_logs">Registos</string>
<string name="sync_logs_hint">Saída do Syncthing nesta sessão</string>
<string name="sync_logs_share">Partilhar</string>
<string name="sync_notification_channel">Syncthing</string>
<string name="sync_needs_runtime">Configure primeiro o ambiente de execução Linux.</string>
<string name="sync_accept">Aceitar</string>
<string name="sync_accept_title">Guardar “%1$s” em</string>
<string name="sync_add_folder">Adicionar pasta</string>
<string name="sync_add_folder_hint">Sincronizar uma pasta no armazenamento do DroidDeck</string>
<string name="sync_choose">Escolher</string>
<string name="sync_add">Adicionar</string>
<string name="sync_add_failed">Não foi possível adicionar a pasta.</string>
<string name="sync_share_with">Partilhar com</string>
<string name="sync_share_none">Ainda não há dispositivos. Pode partilhar esta pasta mais tarde a partir da interface web.</string>
<string name="sync_use_folder">Utilizar esta pasta</string>
<string name="sync_new_folder">Nova pasta</string>
<string name="sync_location_home">Pasta pessoal do contentor</string>
<string name="sync_location_sync">Pasta Sync</string>
<string name="sync_location_shared">Armazenamento partilhado do DroidDeck</string>
<string name="sync_location_card">DroidDeck em %1$s</string>
<string name="sync_location_app">Dados da app DroidDeck</string>
<string name="sync_web_path_locked">As novas pastas são guardadas na pasta Sync do DroidDeck. Para sincronizar outra pasta do DroidDeck, utilize Adicionar pasta no separador Syncthing.</string>
<string name="sync_web_title">Syncthing</string>
<string name="sync_web_reload">Recarregar</string>
<string name="sync_not_running">O Syncthing não está em execução.</string>
<string name="session_end_steam_sigill">O Steam parou com uma instrução ilegal (SIGILL). Pode ser um problema de compatibilidade de instruções da CPU ou uma falha do cliente. Partilhe os registos com os detalhes do seu dispositivo.</string>
<string name="session_end_steam_try_x64">Pode experimentar Definições do Steam → Cliente Steam → x86-64 (experimental). Requer uma transferência adicional e pode ser mais lento.</string>
<string name="session_end_vulkan_device">O controlador gráfico Linux não encontrou um dispositivo Vulkan utilizável. Verifique se o controlador de GPU Linux selecionado suporta esta GPU.</string>