Continue with Spanish translations for the settings window. Size the settings pane better to fit languages that need different sizes.

This commit is contained in:
Brent Simmons committed 2026-10-08 15:46:02 -07:00
1 parent a17c2fa007
commit aea7795bcc
10 files changed
+366 -45

No files matched your search

@@ -73,9 +73,10 @@ final class AccountsPreferencesViewController: NSViewController {
let alert = NSAlert()
alert.alertStyle = .warning
let deletePrompt = NSLocalizedString("Delete", comment: "Delete button")
alert.messageText = "\(deletePrompt) “\(accountName)”?"
alert.informativeText = NSLocalizedString("Are you sure you want to delete the account “\(accountName)”? This cannot be undone.", comment: "Delete text")
let messageFormat = NSLocalizedString("Delete “%@”?", comment: "Delete account alert title")
alert.messageText = String(format: messageFormat, accountName)
let informativeFormat = NSLocalizedString("Are you sure you want to delete the account “%@”? This cannot be undone.", comment: "Delete account alert message")
alert.informativeText = String(format: informativeFormat, accountName)
alert.addButton(withTitle: NSLocalizedString("Delete", comment: "Delete button"))
alert.addButton(withTitle: NSLocalizedString("Cancel", comment: "Cancel button"))
@@ -34,7 +34,7 @@ final class AdvancedPreferencesViewController: NSViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.sizeHeightToFit()
view.sizeToFittingSize()
}
override func viewWillAppear() {
@@ -67,10 +67,11 @@
<action selector="updateTypeButtonClicked:" target="-2" id="3Jh-Vu-GlY"/>
</connections>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="MzL-QQ-2oL">
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1" translatesAutoresizingMaskIntoConstraints="NO" id="MzL-QQ-2oL">
<rect key="frame" x="-2" y="113" width="334" height="48"/>
<constraints>
<constraint firstAttribute="width" constant="330" id="jf8-5e-Eij"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="330" id="jf8-5e-Eij"/>
<constraint firstAttribute="width" priority="249" constant="330" id="aDv-wP-g03"/>
</constraints>
<textFieldCell key="cell" selectable="YES" title="If you’re not sure, choose Release builds. Test builds may have bugs, which may include crashing bugs and data loss." id="fOZ-zv-QTc">
<font key="font" metaFont="system"/>
@@ -166,6 +167,8 @@
<constraint firstItem="uJD-OF-YVY" firstAttribute="top" secondItem="Hij-7D-6Pw" secondAttribute="top" constant="20" symbolic="YES" id="T6k-KK-0gC"/>
<constraint firstAttribute="bottom" secondItem="uJD-OF-YVY" secondAttribute="bottom" constant="20" symbolic="YES" id="ftc-7Q-cpC"/>
<constraint firstItem="uJD-OF-YVY" firstAttribute="centerX" secondItem="Hij-7D-6Pw" secondAttribute="centerX" id="njb-lt-xOA"/>
<constraint firstItem="uJD-OF-YVY" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Hij-7D-6Pw" secondAttribute="leading" constant="20" id="aDv-lM-g01"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="uJD-OF-YVY" secondAttribute="trailing" constant="20" id="aDv-tM-g02"/>
</constraints>
</view>
<userDefaultsController id="Y8q-yi-F5Z"/>
@@ -202,7 +202,7 @@
<action selector="browserPopUpDidChangeValue:" target="-2" id="vSr-98-LQL"/>
</connections>
</popUpButton>
<button horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="Ubm-Pk-l7x">
<button verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="Ubm-Pk-l7x">
<rect key="frame" x="110" y="151" width="283" height="16"/>
<buttonCell key="cell" type="check" title="Open web pages in background in browser" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="t0a-LN-rCv">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -351,7 +351,6 @@
<constraint firstItem="UI6-sq-M15" firstAttribute="leading" secondItem="Z6O-Zt-V1g" secondAttribute="leading" id="ffy-ld-r5Q"/>
<constraint firstAttribute="trailing" secondItem="Ci4-fW-KjU" secondAttribute="trailing" constant="1" id="h0b-Nh-tJJ"/>
<constraint firstAttribute="trailing" secondItem="SFF-mL-yc8" secondAttribute="trailing" constant="1" id="hYk-Ff-wTy"/>
<constraint firstItem="SFF-mL-yc8" firstAttribute="leading" secondItem="hQy-ng-ijd" secondAttribute="trailing" constant="-282" id="hhb-8Q-KWc"/>
<constraint firstItem="0W5-tO-S63" firstAttribute="leading" secondItem="UI6-sq-M15" secondAttribute="leading" constant="22" id="jmc-lb-wp2"/>
<constraint firstAttribute="trailing" secondItem="Yrc-6Q-kx8" secondAttribute="trailing" id="o3L-x4-mEr"/>
<constraint firstItem="Wsb-Lr-8Q7" firstAttribute="trailing" secondItem="pR2-Bf-7Fd" secondAttribute="trailing" id="obL-84-81H"/>
@@ -387,6 +386,8 @@
</subviews>
<constraints>
<constraint firstItem="Ut3-yd-q6G" firstAttribute="centerX" secondItem="WnV-px-wCT" secondAttribute="centerX" constant="-1" id="87C-ym-WzY"/>
<constraint firstItem="Ut3-yd-q6G" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="WnV-px-wCT" secondAttribute="leading" constant="20" id="gNl-lM-g01"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Ut3-yd-q6G" secondAttribute="trailing" constant="20" id="gNl-tM-g02"/>
<constraint firstAttribute="bottom" secondItem="Ut3-yd-q6G" secondAttribute="bottom" constant="16" id="FVX-gg-o9H"/>
<constraint firstItem="Ut3-yd-q6G" firstAttribute="top" secondItem="WnV-px-wCT" secondAttribute="top" constant="16" id="jtz-mW-ptL"/>
</constraints>
@@ -38,7 +38,7 @@ final class GeneralPreferencesViewController: NSViewController {
override func viewDidLoad() {
super.viewDidLoad()
fixArticleTextSizeBaselineIfNeeded()
view.sizeHeightToFit()
view.sizeToFittingSize()
}
override func viewWillAppear() {
@@ -380,7 +380,7 @@
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Abrir fuentes en el lector de noticias predeterminado"
"value" : "Abrir fuentes en el lector predeterminado"
}
}
}
@@ -398,7 +398,7 @@
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Abrir páginas web en segundo plano en el navegador"
"value" : "Abrir páginas web en segundo plano"
}
}
}
@@ -412,6 +412,12 @@
"state" : "new",
"value" : "Show"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Mostrar"
}
}
}
},
@@ -424,6 +430,12 @@
"state" : "new",
"value" : "Show dot"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Mostrar punto"
}
}
}
},
@@ -436,6 +448,12 @@
"state" : "new",
"value" : "Hide"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ocultar"
}
}
}
},
@@ -466,6 +484,12 @@
"state" : "new",
"value" : "Unread Counts:"
}
},
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Contadores de no leídos:"
}
}
}
},
@@ -482,7 +506,7 @@
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Tamaño del texto del artículo:"
"value" : "Tamaño del texto:"
}
}
}
@@ -29,7 +29,7 @@ private struct ToolbarItemIdentifier {
final class PreferencesWindowController: NSWindowController, NSToolbarDelegate {
private let windowWidth = CGFloat(512.0) // Width is constant for all views; only the height changes
private let minimumWindowWidth = CGFloat(512.0) // Panes that need more room widen the window
private var viewControllers = [String: NSViewController]()
private let toolbarItemSpecs: [PreferencesToolbarItemSpec] = {
var specs = [PreferencesToolbarItemSpec]()
@@ -178,6 +178,7 @@ private extension PreferencesWindowController {
let windowFrame = window!.frame
let contentViewFrame = window!.contentView!.frame
let windowWidth = max(minimumWindowWidth, viewFrame.width)
let deltaHeight = contentViewFrame.height - viewFrame.height
let heightForWindow = windowFrame.height - deltaHeight
let windowOriginY = windowFrame.minY + deltaHeight
@@ -185,7 +186,7 @@ private extension PreferencesWindowController {
var updatedWindowFrame = windowFrame
updatedWindowFrame.size.height = heightForWindow
updatedWindowFrame.origin.y = windowOriginY
updatedWindowFrame.size.width = windowWidth // NSWidth(viewFrame)
updatedWindowFrame.size.width = windowWidth
var updatedViewFrame = viewFrame
updatedViewFrame.origin = NSPoint.zero
@@ -52,10 +52,10 @@ public extension NSView {
}
}
/// Sets the view’s height to its Auto Layout fitting height, keeping its width.
func sizeHeightToFit() {
/// Sets the view’s size to its Auto Layout fitting size.
func sizeToFittingSize() {
layoutSubtreeIfNeeded()
setFrameSize(NSSize(width: frame.width, height: fittingSize.height))
setFrameSize(fittingSize)
}
}
#endif
+54
View File
@@ -58,6 +58,60 @@
}
}
}
},
"es" : {
"variations" : {
"device" : {
"appletv" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi Apple TV"
}
},
"applevision" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi Apple Vision"
}
},
"applewatch" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi Apple Watch"
}
},
"ipad" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi iPad"
}
},
"iphone" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi iPhone"
}
},
"ipod" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi iPod"
}
},
"mac" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi Mac"
}
},
"other" : {
"stringUnit" : {
"state" : "translated",
"value" : "En mi dispositivo"
}
}
}
}
}
}
}
+265 -28
View File
@@ -45,6 +45,28 @@
"%lld months" : {
"comment" : "Dinosaur staleness threshold in months"
},
"Are you sure you want to delete the account “%@”? This cannot be undone." : {
"comment" : "Delete account alert message",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "¿Seguro que quieres eliminar la cuenta «%@»? Esta acción no se puede deshacer."
}
}
}
},
"Delete “%@”?" : {
"comment" : "Delete account alert title",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "¿Eliminar «%@»?"
}
}
}
},
"🦖 Dinosaurs" : {
"comment" : "The title of the Dinosaurs screen.",
"isCommentAutoGenerated" : true
@@ -53,7 +75,15 @@
"comment" : "Sort direction"
},
"A web browser will open the Feedly login for you to authorize access." : {
"comment" : "Alert informative text when adding a Feedly account and waiting for authorization from the user."
"comment" : "Alert informative text when adding a Feedly account and waiting for authorization from the user.",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Se abrirá un navegador web con el inicio de sesión de Feedly para que autorices el acceso."
}
}
}
},
"Account" : {
"comment" : "Account"
@@ -68,10 +98,25 @@
"comment" : "Help link"
},
"Accounts" : {
"comment" : "Preferences"
"comment" : "Preferences",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Cuentas"
}
}
}
},
"Active" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Activa"
}
}
}
},
"Activity Log" : {
"comment" : "Activity Log screen title"
@@ -89,10 +134,26 @@
},
"Add Account" : {
"comment" : "Add Account"
"comment" : "Add Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Añadir cuenta"
}
}
}
},
"Add an account by clicking the + button." : {
"comment" : "Add Account Explainer"
"comment" : "Add Account Explainer",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Añade una cuenta haciendo clic en el botón +."
}
}
}
},
"Add Feed" : {
"comment" : "Add Feed"
@@ -112,7 +173,15 @@
"isCommentAutoGenerated" : true
},
"Advanced" : {
"comment" : "Preferences"
"comment" : "Preferences",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Avanzado"
}
}
}
},
"All Articles" : {
"comment" : "All Articles"
@@ -199,7 +268,15 @@
"comment" : "Feed finder"
},
"Cancel" : {
"comment" : "Cancel button"
"comment" : "Cancel button",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Cancelar"
}
}
}
},
"Canceled." : {
"comment" : "Scan status text when canceled"
@@ -214,7 +291,14 @@
"comment" : "Import Account"
},
"Choose an account type to add…" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Elige el tipo de cuenta que quieres añadir…"
}
}
}
},
"Choose an account with the subscriptions to export" : {
"comment" : "Export Account"
@@ -259,7 +343,14 @@
"comment" : "Completed"
},
"Continue" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Continuar"
}
}
}
},
"Copy Article URL" : {
"comment" : "Command"
@@ -290,7 +381,14 @@
"comment" : "Account Local"
},
"Credentials" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Credenciales"
}
}
}
},
"Current Activity" : {
"comment" : "Current Activity"
@@ -314,7 +412,15 @@
"comment" : "Default"
},
"Delete" : {
"comment" : "Delete button"
"comment" : "Delete button",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Eliminar"
}
}
}
},
"Delete Feed" : {
"comment" : "Delete Feed"
@@ -498,7 +604,15 @@
"comment" : "Activity log — appended when a download was served from cache instead of the network"
},
"General" : {
"comment" : "Preferences"
"comment" : "Preferences",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "General"
}
}
}
},
"Get Feed Info" : {
"comment" : "Get Feed Info"
@@ -546,7 +660,15 @@
"comment" : "FreshRSS API Helper"
},
"iCloud" : {
"comment" : "iCloud Account"
"comment" : "iCloud Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "iCloud"
}
}
}
},
"iCloud storage cleanup completed." : {
"comment" : "Cleanup phase text when completed"
@@ -614,10 +736,26 @@
"comment" : "Link"
},
"Local" : {
"comment" : "Local Account"
"comment" : "Local Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Local"
}
}
}
},
"Local accounts do not sync feeds across devices" : {
"comment" : "Local Account"
"comment" : "Local Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Las cuentas locales no sincronizan las fuentes entre dispositivos"
}
}
}
},
"Local accounts do not sync your feeds across devices." : {
"comment" : "Local"
@@ -689,7 +827,14 @@
"comment" : "Name field placeholder"
},
"Name:" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Nombre:"
}
}
}
},
"NetNewsWire 7 is dedicated to everyone working to save democracy in the United States and around the world." : {
"comment" : "A dedication to those working to save democracy.",
@@ -925,10 +1070,26 @@
"comment" : "Selected - Star Article"
},
"Self-hosted" : {
"comment" : "Self hosted Account"
"comment" : "Self hosted Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Autoalojadas"
}
}
}
},
"Self-hosted accounts sync your feeds across all your devices" : {
"comment" : "Self hosted Account"
"comment" : "Self hosted Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Las cuentas autoalojadas sincronizan tus fuentes en todos tus dispositivos"
}
}
}
},
"Self-hosted accounts sync your feeds across all your devices." : {
"comment" : "Self hosted Account"
@@ -1039,20 +1200,49 @@
"comment" : "Dinosaurs swipe hint."
},
"Sync content of unread articles" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Sincronizar el contenido de los artículos no leídos"
}
}
}
},
"Syncing article content increases iCloud storage use, sync time, and battery use.\n\nArticle status and the content of starred articles are always synced." : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Sincronizar el contenido de los artículos aumenta el uso del almacenamiento de iCloud, el tiempo de sincronización y el consumo de batería.\n\nEl estado de los artículos y el contenido de los artículos destacados siempre se sincronizan."
}
}
}
},
"System Default (%@)" : {
"comment" : "Default browser item title format"
"comment" : "Default browser item title format",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Predeterminado del sistema (%@)"
}
}
}
},
"Thanks to Sheila and my family; thanks to my friends in Seattle and around the globe; thanks to the ever-patient and ever-awesome NetNewsWire beta testers.\n\nThanks to [Gus Mueller](https://shapeof.com/) for [FMDB](https://github.com/ccgus/fmdb) by [Flying Meat Software](http://flyingmeat.com/). Thanks to [GitHub](https://github.com) and [Discourse](https://discourse.com) for making open source collaboration easy and fun. Thanks to [Ben Ubois](https://benubois.com/) at [Feedbin](https://feedbin.com) for all the extra help with syncing and article rendering — and [for hosting the server for the Reader view](https://feedbin.com/blog/2019/03/11/the-future-of-full-content/)." : {
"comment" : "A list of credits for the app.",
"isCommentAutoGenerated" : true
},
"The name can be anything you want. You can even use emoji. 🎸" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "El nombre puede ser el que quieras. Incluso puedes usar emojis. 🎸"
}
}
}
},
"The theme “%@” already exists. Overwrite it?" : {
"comment" : "Overwrite theme"
@@ -1125,7 +1315,15 @@
"comment" : "Feed title placeholder"
},
"To add an account to NetNewsWire,\nclick its icon above.\n\nOr click the + button in the lower left." : {
"comment" : "Add Account Explainer"
"comment" : "Add Account Explainer",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Para añadir una cuenta a NetNewsWire,\nhaz clic en su icono de arriba.\n\nO haz clic en el botón + abajo a la izquierda."
}
}
}
},
"To enable notifications, open Notifications in System Preferences, then find NetNewsWire in the list." : {
"comment" : "To enable notifications, open Notifications in System Preferences, then find NetNewsWire in the list."
@@ -1158,7 +1356,14 @@
"comment" : "Totals section"
},
"Type:" : {
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Tipo:"
}
}
}
},
"Unable to Add Feed" : {
"comment" : "Feed finder"
@@ -1240,16 +1445,40 @@
"comment" : "Vacuum explanation"
},
"Waiting for access to Feedly" : {
"comment" : "Alert title when adding a Feedly account and waiting for authorization from the user."
"comment" : "Alert title when adding a Feedly account and waiting for authorization from the user.",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Esperando acceso a Feedly"
}
}
}
},
"We were unable to process the selected file. Please ensure that it is a properly formatted OPML file." : {
"comment" : "Import Failed Message"
},
"Web" : {
"comment" : "Web Account"
"comment" : "Web Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Web"
}
}
}
},
"Web accounts sync your feeds across all your devices" : {
"comment" : "Web Account"
"comment" : "Web Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Las cuentas web sincronizan tus fuentes en todos tus dispositivos"
}
}
}
},
"Web accounts sync your feeds across all your devices." : {
"comment" : "Web Account"
@@ -1264,7 +1493,15 @@
"comment" : "Missing active account"
},
"Your iCloud account syncs your feeds across your Mac and iOS devices" : {
"comment" : "iCloud Account"
"comment" : "iCloud Account",
"localizations" : {
"es" : {
"stringUnit" : {
"state" : "translated",
"value" : "Tu cuenta de iCloud sincroniza tus fuentes entre tu Mac y tus dispositivos iOS"
}
}
}
},
"Your iCloud account syncs your feeds across your Mac and iOS devices." : {
"comment" : "iCloud Account"