forge
Explore
Log in

Don't you dare go Hollow

im

Clone
★ 0

0 watching0 forksRustAGPL-3.0542.8 KiBb9f0726Tahinli27 days ago34 commits

admin.rs686 lines, 28.3 KiBHistoryRawDownload
1//! Strings of the administrator area: the navigation, the user, invitation, client, mail, message, settings,
2//! key, audit and health pages.
3//!
4//! Each key has its English and its Turkish text in one match arm of [`pair`], so a key without a Turkish
5//! text does not compile. Sentences with values use the helpers at the end of the file.
6
7use super::Lang;
8
9/// One variant per phrase of the administrator area.
10#[derive(Clone, Copy, Debug, PartialEq, Eq)]
11pub enum A {
12 StatePending,
13 StateSent,
14 StateFailed,
15 StateAbandoned,
16 NoticeMessageSent,
17 NavUsers,
18 NavInvites,
19 NavServices,
20 NavMail,
21 NavMessage,
22 NavSettings,
23 NavKeys,
24 NavAudit,
25 NavHealth,
26 Save,
27 Create,
28 Search,
29 Apply,
30 NextPage,
31 Open,
32 Retry,
33 Abandon,
34 Yes,
35 No,
36 UsersTitle,
37 UsersIntro,
38 SearchLabel,
39 NoUsers,
40 Name,
41 Email,
42 Status,
43 Active,
44 Disabled,
45 Administrator,
46 Created,
47 SessionsLabel,
48 TwoFactor,
49 UserTitle,
50 YouLabel,
51 DisableAccount,
52 EnableAccount,
53 MakeAdmin,
54 RemoveAdmin,
55 ResetTwoFactor,
56 TwoFactorOn,
57 TwoFactorOff,
58 RevokeSessions,
59 DeleteAccount,
60 DeleteWarning,
61 ConfirmEmail,
62 NoOwnAccountHere,
63 ErrLastAdmin,
64 ErrSelfDisable,
65 ErrSelfAdmin,
66 ErrSelfDelete,
67 ErrConfirmEmail,
68 NoticeDisabled,
69 NoticeEnabled,
70 NoticeAdminGranted,
71 NoticeAdminRemoved,
72 NoticeTwoFactorReset,
73 NoticeSessionsRevoked,
74 NoticeDeleted,
75 InvitesTitle,
76 InvitesIntro,
77 InviteNew,
78 InviteEmailLabel,
79 InviteAsAdmin,
80 InviteSendButton,
81 InviteQueued,
82 PendingInvites,
83 NoInvites,
84 Expires,
85 RevokeInvite,
86 ResendInvite,
87 NoticeInviteRevoked,
88 NoticeInviteResent,
89 ErrInviteGone,
90 ErrInviteTaken,
91 ErrInviteAddress,
92 ServicesTitle,
93 ServicesIntro,
94 ServicesList,
95 NoServices,
96 ClientsList,
97 NoClients,
98 ClientCreateTitle,
99 ClientName,
100 RedirectUris,
101 PostLogoutUris,
102 BackchannelUri,
103 ScopesLabel,
104 FamilyKey,
105 PublicUrl,
106 UriHint,
107 FamilyKeyHint,
108 PublicUrlHint,
109 ClientEditTitle,
110 ClientSaved,
111 SecretShown,
112 SecretOnce,
113 SecretLabel,
114 ClientIdLabel,
115 RotateSecret,
116 NoticeSecretRotated,
117 DisableClient,
118 NoticeClientDisabled,
119 ClientDisabledLabel,
120 Healthy,
121 Unhealthy,
122 NotChecked,
123 ErrClientName,
124 ErrUri,
125 ErrFamilyKey,
126 ErrFamilyKeyTaken,
127 ErrPublicUrl,
128 ErrScopes,
129 ErrNoSuchClient,
130 ErrSettingsInvalid,
131 TestMailSubject,
132 TestMailBody,
133 UseFileValue,
134 NoticeFileValue,
135 MailTitle,
136 MailIntro,
137 SmtpStatus,
138 SmtpNotConfigured,
139 SmtpHost,
140 SmtpSender,
141 SmtpLogin,
142 SendTest,
143 NoticeTestQueued,
144 OutboxTitle,
145 OutboxFilter,
146 AllStates,
147 Attempts,
148 NextAttempt,
149 LastError,
150 NoMail,
151 NoticeMailRetried,
152 NoticeMailAbandoned,
153 ErrMailNotRetryable,
154 ErrMailNotAbandonable,
155 MessageTitle,
156 MessageIntro,
157 MessageSubject,
158 MessageBody,
159 MessageBodyHint,
160 MessageSend,
161 ErrMessageEmpty,
162 ErrMessageSubjectLong,
163 ErrMessageBodyLong,
164 ErrMessageEmailInvalid,
165 ErrMessageRateLimited,
166 SettingsTitle,
167 SettingsIntro,
168 SettingName,
169 SettingValue,
170 SettingSource,
171 SourceUi,
172 SourceFile,
173 SourceDefault,
174 FileOnlyTitle,
175 FileOnlyIntro,
176 NoticeSettingsSaved,
177 SettingLabelRequire2fa,
178 SettingLabelMaxSessions,
179 SettingLabelSessionDays,
180 SettingLabelInviteDays,
181 SettingLabelResetMinutes,
182 SettingLabelEmailHours,
183 SettingHintRequire2fa,
184 SettingHintMaxSessions,
185 SettingHintSessionDays,
186 SettingHintInviteDays,
187 SettingHintResetMinutes,
188 SettingHintEmailHours,
189 FileBaseUrl,
190 FileListen,
191 FileDatabase,
192 FileDataDir,
193 FileTrustedProxies,
194 KeysTitle,
195 KeysIntro,
196 KeyCreated,
197 KeyActivates,
198 KeyRetires,
199 KeyCurrent,
200 KeyPublished,
201 KeyRetired,
202 KeyPending,
203 RotateNow,
204 RotateWarning,
205 RetireKey,
206 NoticeKeyRotated,
207 NoticeKeyRetired,
208 ErrKeyNotRetirable,
209 AuditTitle,
210 AuditIntro,
211 AuditAction,
212 AuditActor,
213 AuditTarget,
214 AuditFrom,
215 AuditTo,
216 AuditWhen,
217 AuditWho,
218 AuditIp,
219 AuditDetails,
220 AuditNoEntries,
221 AuditNewer,
222 AuditOlder,
223 HealthTitle,
224 HealthIntro,
225 HealthServices,
226 HealthOutbox,
227 HealthDatabase,
228 HealthBackups,
229 HealthBackupLast,
230 HealthBackupError,
231 HealthBackupOff,
232 BackupNow,
233 NoticeBackupStarted,
234 ErrBackupOff,
235 HealthUsers,
236 HealthAdmins,
237 HealthBytes,
238}
239
240/// The English and the Turkish text of `key`.
241fn pair(key: A) -> (&'static str, &'static str) {
242 match key {
243 A::StatePending => ("Pending", "Bekliyor"),
244 A::StateSent => ("Sent", "Gönderildi"),
245 A::StateFailed => ("Failed", "Başarısız"),
246 A::StateAbandoned => ("Abandoned", "Vazgeçildi"),
247 A::NoticeMessageSent => (
248 "The message was queued for every enabled account.",
249 "İleti etkin tüm hesaplar için kuyruğa alındı.",
250 ),
251 A::NavUsers => ("Users", "Kullanıcılar"),
252 A::NavInvites => ("Invitations", "Davetler"),
253 A::NavServices => ("Services", "Hizmetler"),
254 A::NavMail => ("Mail", "E-posta"),
255 A::NavMessage => ("Message", "İleti"),
256 A::NavSettings => ("Settings", "Ayarlar"),
257 A::NavKeys => ("Keys", "Anahtarlar"),
258 A::NavAudit => ("Audit log", "Denetim günlüğü"),
259 A::NavHealth => ("Health", "Sağlık"),
260 A::Save => ("Save", "Kaydet"),
261 A::Create => ("Create", "Oluştur"),
262 A::Search => ("Search", "Ara"),
263 A::Apply => ("Apply", "Uygula"),
264 A::NextPage => ("Next page", "Sonraki sayfa"),
265 A::Open => ("Open", "Aç"),
266 A::Retry => ("Retry", "Yeniden dene"),
267 A::Abandon => ("Abandon", "Vazgeç"),
268 A::Yes => ("Yes", "Evet"),
269 A::No => ("No", "Hayır"),
270 A::UsersTitle => ("Users", "Kullanıcılar"),
271 A::UsersIntro => (
272 "Everyone who has an account. Search by part of an address or a name.",
273 "Hesabı olan herkes. Adresin veya adın bir parçasıyla arayın.",
274 ),
275 A::SearchLabel => ("Address or name", "Adres veya ad"),
276 A::NoUsers => ("No account matches.", "Eşleşen hesap yok."),
277 A::Name => ("Name", "Ad"),
278 A::Email => ("Email", "E-posta"),
279 A::Status => ("Status", "Durum"),
280 A::Active => ("Active", "Etkin"),
281 A::Disabled => ("Disabled", "Devre dışı"),
282 A::Administrator => ("Administrator", "Yönetici"),
283 A::Created => ("Created", "Oluşturuldu"),
284 A::SessionsLabel => ("Sessions", "Oturumlar"),
285 A::TwoFactor => ("Two-factor sign-in", "İki adımlı giriş"),
286 A::UserTitle => ("Account", "Hesap"),
287 A::YouLabel => ("This is you", "Bu sizsiniz"),
288 A::DisableAccount => ("Disable account", "Hesabı devre dışı bırak"),
289 A::EnableAccount => ("Enable account", "Hesabı etkinleştir"),
290 A::MakeAdmin => ("Make administrator", "Yönetici yap"),
291 A::RemoveAdmin => ("Remove administrator", "Yöneticilikten çıkar"),
292 A::ResetTwoFactor => ("Reset two-factor sign-in", "İki adımlı girişi sıfırla"),
293 A::TwoFactorOn => ("Two-factor sign-in is on.", "İki adımlı giriş açık."),
294 A::TwoFactorOff => ("Two-factor sign-in is off.", "İki adımlı giriş kapalı."),
295 A::RevokeSessions => ("Sign out every session", "Tüm oturumları kapat"),
296 A::DeleteAccount => ("Delete account", "Hesabı sil"),
297 A::DeleteWarning => (
298 "Deleting removes the account, its sessions, its photo and its links. This cannot be undone.",
299 "Silme; hesabı, oturumlarını, fotoğrafını ve bağlantılarını kaldırır. Geri alınamaz.",
300 ),
301 A::ConfirmEmail => ("Type the address to confirm", "Onaylamak için adresi yazın"),
302 A::NoOwnAccountHere => (
303 "You cannot change your own account here. Another administrator must do it.",
304 "Kendi hesabınızı burada değiştiremezsiniz. Başka bir yönetici yapmalı.",
305 ),
306 A::ErrLastAdmin => (
307 "This is the last enabled administrator. Make another administrator first.",
308 "Bu, etkin son yönetici. Önce başka bir yönetici atayın.",
309 ),
310 A::ErrSelfDisable => (
311 "You cannot disable your own account.",
312 "Kendi hesabınızı devre dışı bırakamazsınız.",
313 ),
314 A::ErrSelfAdmin => (
315 "You cannot change your own administrator status. Another administrator must do it.",
316 "Kendi yönetici durumunuzu değiştiremezsiniz. Başka bir yönetici yapmalı.",
317 ),
318 A::ErrSelfDelete => (
319 "You cannot delete your own account.",
320 "Kendi hesabınızı silemezsiniz.",
321 ),
322 A::ErrConfirmEmail => (
323 "The address you typed does not match the account. Nothing was deleted.",
324 "Yazdığınız adres hesapla eşleşmiyor. Hiçbir şey silinmedi.",
325 ),
326 A::NoticeDisabled => (
327 "The account is disabled and its sessions have ended.",
328 "Hesap devre dışı; oturumları kapandı.",
329 ),
330 A::NoticeEnabled => (
331 "The account is enabled again.",
332 "Hesap yeniden etkinleştirildi.",
333 ),
334 A::NoticeAdminGranted => (
335 "The account is now an administrator.",
336 "Hesap artık bir yönetici.",
337 ),
338 A::NoticeAdminRemoved => (
339 "The account is no longer an administrator.",
340 "Hesap artık yönetici değil.",
341 ),
342 A::NoticeTwoFactorReset => (
343 "Two-factor sign-in and the recovery codes were reset. The person has been told by mail.",
344 "İki adımlı giriş ve kurtarma kodları sıfırlandı. Kişiye e-postayla bildirildi.",
345 ),
346 A::NoticeSessionsRevoked => (
347 "Every session of the account has ended.",
348 "Hesabın tüm oturumları kapandı.",
349 ),
350 A::NoticeDeleted => ("The account was deleted.", "Hesap silindi."),
351 A::InvitesTitle => ("Invitations", "Davetler"),
352 A::InvitesIntro => (
353 "An invitation is a link that creates an account. Only the newest link for an address works.",
354 "Davet, hesap oluşturan bir bağlantıdır. Bir adres için yalnızca en yeni bağlantı çalışır.",
355 ),
356 A::InviteNew => ("New invitation", "Yeni davet"),
357 A::InviteEmailLabel => ("Email", "E-posta"),
358 A::InviteAsAdmin => ("Make the account an administrator", "Hesabı yönetici yap"),
359 A::InviteSendButton => ("Send invitation", "Daveti gönder"),
360 A::InviteQueued => (
361 "The invitation is queued for sending.",
362 "Davet gönderilmek üzere kuyruğa alındı.",
363 ),
364 A::PendingInvites => ("Pending invitations", "Bekleyen davetler"),
365 A::NoInvites => ("No invitation is waiting.", "Bekleyen davet yok."),
366 A::Expires => ("Expires", "Sona erer"),
367 A::RevokeInvite => ("Revoke", "İptal et"),
368 A::ResendInvite => ("Send a new link", "Yeni bağlantı gönder"),
369 A::NoticeInviteRevoked => ("The invitation was revoked.", "Davet iptal edildi."),
370 A::NoticeInviteResent => (
371 "A new invitation was sent. The old link stopped working.",
372 "Yeni davet gönderildi. Eski bağlantı çalışmıyor.",
373 ),
374 A::ErrInviteTaken => (
375 "That address already has an account.",
376 "Bu adresin zaten bir hesabı var.",
377 ),
378 A::ErrInviteAddress => (
379 "That is not an email address.",
380 "Bu bir e-posta adresi değil.",
381 ),
382 A::ErrInviteGone => (
383 "That invitation was already used or has expired.",
384 "Bu davet zaten kullanıldı veya süresi doldu.",
385 ),
386 A::ServicesTitle => ("Services and clients", "Hizmetler ve istemciler"),
387 A::ServicesIntro => (
388 "Family apps are clients with a family key. Their public address is what the switcher links to.",
389 "Aile uygulamaları, aile anahtarı olan istemcilerdir. Geçiş menüsü onların genel adresine bağlanır.",
390 ),
391 A::ServicesList => ("Switcher", "Geçiş menüsü"),
392 A::NoServices => ("No service is listed.", "Listelenen hizmet yok."),
393 A::ClientsList => ("OpenID clients", "OpenID istemcileri"),
394 A::NoClients => ("No client is registered.", "Kayıtlı istemci yok."),
395 A::ClientCreateTitle => ("Register a client", "İstemci kaydet"),
396 A::ClientName => ("Name", "Ad"),
397 A::RedirectUris => ("Redirect URIs", "Yönlendirme adresleri"),
398 A::PostLogoutUris => ("Post-logout URIs", "Çıkış sonrası adresleri"),
399 A::BackchannelUri => ("Back-channel logout URI", "Arka kanal çıkış adresi"),
400 A::ScopesLabel => ("Scopes", "Kapsamlar"),
401 A::FamilyKey => ("Family key", "Aile anahtarı"),
402 A::PublicUrl => ("Public address", "Genel adres"),
403 A::UriHint => (
404 "One per line. Exact matches only.",
405 "Her satıra bir tane. Yalnızca birebir eşleşme.",
406 ),
407 A::FamilyKeyHint => (
408 "Such as in or iz. Leave empty for a client that is not a family app.",
409 "Örneğin in veya iz. Aile uygulaması değilse boş bırakın.",
410 ),
411 A::PublicUrlHint => (
412 "The origin of the app, such as https://in.example.com. Needs a family key.",
413 "Uygulamanın kökü, örneğin https://in.example.com. Aile anahtarı gerektirir.",
414 ),
415 A::ClientEditTitle => ("Client", "İstemci"),
416 A::ClientSaved => ("The client was saved.", "İstemci kaydedildi."),
417 A::SecretShown => (
418 "Client created. The secret is shown once; copy it now.",
419 "İstemci oluşturuldu. Gizli anahtar yalnızca bir kez gösterilir; şimdi kopyalayın.",
420 ),
421 A::SecretOnce => (
422 "Shown once. It is not stored and cannot be shown again.",
423 "Yalnızca bir kez gösterilir. Saklanmaz ve tekrar gösterilemez.",
424 ),
425 A::SecretLabel => ("Client secret", "İstemci gizli anahtarı"),
426 A::ClientIdLabel => ("Client id", "İstemci kimliği"),
427 A::RotateSecret => ("Rotate secret", "Gizli anahtarı döndür"),
428 A::NoticeSecretRotated => (
429 "A new secret was issued. The old one no longer works.",
430 "Yeni gizli anahtar üretildi. Eskisi artık çalışmıyor.",
431 ),
432 A::DisableClient => ("Disable client", "İstemciyi devre dışı bırak"),
433 A::NoticeClientDisabled => (
434 "The client is disabled. It cannot sign in or exchange tokens.",
435 "İstemci devre dışı. Giriş yapamaz veya belirteç alamaz.",
436 ),
437 A::ClientDisabledLabel => ("Disabled", "Devre dışı"),
438 A::Healthy => ("Up", "Çalışıyor"),
439 A::Unhealthy => ("Down", "Çalışmıyor"),
440 A::NotChecked => ("Not checked yet", "Henüz denetlenmedi"),
441 A::ErrClientName => ("The name is empty or too long.", "Ad boş veya çok uzun."),
442 A::ErrUri => (
443 "A URI is not valid. Use https, or http on loopback, with no fragment.",
444 "Bir adres geçerli değil. https kullanın; yalnızca yerel adreste http, parça (#) olmadan.",
445 ),
446 A::ErrFamilyKey => (
447 "A family key uses lowercase letters, digits and hyphens.",
448 "Aile anahtarı küçük harf, rakam ve kısa çizgi kullanır.",
449 ),
450 A::ErrFamilyKeyTaken => (
451 "Another client already uses that family key.",
452 "Bu aile anahtarını başka bir istemci kullanıyor.",
453 ),
454 A::ErrPublicUrl => (
455 "The public address must be an origin such as https://in.example.com.",
456 "Genel adres https://in.example.com gibi bir kök adres olmalı.",
457 ),
458 A::ErrScopes => (
459 "Choose at least one known scope.",
460 "En az bir bilinen kapsam seçin.",
461 ),
462 A::ErrNoSuchClient => ("That client does not exist.", "Bu istemci yok."),
463 A::TestMailSubject => ("im: test mail", "im: deneme e-postası"),
464 A::TestMailBody => (
465 "This is a test of the outgoing mail. If you can read it, sending works.",
466 "Bu, giden e-postanın bir denemesidir. Bunu okuyabiliyorsanız gönderim çalışıyor.",
467 ),
468 A::UseFileValue => ("Use the file value", "Dosya değerini kullan"),
469 A::NoticeFileValue => (
470 "The setting now follows the file again.",
471 "Ayar artık yeniden dosyayı izliyor.",
472 ),
473 A::ErrSettingsInvalid => (
474 "A setting is missing or out of range. Nothing was saved.",
475 "Bir ayar eksik veya aralık dışında. Hiçbir şey kaydedilmedi.",
476 ),
477 A::MailTitle => ("Mail", "E-posta"),
478 A::MailIntro => (
479 "What is sent, to whom, and what is waiting.",
480 "Ne gönderildiği, kime gittiği ve neyin beklediği.",
481 ),
482 A::SmtpStatus => ("Sending", "Gönderim"),
483 A::SmtpNotConfigured => (
484 "No SMTP server is configured. Mail waits in the outbox and no attempt is spent.",
485 "SMTP sunucusu yapılandırılmamış. E-postalar kutuda bekler; deneme harcanmaz.",
486 ),
487 A::SmtpHost => ("Server", "Sunucu"),
488 A::SmtpSender => ("Sender", "Gönderen"),
489 A::SmtpLogin => ("Login", "Oturum adı"),
490 A::SendTest => ("Send a test mail to me", "Bana bir deneme e-postası gönder"),
491 A::NoticeTestQueued => (
492 "A test mail is queued for your address.",
493 "Adresinize bir deneme e-postası kuyruğa alındı.",
494 ),
495 A::OutboxTitle => ("Outbox", "Giden kutusu"),
496 A::OutboxFilter => ("State", "Durum"),
497 A::AllStates => ("All", "Tümü"),
498 A::Attempts => ("Attempts", "Denemeler"),
499 A::NextAttempt => ("Next attempt", "Sonraki deneme"),
500 A::LastError => ("Last error", "Son hata"),
501 A::NoMail => (
502 "Nothing in the outbox for this filter.",
503 "Bu filtrede giden kutusunda bir şey yok.",
504 ),
505 A::NoticeMailRetried => (
506 "The mail will be sent again now.",
507 "E-posta şimdi yeniden gönderilecek.",
508 ),
509 A::NoticeMailAbandoned => (
510 "The mail was abandoned and its body removed.",
511 "E-posta vazgeçildi ve içeriği silindi.",
512 ),
513 A::ErrMailNotRetryable => (
514 "Only a failed mail can be retried.",
515 "Yalnızca başarısız bir e-posta yeniden denenebilir.",
516 ),
517 A::ErrMailNotAbandonable => (
518 "Only a mail that is not yet sent can be abandoned.",
519 "Yalnızca henüz gönderilmemiş bir e-posta vazgeçilebilir.",
520 ),
521 A::MessageTitle => ("Message", "İleti"),
522 A::MessageIntro => (
523 "A plain mail to everyone with an account, or to one address. It is queued and sent in the background.",
524 "Hesabı olan herkese veya tek bir adrese düz bir e-posta. Kuyruğa alınır ve arka planda gönderilir.",
525 ),
526 A::MessageSubject => ("Subject", "Konu"),
527 A::MessageBody => ("Message", "İleti"),
528 A::MessageBodyHint => (
529 "Paragraphs are separated by an empty line.",
530 "Paragraflar boş satırla ayrılır.",
531 ),
532 A::MessageSend => ("Queue the message", "İletiyi kuyruğa al"),
533 A::ErrMessageEmpty => (
534 "Write a subject and a message.",
535 "Bir konu ve bir ileti yazın.",
536 ),
537 A::ErrMessageSubjectLong => (
538 "The subject is longer than 150 characters or has a line break.",
539 "Konu 150 karakterden uzun veya satır sonu içeriyor.",
540 ),
541 A::ErrMessageBodyLong => (
542 "The message is longer than 10000 characters.",
543 "İleti 10000 karakterden uzun.",
544 ),
545 A::ErrMessageEmailInvalid => (
546 "That address is not an account's address.",
547 "Bu adres bir hesaba ait değil.",
548 ),
549 A::ErrMessageRateLimited => (
550 "A message was sent a moment ago. Wait a while before the next one.",
551 "Az önce bir ileti gönderildi. Bir sonrakinden önce biraz bekleyin.",
552 ),
553 A::SettingsTitle => ("Settings", "Ayarlar"),
554 A::SettingsIntro => (
555 "A value saved here wins over the configuration file, and applies at once. The file applies to every setting with no saved value.",
556 "Burada kaydedilen değer yapılandırma dosyasının önündedir ve hemen uygulanır. Kayıtlı değeri olmayan her ayar için dosya geçerlidir.",
557 ),
558 A::SettingName => ("Setting", "Ayar"),
559 A::SettingValue => ("Value", "Değer"),
560 A::SettingSource => ("Source", "Kaynak"),
561 A::SourceUi => ("saved here", "burada kaydedildi"),
562 A::SourceFile => ("config file", "yapılandırma dosyası"),
563 A::SourceDefault => ("default", "varsayılan"),
564 A::FileOnlyTitle => ("File settings", "Dosya ayarları"),
565 A::FileOnlyIntro => (
566 "These are read from the configuration file and need a restart to change.",
567 "Bunlar yapılandırma dosyasından okunur ve değişmesi yeniden başlatma gerektirir.",
568 ),
569 A::NoticeSettingsSaved => (
570 "The settings were saved and apply now.",
571 "Ayarlar kaydedildi ve şimdi uygulanıyor.",
572 ),
573 A::SettingLabelRequire2fa => (
574 "Two-factor sign-in for administrators",
575 "Yöneticiler için iki adımlı giriş",
576 ),
577 A::SettingLabelMaxSessions => ("Sessions per person", "Kişi başına oturum"),
578 A::SettingLabelSessionDays => ("Session lifetime, days", "Oturum süresi, gün"),
579 A::SettingLabelInviteDays => ("Invitation lifetime, days", "Davet süresi, gün"),
580 A::SettingLabelResetMinutes => (
581 "Reset link lifetime, minutes",
582 "Sıfırlama bağlantısı süresi, dakika",
583 ),
584 A::SettingLabelEmailHours => (
585 "Email change lifetime, hours",
586 "E-posta değişikliği süresi, saat",
587 ),
588 A::SettingHintRequire2fa => (
589 "true or false. An administrator without it is sent to enrol after signing in.",
590 "true veya false. Olmadan yönetici giriş sonrası kaydolmaya yönlendirilir.",
591 ),
592 A::SettingHintMaxSessions => (
593 "At least 1. The oldest session ends when a new sign-in would exceed it.",
594 "En az 1. Yeni girişte sınır aşılırsa en eski oturum kapanır.",
595 ),
596 A::SettingHintSessionDays => ("1 to 365.", "1 ile 365 arası."),
597 A::SettingHintInviteDays => ("1 to 30.", "1 ile 30 arası."),
598 A::SettingHintResetMinutes => ("5 to 1440.", "5 ile 1440 arası."),
599 A::SettingHintEmailHours => ("1 to 168.", "1 ile 168 arası."),
600 A::FileBaseUrl => ("Public address (base_url)", "Genel adres (base_url)"),
601 A::FileListen => ("Listen address", "Dinleme adresi"),
602 A::FileDatabase => ("Database file", "Veritabanı dosyası"),
603 A::FileDataDir => ("Data directory", "Veri dizini"),
604 A::FileTrustedProxies => ("Trusted proxies", "Güvenilen vekiller"),
605 A::KeysTitle => ("Signing keys", "İmzalama anahtarları"),
606 A::KeysIntro => (
607 "Tokens are signed with the current key. Retired keys stay published for a while so their tokens still verify.",
608 "Belirteçler güncel anahtarla imzalanır. Emekli anahtarlar, imzaladıkları belirteçler doğrulansın diye bir süre yayımlı kalır.",
609 ),
610 A::KeyCreated => ("Created", "Oluşturuldu"),
611 A::KeyActivates => ("Signs from", "İmzalamaya başlama"),
612 A::KeyRetires => ("Retired at", "Emekli olma"),
613 A::KeyCurrent => ("current", "güncel"),
614 A::KeyPublished => ("published", "yayımlı"),
615 A::KeyRetired => ("retired", "emekli"),
616 A::KeyPending => ("waiting to sign", "imzalamayı bekliyor"),
617 A::RotateNow => ("Rotate now", "Şimdi döndür"),
618 A::RotateWarning => (
619 "Rotating is the emergency action after a suspected key leak. The new key signs at once, and every other key (current, waiting or retired) is withdrawn at once: it leaves the published keys and never signs or verifies again. Apps accept the new key within about a minute, and tokens signed by a withdrawn key stop verifying within about 10 minutes. People who are signing in at that moment may need to retry once. If the whole server leaked (the key file and the database), rotation is not enough: restore onto a fresh machine and reset passwords.",
620 "Döndürmek, anahtarın sızdığından şüphelenildiğinde alınan acil bir önlemdir. Yeni anahtar hemen imzalamaya başlar; diğer bütün anahtarlar (güncel, bekleyen ya da emekli) hemen geri çekilir: yayımlı anahtarlardan çıkar ve bir daha imzalamaz ya da doğrulamaz. Uygulamalar yeni anahtarı yaklaşık bir dakika içinde kabul eder; geri çekilen bir anahtarla imzalanmış belirteçler yaklaşık 10 dakika içinde doğrulanmaz hale gelir. O anda oturum açmakta olan kişilerin bir kez yeniden denemesi gerekebilir. Tüm sunucu sızdıysa (anahtar dosyası ve veritabanı), döndürmek yetmez: yedeği yeni bir makineye geri yükleyin ve parolaları sıfırlayın.",
621 ),
622 A::RetireKey => ("Retire", "Emekli yap"),
623 A::NoticeKeyRotated => (
624 "The new signing key signs from now on. Every other key is withdrawn at once.",
625 "Yeni imzalama anahtarı şimdiden itibaren imzalıyor. Diğer bütün anahtarlar hemen geri çekildi.",
626 ),
627 A::NoticeKeyRetired => (
628 "The key is retired. It stays published for the usual overlap.",
629 "Anahtar emekli yapıldı. Olağan örtüşme süresi kadar yayımlı kalır.",
630 ),
631 A::ErrKeyNotRetirable => (
632 "The current key cannot be retired. Rotate first.",
633 "Güncel anahtar emekli yapılamaz. Önce döndürün.",
634 ),
635 A::AuditTitle => ("Audit log", "Denetim günlüğü"),
636 A::AuditIntro => (
637 "Every change, newest first. Filter, then page with the links below the table.",
638 "Her değişiklik, en yeni önce. Süzün, ardından tablonun altındaki bağlantılarla sayfalayın.",
639 ),
640 A::AuditAction => ("Action", "İşlem"),
641 A::AuditActor => ("Actor id", "Yapan kimlik"),
642 A::AuditTarget => ("Target id", "Hedef kimlik"),
643 A::AuditFrom => ("From (UTC date)", "Başlangıç (UTC tarih)"),
644 A::AuditTo => ("To (UTC date)", "Bitiş (UTC tarih)"),
645 A::AuditWhen => ("When", "Zaman"),
646 A::AuditWho => ("Who", "Kim"),
647 A::AuditIp => ("Address", "Adres"),
648 A::AuditDetails => ("Details", "Ayrıntı"),
649 A::AuditNoEntries => ("No entries match.", "Eşleşen kayıt yok."),
650 A::AuditNewer => ("Newer", "Daha yeni"),
651 A::AuditOlder => ("Older", "Daha eski"),
652 A::HealthTitle => ("Health", "Sağlık"),
653 A::HealthIntro => (
654 "The state of the server and its outboxes.",
655 "Sunucunun ve giden kutularının durumu.",
656 ),
657 A::HealthServices => ("Services", "Hizmetler"),
658 A::HealthOutbox => ("Mail outbox", "E-posta giden kutusu"),
659 A::HealthDatabase => ("Database", "Veritabanı"),
660 A::HealthBackups => ("Backups", "Yedekler"),
661 A::HealthBackupLast => ("Last success", "Son başarılı"),
662 A::HealthBackupError => ("Last error", "Son hata"),
663 A::HealthBackupOff => (
664 "Backups are off. Set [backup] dir to turn them on.",
665 "Yedekleme kapalı. Açmak için [backup] dir ayarlayın.",
666 ),
667 A::BackupNow => ("Back up now", "Şimdi yedekle"),
668 A::NoticeBackupStarted => ("Backup started", "Yedekleme başlatıldı"),
669 A::ErrBackupOff => (
670 "Backups are off, so there is nothing to start. Set [backup] dir first.",
671 "Yedekleme kapalı, başlatılacak bir şey yok. Önce [backup] dir ayarlayın.",
672 ),
673 A::HealthUsers => ("Accounts", "Hesaplar"),
674 A::HealthAdmins => ("Enabled administrators", "Etkin yöneticiler"),
675 A::HealthBytes => ("Database size", "Veritabanı boyutu"),
676 }
677}
678
679/// The text of `key` in `lang`.
680pub fn text(lang: Lang, key: A) -> &'static str {
681 let (en, tr) = pair(key);
682 match lang {
683 Lang::En => en,
684 Lang::Tr => tr,
685 }
686}