mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-06 19:40:08 +02:00
🌐 Localized columns in domains list
This commit is contained in:
@ -92,6 +92,19 @@ class DomainListVC: NSViewController, NSTableViewDelegate, NSTableViewDataSource
|
||||
override func viewDidLoad() {
|
||||
tableView.doubleAction = #selector(self.doubleClicked(sender:))
|
||||
|
||||
let mapping = [
|
||||
"SECURE": "domain_list.columns.secure",
|
||||
"DOMAIN": "domain_list.columns.domain",
|
||||
"ENVIRONMENT": "domain_list.columns.php",
|
||||
"KIND": "domain_list.columns.kind",
|
||||
"TYPE": "domain_list.columns.project_type"
|
||||
]
|
||||
|
||||
for (id, key) in mapping {
|
||||
let column = tableView.tableColumn(withIdentifier: NSUserInterfaceItemIdentifier(rawValue: id))
|
||||
column?.title = key.localized
|
||||
}
|
||||
|
||||
if !Valet.shared.sites.isEmpty {
|
||||
// Preloaded list
|
||||
domains = Valet.getDomainListable()
|
||||
|
@ -205,7 +205,7 @@ You may be asked for your password during the uninstallation process if file per
|
||||
"domain_list.confirm_unproxy" = "Are you sure you want to remove the proxy '%@'?";
|
||||
"domain_list.confirm_unproxy_desc" = "You can always recreate proxy the again by clicking on the + button.";
|
||||
|
||||
"domain_list.columns.tls" = "TLS";
|
||||
"domain_list.columns.secure" = "TLS";
|
||||
"domain_list.columns.domain" = "Domain";
|
||||
"domain_list.columns.active" = "Active";
|
||||
"domain_list.columns.kind" = "Kind";
|
||||
|
@ -206,7 +206,7 @@ Tijdens het verwijderingsproces kan je worden gevraagd om je wachtwoord indien d
|
||||
"domain_list.confirm_unproxy" = "Weet je zeker dat je de proxy '%@' wilt verwijderen?";
|
||||
"domain_list.confirm_unproxy_desc" = "Je kunt de proxy altijd opnieuw maken door op de + knop te klikken.";
|
||||
|
||||
"domain_list.columns.tls" = "TLS";
|
||||
"domain_list.columns.secure" = "TLS";
|
||||
"domain_list.columns.domain" = "Domein";
|
||||
"domain_list.columns.active" = "Actief";
|
||||
"domain_list.columns.kind" = "Type";
|
||||
@ -291,7 +291,7 @@ Dit heeft geen invloed op andere terminals, alleen op de huidige terminalsessie
|
||||
"domain_list.alert.invalid_folder_name" = "Ongeldige mapnaam";
|
||||
"domain_list.alert.invalid_folder_name_desc" = "Deze mapnaam kan niet worden omgezet naar een geldige URL. Dit komt meestal doordat er een spatie in de mapnaam staat. Hernoem de map alstublieft, vernieuw de lijst met websites en probeer het opnieuw.";
|
||||
|
||||
"domain_list.columns.tls" = "TLS";
|
||||
"domain_list.columns.secure" = "TLS";
|
||||
"domain_list.columns.domain" = "Domein";
|
||||
"domain_list.columns.php" = "PHP";
|
||||
"domain_list.columns.type" = "Type";
|
||||
|
@ -284,11 +284,11 @@ Bạn có thể được yêu cầu nhập mật khẩu của mình trong quá t
|
||||
"domain_list.alert.invalid_folder_name" = "Tên thư mục không hợp lệ";
|
||||
"domain_list.alert.invalid_folder_name_desc" = "Thư mục này không thể giải quyết thành URL hợp lệ. Thông thường điều này xảy ra khi có một dấu cách trong tên thư mục. Vui lòng đổi tên thư mục, tải lại danh sách các trang web và thử lại.";
|
||||
|
||||
"domain_list.columns.tls" = "TLS";
|
||||
"domain_list.columns.secure" = "TLS";
|
||||
"domain_list.columns.domain" = "Tên miền";
|
||||
"domain_list.columns.php" = "PHP";
|
||||
"domain_list.columns.type" = "Kiểu";
|
||||
"domain_list.columns.active" = "Hoạt động";
|
||||
"domain_list.columns.kind" = "Loại";
|
||||
"domain_list.columns.project_type" = "Loại dự án";
|
||||
|
||||
// DRIVERS
|
||||
|
||||
|
Reference in New Issue
Block a user