diff --git a/Swiftgram/SGStrings/Strings/af.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/af.lproj/SGLocalizable.strings index 5acfe970d5..926c1788ad 100644 --- a/Swiftgram/SGStrings/Strings/af.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/af.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Wys standaard emojis voor premium op die emoji sleutelbord"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "geskep: %@"; +"Chat.Created.Label" = "Geskep"; +"Chat.Created.Copy" = "Kopieer skeppingsdatum"; +"Chat.Created.Copied" = "Skeppingsdatum is na knipbord gekopieer."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Sluit aan by %@"; +"Chat.JoinedDate.Copy" = "Kopieer aansluitdatum"; +"Chat.JoinedDate.Copied" = "Aansluitdatum is na knipbord gekopieer."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Geregistreer"; +"Chat.RegDate.Copy" = "Kopieer registrasiedatum"; +"Chat.RegDate.Copied" = "Registrasiedatum is na knipbord gekopieer."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopieer ID"; +"Chat.ID.Copied" = "ID is na knipbord gekopieer."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dubbelklik om boodskap te wysig"; diff --git a/Swiftgram/SGStrings/Strings/ar.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ar.lproj/SGLocalizable.strings index 41f1168454..4e55f88965 100644 --- a/Swiftgram/SGStrings/Strings/ar.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ar.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "عرض الرموز التعبيرية الافتراضية قبل الرموز المتميزة في لوحة المفاتيح"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "تم إنشاؤه: %@"; +"Chat.Created.Label" = "تم إنشاؤه"; +"Chat.Created.Copy" = "نسخ تاريخ الإنشاء"; +"Chat.Created.Copied" = "تم نسخ تاريخ الإنشاء إلى الحافظة."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "انضم %@"; +"Chat.JoinedDate.Copy" = "نسخ تاريخ الانضمام"; +"Chat.JoinedDate.Copied" = "تم نسخ تاريخ الانضمام إلى الحافظة."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "مسجل"; +"Chat.RegDate.Copy" = "نسخ تاريخ التسجيل"; +"Chat.RegDate.Copied" = "تم نسخ تاريخ التسجيل إلى الحافظة."; +"Chat.ID" = "المعرّف"; +"Chat.ID.Copy" = "نسخ المعرّف"; +"Chat.ID.Copied" = "تم نسخ المعرّف إلى الحافظة."; "Settings.messageDoubleTapActionOutgoingEdit" = "اضغط مزدوجًا لتحرير الرسالة"; diff --git a/Swiftgram/SGStrings/Strings/ca.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ca.lproj/SGLocalizable.strings index a48c45fa92..dd6cf4047b 100644 --- a/Swiftgram/SGStrings/Strings/ca.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ca.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Mostra emojis estàndard abans que premium al teclat emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "creada: %@"; +"Chat.Created.Label" = "Creada"; +"Chat.Created.Copy" = "Copia la data de creació"; +"Chat.Created.Copied" = "La data de creació s'ha copiat al porta-retalls."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Unida a %@"; +"Chat.JoinedDate.Copy" = "Copia la data d'unió"; +"Chat.JoinedDate.Copied" = "La data d'unió s'ha copiat al porta-retalls."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Inscrit"; +"Chat.RegDate.Copy" = "Copia la data de registre"; +"Chat.RegDate.Copied" = "La data de registre s'ha copiat al porta-retalls."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copia l'ID"; +"Chat.ID.Copied" = "L'ID s'ha copiat al porta-retalls."; "Settings.messageDoubleTapActionOutgoingEdit" = "Toqueu dues vegades per editar el missatge"; diff --git a/Swiftgram/SGStrings/Strings/cs.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/cs.lproj/SGLocalizable.strings index 05cf6ed482..791db2a376 100644 --- a/Swiftgram/SGStrings/Strings/cs.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/cs.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Zobrazit standardní emoji před prémiovými na klávesnici s emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "vytvořeno: %@"; +"Chat.Created.Label" = "Vytvořeno"; +"Chat.Created.Copy" = "Kopírovat datum vytvoření"; +"Chat.Created.Copied" = "Datum vytvoření bylo zkopírováno do schránky."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Připojeno k %@"; +"Chat.JoinedDate.Copy" = "Kopírovat datum připojení"; +"Chat.JoinedDate.Copied" = "Datum připojení bylo zkopírováno do schránky."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrováno"; +"Chat.RegDate.Copy" = "Kopírovat datum registrace"; +"Chat.RegDate.Copied" = "Datum registrace bylo zkopírováno do schránky."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopírovat ID"; +"Chat.ID.Copied" = "ID bylo zkopírováno do schránky."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dvojitým klepnutím upravte zprávu"; diff --git a/Swiftgram/SGStrings/Strings/da.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/da.lproj/SGLocalizable.strings index cb0c4174db..e9c293fe03 100644 --- a/Swiftgram/SGStrings/Strings/da.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/da.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Vis standard emojis før premium i emoji-tastaturet"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "oprettet: %@"; +"Chat.Created.Label" = "Oprettet"; +"Chat.Created.Copy" = "Kopiér oprettelsesdato"; +"Chat.Created.Copied" = "Oprettelsesdato blev kopieret til udklipsholderen."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Tilmeldt %@"; +"Chat.JoinedDate.Copy" = "Kopiér tilslutningsdato"; +"Chat.JoinedDate.Copied" = "Tilslutningsdato blev kopieret til udklipsholderen."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registreret"; +"Chat.RegDate.Copy" = "Kopiér registreringsdato"; +"Chat.RegDate.Copied" = "Registreringsdato blev kopieret til udklipsholderen."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopiér ID"; +"Chat.ID.Copied" = "ID blev kopieret til udklipsholderen."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dobbelt tryk for at redigere besked"; diff --git a/Swiftgram/SGStrings/Strings/de.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/de.lproj/SGLocalizable.strings index 726e485dcf..ebd8f215de 100644 --- a/Swiftgram/SGStrings/Strings/de.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/de.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Zeigen Sie Standard-Emojis vor Premium-Emojis in der Emoji-Tastatur"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "erstellt: %@"; +"Chat.Created.Label" = "Erstellt"; +"Chat.Created.Copy" = "Erstellungsdatum kopieren"; +"Chat.Created.Copied" = "Erstellungsdatum wurde in die Zwischenablage kopiert."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Beigetreten am %@"; +"Chat.JoinedDate.Copy" = "Beitrittsdatum kopieren"; +"Chat.JoinedDate.Copied" = "Beitrittsdatum wurde in die Zwischenablage kopiert."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registriert"; +"Chat.RegDate.Copy" = "Registrierungsdatum kopieren"; +"Chat.RegDate.Copied" = "Registrierungsdatum wurde in die Zwischenablage kopiert."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID kopieren"; +"Chat.ID.Copied" = "ID wurde in die Zwischenablage kopiert."; "Settings.messageDoubleTapActionOutgoingEdit" = "Doppeltippen, um Nachricht zu bearbeiten"; diff --git a/Swiftgram/SGStrings/Strings/el.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/el.lproj/SGLocalizable.strings index 010c2fd7ed..a692d6955b 100644 --- a/Swiftgram/SGStrings/Strings/el.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/el.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Εμφανίστε τυπικά emojis πριν από premium στο πληκτρολόγιο emojis"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "δημιουργήθηκε: %@"; +"Chat.Created.Label" = "Δημιουργήθηκε"; +"Chat.Created.Copy" = "Αντιγραφή ημερομηνίας δημιουργίας"; +"Chat.Created.Copied" = "Η ημερομηνία δημιουργίας αντιγράφηκε στο πρόχειρο."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Εντάχθηκε στο %@"; +"Chat.JoinedDate.Copy" = "Αντιγραφή ημερομηνίας ένταξης"; +"Chat.JoinedDate.Copied" = "Η ημερομηνία ένταξης αντιγράφηκε στο πρόχειρο."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Εγγεγραμμένος"; +"Chat.RegDate.Copy" = "Αντιγραφή ημερομηνίας εγγραφής"; +"Chat.RegDate.Copied" = "Η ημερομηνία εγγραφής αντιγράφηκε στο πρόχειρο."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Αντιγραφή ID"; +"Chat.ID.Copied" = "Το ID αντιγράφηκε στο πρόχειρο."; "Settings.messageDoubleTapActionOutgoingEdit" = "Διπλό Πάτημα για Επεξεργασία Μηνύματος"; diff --git a/Swiftgram/SGStrings/Strings/en.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/en.lproj/SGLocalizable.strings index 0383460b65..d594dff354 100644 --- a/Swiftgram/SGStrings/Strings/en.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/en.lproj/SGLocalizable.strings @@ -145,13 +145,21 @@ "Settings.DefaultEmojisFirst" = "Standard emojis first"; "Settings.DefaultEmojisFirst.Notice" = "Show standard emojis before premium in emoji keyboard"; -/* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "created: %@"; - +"Chat.Created.Label" = "Created"; +"Chat.Created.Copy" = "Copy Creation Date"; +"Chat.Created.Copied" = "Creation Date copied to clipboard."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Joined %@"; +"Chat.JoinedDate.Copy" = "Copy Joined Date"; +"Chat.JoinedDate.Copied" = "Joined Date copied to clipboard."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registered"; +"Chat.RegDate.Copy" = "Copy Registration Date"; +"Chat.RegDate.Copied" = "Registration Date copied to clipboard."; + +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copy ID"; +"Chat.ID.Copied" = "ID copied to clipboard."; "Settings.messageDoubleTapActionOutgoingEdit" = "Double-tap to edit message"; diff --git a/Swiftgram/SGStrings/Strings/es.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/es.lproj/SGLocalizable.strings index 4fcb6aee08..0f92684b61 100644 --- a/Swiftgram/SGStrings/Strings/es.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/es.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Mostrar emojis estándar antes que premium en el teclado de emojis"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "creado: %@"; +"Chat.Created.Label" = "Creado"; +"Chat.Created.Copy" = "Copiar fecha de creación"; +"Chat.Created.Copied" = "Fecha de creación copiada al portapapeles."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Unido a %@"; +"Chat.JoinedDate.Copy" = "Copiar fecha de ingreso"; +"Chat.JoinedDate.Copied" = "Fecha de ingreso copiada al portapapeles."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrado"; +"Chat.RegDate.Copy" = "Copiar fecha de registro"; +"Chat.RegDate.Copied" = "Fecha de registro copiada al portapapeles."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copiar ID"; +"Chat.ID.Copied" = "ID copiado al portapapeles."; "Settings.messageDoubleTapActionOutgoingEdit" = "Doble toque para editar mensaje"; diff --git a/Swiftgram/SGStrings/Strings/fa.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/fa.lproj/SGLocalizable.strings index 1581d63536..26ae2dd362 100644 --- a/Swiftgram/SGStrings/Strings/fa.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/fa.lproj/SGLocalizable.strings @@ -7,3 +7,13 @@ "Settings.ShowProfileID" = "نمایش ایدی پروفایل"; "Settings.Translation.QuickTranslateButton" = "دکمه ترجمه سریع"; "ContextMenu.SaveToCloud" = "ذخیره در فضای ابری"; +"Chat.Created.Label" = "ایجاد شد"; +"Chat.Created.Copy" = "کپی تاریخ ایجاد"; +"Chat.Created.Copied" = "تاریخ ایجاد در کلیپ‌بورد کپی شد."; +"Chat.JoinedDate.Copy" = "کپی تاریخ پیوستن"; +"Chat.JoinedDate.Copied" = "تاریخ پیوستن در کلیپ‌بورد کپی شد."; +"Chat.RegDate.Copy" = "کپی تاریخ ثبت‌نام"; +"Chat.RegDate.Copied" = "تاریخ ثبت‌نام در کلیپ‌بورد کپی شد."; +"Chat.ID" = "شناسه"; +"Chat.ID.Copy" = "کپی شناسه"; +"Chat.ID.Copied" = "شناسه در کلیپ‌بورد کپی شد."; diff --git a/Swiftgram/SGStrings/Strings/fi.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/fi.lproj/SGLocalizable.strings index 3e7ea96fbf..78cd865896 100644 --- a/Swiftgram/SGStrings/Strings/fi.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/fi.lproj/SGLocalizable.strings @@ -122,12 +122,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Näytä vakiotunnukset ennen premium-tunnuksia tunnusnäppäimistössä"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "created: %@"; +"Chat.Created.Label" = "Created"; +"Chat.Created.Copy" = "Kopioi luontipäivä"; +"Chat.Created.Copied" = "Luontipäivä kopioitu leikepöydälle."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Joined %@"; +"Chat.JoinedDate.Copy" = "Kopioi liittymispäivä"; +"Chat.JoinedDate.Copied" = "Liittymispäivä kopioitu leikepöydälle."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Rekisteröity"; +"Chat.RegDate.Copy" = "Kopioi rekisteröitymispäivä"; +"Chat.RegDate.Copied" = "Rekisteröitymispäivä kopioitu leikepöydälle."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopioi ID"; +"Chat.ID.Copied" = "ID kopioitu leikepöydälle."; "Settings.messageDoubleTapActionOutgoingEdit" = "Paina kahdesti muokataksesi viestiä"; diff --git a/Swiftgram/SGStrings/Strings/fr.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/fr.lproj/SGLocalizable.strings index adc9a1b3d3..5d803916c0 100644 --- a/Swiftgram/SGStrings/Strings/fr.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/fr.lproj/SGLocalizable.strings @@ -119,12 +119,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Afficher les emojis standard avant les emojis premium dans le clavier emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "créé: %@"; +"Chat.Created.Label" = "Créé"; +"Chat.Created.Copy" = "Copier la date de création"; +"Chat.Created.Copied" = "La date de création a été copiée dans le presse-papiers."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Rejoint %@"; +"Chat.JoinedDate.Copy" = "Copier la date d'adhésion"; +"Chat.JoinedDate.Copied" = "La date d'adhésion a été copiée dans le presse-papiers."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Enregistré"; +"Chat.RegDate.Copy" = "Copier la date d'inscription"; +"Chat.RegDate.Copied" = "La date d'inscription a été copiée dans le presse-papiers."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copier l'ID"; +"Chat.ID.Copied" = "L'ID a été copié dans le presse-papiers."; "Settings.messageDoubleTapActionOutgoingEdit" = "Appuyez deux fois pour modifier le message"; diff --git a/Swiftgram/SGStrings/Strings/he.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/he.lproj/SGLocalizable.strings index eb4562b7c8..9551024640 100644 --- a/Swiftgram/SGStrings/Strings/he.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/he.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "הצג רמזי פנים סטנדרטיים לפני פרימיום במקלדת רמזי פנים"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "נוצר: %@"; +"Chat.Created.Label" = "נוצר"; +"Chat.Created.Copy" = "העתקת תאריך יצירה"; +"Chat.Created.Copied" = "תאריך היצירה הועתק ללוח."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "הצטרף/הצטרפה ב־%@"; +"Chat.JoinedDate.Copy" = "העתקת תאריך הצטרפות"; +"Chat.JoinedDate.Copied" = "תאריך ההצטרפות הועתק ללוח."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "נרשם"; +"Chat.RegDate.Copy" = "העתקת תאריך הרשמה"; +"Chat.RegDate.Copied" = "תאריך ההרשמה הועתק ללוח."; +"Chat.ID" = "מזהה"; +"Chat.ID.Copy" = "העתקת מזהה"; +"Chat.ID.Copied" = "המזהה הועתק ללוח."; "Settings.messageDoubleTapActionOutgoingEdit" = "לחץ פעמיים לעריכת הודעה"; diff --git a/Swiftgram/SGStrings/Strings/hi.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/hi.lproj/SGLocalizable.strings index 6adc148a1d..65b5ce907b 100644 --- a/Swiftgram/SGStrings/Strings/hi.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/hi.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "इमोजी कीबोर्ड में प्रीमियम से पहले मानक इमोजी दिखाएं"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "बनाया गया: %@"; +"Chat.Created.Label" = "बनाया गया"; +"Chat.Created.Copy" = "निर्माण तिथि कॉपी करें"; +"Chat.Created.Copied" = "निर्माण तिथि क्लिपबोर्ड पर कॉपी हो गई।"; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "%@ में शामिल हो गया"; +"Chat.JoinedDate.Copy" = "जुड़ने की तारीख कॉपी करें"; +"Chat.JoinedDate.Copied" = "जुड़ने की तारीख क्लिपबोर्ड पर कॉपी हो गई।"; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "पंजीकृत"; +"Chat.RegDate.Copy" = "पंजीकरण तिथि कॉपी करें"; +"Chat.RegDate.Copied" = "पंजीकरण तिथि क्लिपबोर्ड पर कॉपी हो गई।"; +"Chat.ID" = "आईडी"; +"Chat.ID.Copy" = "आईडी कॉपी करें"; +"Chat.ID.Copied" = "आईडी क्लिपबोर्ड पर कॉपी हो गई।"; "Settings.messageDoubleTapActionOutgoingEdit" = "संदेश संपादित करने के लिए दो बार टैप करें"; diff --git a/Swiftgram/SGStrings/Strings/hu.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/hu.lproj/SGLocalizable.strings index d357bb69b6..5dbfb5ac38 100644 --- a/Swiftgram/SGStrings/Strings/hu.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/hu.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Mutassa az alap emojisokat az emoji billentyűzet előtt a prémiumok helyett"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "létrehozva: %@"; +"Chat.Created.Label" = "Létrehozva"; +"Chat.Created.Copy" = "Létrehozás dátumának másolása"; +"Chat.Created.Copied" = "A létrehozás dátuma a vágólapra lett másolva."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Csatlakozott %@"; +"Chat.JoinedDate.Copy" = "Csatlakozás dátumának másolása"; +"Chat.JoinedDate.Copied" = "A csatlakozás dátuma a vágólapra lett másolva."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Regisztrált"; +"Chat.RegDate.Copy" = "Regisztráció dátumának másolása"; +"Chat.RegDate.Copied" = "A regisztráció dátuma a vágólapra lett másolva."; +"Chat.ID" = "Azonosító"; +"Chat.ID.Copy" = "Azonosító másolása"; +"Chat.ID.Copied" = "Azonosító a vágólapra másolva."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dupla koppintás a üzenet szerkesztéséhez"; diff --git a/Swiftgram/SGStrings/Strings/id.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/id.lproj/SGLocalizable.strings index 44ba7a11a2..b154e99fa5 100644 --- a/Swiftgram/SGStrings/Strings/id.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/id.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Tampilkan emoji standar sebelum emoji premium di papan tombol emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "dibuat: %@"; +"Chat.Created.Label" = "Dibuat"; +"Chat.Created.Copy" = "Salin tanggal pembuatan"; +"Chat.Created.Copied" = "Tanggal pembuatan disalin ke papan klip."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Bergabung %@"; +"Chat.JoinedDate.Copy" = "Salin tanggal bergabung"; +"Chat.JoinedDate.Copied" = "Tanggal bergabung disalin ke papan klip."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Terdaftar"; +"Chat.RegDate.Copy" = "Salin tanggal pendaftaran"; +"Chat.RegDate.Copied" = "Tanggal pendaftaran disalin ke papan klip."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Salin ID"; +"Chat.ID.Copied" = "ID disalin ke papan klip."; "Settings.messageDoubleTapActionOutgoingEdit" = "Ketuk dua kali untuk mengedit pesan"; diff --git a/Swiftgram/SGStrings/Strings/it.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/it.lproj/SGLocalizable.strings index ca32eafb8c..17b5edcebd 100644 --- a/Swiftgram/SGStrings/Strings/it.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/it.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Mostra gli emoji standard prima dei premium nella tastiera degli emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "creato il: %@"; +"Chat.Created.Label" = "Creato il"; +"Chat.Created.Copy" = "Copia data di creazione"; +"Chat.Created.Copied" = "Data di creazione copiata negli appunti."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Sì è unito a %@"; +"Chat.JoinedDate.Copy" = "Copia data di adesione"; +"Chat.JoinedDate.Copied" = "Data di adesione copiata negli appunti."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrato"; +"Chat.RegDate.Copy" = "Copia data di registrazione"; +"Chat.RegDate.Copied" = "Data di registrazione copiata negli appunti."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copia ID"; +"Chat.ID.Copied" = "ID copiato negli appunti."; "Settings.messageDoubleTapActionOutgoingEdit" = "Doppio tap per modificare il messaggio"; diff --git a/Swiftgram/SGStrings/Strings/ja.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ja.lproj/SGLocalizable.strings index afe45d6566..974fe83590 100644 --- a/Swiftgram/SGStrings/Strings/ja.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ja.lproj/SGLocalizable.strings @@ -123,12 +123,21 @@ "Settings.DefaultEmojisFirst.Notice" = "絵文字キーボードでプレミアムより前に標準エモジを表示"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "作成済み: %@"; +"Chat.Created.Label" = "作成済み"; +"Chat.Created.Copy" = "作成日をコピー"; +"Chat.Created.Copied" = "作成日をクリップボードにコピーしました。"; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "%@ に参加しました"; +"Chat.JoinedDate.Copy" = "参加日をコピー"; +"Chat.JoinedDate.Copied" = "参加日をクリップボードにコピーしました。"; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "登録済み"; +"Chat.RegDate.Copy" = "登録日をコピー"; +"Chat.RegDate.Copied" = "登録日をクリップボードにコピーしました。"; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "IDをコピー"; +"Chat.ID.Copied" = "IDをクリップボードにコピーしました。"; "Settings.messageDoubleTapActionOutgoingEdit" = "メッセージを編集するにはタップをダブルタップ"; diff --git a/Swiftgram/SGStrings/Strings/km.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/km.lproj/SGLocalizable.strings index 928cf393a6..f1767c2b12 100644 --- a/Swiftgram/SGStrings/Strings/km.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/km.lproj/SGLocalizable.strings @@ -6,3 +6,13 @@ "Settings.HidePhoneInSettingsUI" = "លាក់លេខទូរសព្ទក្នុងការកំណត់"; "Settings.Folders.BottomTab" = "ថតឯបាត"; "ContextMenu.SaveToCloud" = "រក្សាទុកទៅពពក"; +"Chat.Created.Label" = "បានបង្កើត"; +"Chat.Created.Copy" = "ចម្លងកាលបរិច្ឆេទបង្កើត"; +"Chat.Created.Copied" = "បានចម្លងកាលបរិច្ឆេទបង្កើតទៅក្តារតម្បៀតខ្ទាស់។"; +"Chat.JoinedDate.Copy" = "ចម្លងកាលបរិច្ឆេទចូលរួម"; +"Chat.JoinedDate.Copied" = "បានចម្លងកាលបរិច្ឆេទចូលរួមទៅក្តារតម្បៀតខ្ទាស់។"; +"Chat.RegDate.Copy" = "ចម្លងកាលបរិច្ឆេទចុះឈ្មោះ"; +"Chat.RegDate.Copied" = "បានចម្លងកាលបរិច្ឆេទចុះឈ្មោះទៅក្តារតម្បៀតខ្ទាស់។"; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ចម្លង ID"; +"Chat.ID.Copied" = "បានចម្លង ID ទៅក្តារតម្បៀតខ្ទាស់។"; diff --git a/Swiftgram/SGStrings/Strings/ko.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ko.lproj/SGLocalizable.strings index 501a5f64b4..1405307996 100644 --- a/Swiftgram/SGStrings/Strings/ko.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ko.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "이모지 키보드에서 프리미엄 이모지보다 표준 이모지 우선 표시"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "생성됨: %@"; +"Chat.Created.Label" = "생성됨"; +"Chat.Created.Copy" = "생성 날짜 복사"; +"Chat.Created.Copied" = "생성 날짜가 클립보드에 복사되었습니다."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "%@에 가입함"; +"Chat.JoinedDate.Copy" = "참여 날짜 복사"; +"Chat.JoinedDate.Copied" = "참여 날짜가 클립보드에 복사되었습니다."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "가입함"; +"Chat.RegDate.Copy" = "등록 날짜 복사"; +"Chat.RegDate.Copied" = "등록 날짜가 클립보드에 복사되었습니다."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID 복사"; +"Chat.ID.Copied" = "ID가 클립보드에 복사되었습니다."; "Settings.messageDoubleTapActionOutgoingEdit" = "메시지 수정을 위해 두 번 탭"; diff --git a/Swiftgram/SGStrings/Strings/ku.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ku.lproj/SGLocalizable.strings index 62ac20a89c..5f394a3767 100644 --- a/Swiftgram/SGStrings/Strings/ku.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ku.lproj/SGLocalizable.strings @@ -8,3 +8,13 @@ "Settings.Translation.QuickTranslateButton" = "دوگمەی وەرگێڕانی خێرا"; "Settings.Folders.BottomTab" = "بوخچەکان لە خوارەوە"; "ContextMenu.SaveToCloud" = "هەڵگرتن لە کڵاود"; +"Chat.Created.Label" = "دروستکراو"; +"Chat.Created.Copy" = "کۆپی کردنی بەرواری دروستکردن"; +"Chat.Created.Copied" = "بەرواری دروستکردن بۆ کلیپبۆرد کۆپی کرا."; +"Chat.JoinedDate.Copy" = "کۆپی کردنی بەرواری بەشداری"; +"Chat.JoinedDate.Copied" = "بەرواری بەشداری بۆ کلیپبۆرد کۆپی کرا."; +"Chat.RegDate.Copy" = "کۆپی کردنی بەرواری تۆماربوون"; +"Chat.RegDate.Copied" = "بەرواری تۆماربوون بۆ کلیپبۆرد کۆپی کرا."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "کۆپی کردنی ID"; +"Chat.ID.Copied" = "ID بۆ کلیپبۆرد کۆپی کرا."; diff --git a/Swiftgram/SGStrings/Strings/nl.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/nl.lproj/SGLocalizable.strings index d80e6ca49e..49611abcd8 100644 --- a/Swiftgram/SGStrings/Strings/nl.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/nl.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Toon standaardemoji's vóór premium in emoji-toetsenbord"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "aangemaakt: %@"; +"Chat.Created.Label" = "Aangemaakt"; +"Chat.Created.Copy" = "Aanmaakdatum kopiëren"; +"Chat.Created.Copied" = "Aanmaakdatum is naar het klembord gekopieerd."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Lid geworden %@"; +"Chat.JoinedDate.Copy" = "Deelnamedatum kopiëren"; +"Chat.JoinedDate.Copied" = "Deelnamedatum is naar het klembord gekopieerd."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Geregistreerd"; +"Chat.RegDate.Copy" = "Registratiedatum kopiëren"; +"Chat.RegDate.Copied" = "Registratiedatum is naar het klembord gekopieerd."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID kopiëren"; +"Chat.ID.Copied" = "ID is naar het klembord gekopieerd."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dubbelklik om bericht te bewerken"; diff --git a/Swiftgram/SGStrings/Strings/no.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/no.lproj/SGLocalizable.strings index 5fd16d5c62..5d735e089f 100644 --- a/Swiftgram/SGStrings/Strings/no.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/no.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Vis standard emojis før premium på emoji-tastaturet"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "opprettet: %@"; +"Chat.Created.Label" = "Opprettet"; +"Chat.Created.Copy" = "Kopier opprettelsesdato"; +"Chat.Created.Copied" = "Opprettelsesdato kopiert til utklippstavlen."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Ble med %@"; +"Chat.JoinedDate.Copy" = "Kopier innmeldingsdato"; +"Chat.JoinedDate.Copied" = "Innmeldingsdato kopiert til utklippstavlen."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrert"; +"Chat.RegDate.Copy" = "Kopier registreringsdato"; +"Chat.RegDate.Copied" = "Registreringsdato kopiert til utklippstavlen."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopier ID"; +"Chat.ID.Copied" = "ID kopiert til utklippstavlen."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dobbelttrykk for å redigere meldingen"; diff --git a/Swiftgram/SGStrings/Strings/pl.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/pl.lproj/SGLocalizable.strings index 9efb5c2247..1b2f0a07f4 100644 --- a/Swiftgram/SGStrings/Strings/pl.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/pl.lproj/SGLocalizable.strings @@ -122,12 +122,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Na klawiaturze emoji pokaż standardowe emoji przed Premium"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "utworzony: %@"; +"Chat.Created.Label" = "Utworzony"; +"Chat.Created.Copy" = "Kopiuj datę utworzenia"; +"Chat.Created.Copied" = "Data utworzenia została skopiowana do schowka."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Dołączono %@"; +"Chat.JoinedDate.Copy" = "Kopiuj datę dołączenia"; +"Chat.JoinedDate.Copied" = "Data dołączenia została skopiowana do schowka."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Zarejestrowano"; +"Chat.RegDate.Copy" = "Kopiuj datę rejestracji"; +"Chat.RegDate.Copied" = "Data rejestracji została skopiowana do schowka."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopiuj ID"; +"Chat.ID.Copied" = "ID skopiowano do schowka."; "Settings.messageDoubleTapActionOutgoingEdit" = "Podwójne stuknięcie, aby edytować wiadomość"; diff --git a/Swiftgram/SGStrings/Strings/pt.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/pt.lproj/SGLocalizable.strings index a45973f988..01b4bbdc48 100644 --- a/Swiftgram/SGStrings/Strings/pt.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/pt.lproj/SGLocalizable.strings @@ -141,12 +141,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Mostrar emojis padrão antes dos premium no teclado de emojis"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "criado: %@"; +"Chat.Created.Label" = "Criado"; +"Chat.Created.Copy" = "Copiar data de criação"; +"Chat.Created.Copied" = "Data de criação copiada para a área de transferência."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Entrou em %@"; +"Chat.JoinedDate.Copy" = "Copiar data de entrada"; +"Chat.JoinedDate.Copied" = "Data de entrada copiada para a área de transferência."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrado"; +"Chat.RegDate.Copy" = "Copiar data de registo"; +"Chat.RegDate.Copied" = "Data de registo copiada para a área de transferência."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copiar ID"; +"Chat.ID.Copied" = "ID copiado para a área de transferência."; "Settings.messageDoubleTapActionOutgoingEdit" = "Toque duplo para editar mensagem"; diff --git a/Swiftgram/SGStrings/Strings/ro.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ro.lproj/SGLocalizable.strings index ccb2ad1e46..f3e00abb79 100644 --- a/Swiftgram/SGStrings/Strings/ro.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ro.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Afișați emoticoanele standard înainte de cele premium în tastatura emoji"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "creat: %@"; +"Chat.Created.Label" = "Creat"; +"Chat.Created.Copy" = "Copiază data creării"; +"Chat.Created.Copied" = "Data creării a fost copiată în clipboard."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "S-a alăturat %@"; +"Chat.JoinedDate.Copy" = "Copiază data aderării"; +"Chat.JoinedDate.Copied" = "Data aderării a fost copiată în clipboard."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Înregistrat"; +"Chat.RegDate.Copy" = "Copiază data înregistrării"; +"Chat.RegDate.Copied" = "Data înregistrării a fost copiată în clipboard."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Copiază ID"; +"Chat.ID.Copied" = "ID copiat în clipboard."; "Settings.messageDoubleTapActionOutgoingEdit" = "Apăsați de două ori pentru a edita mesajul"; diff --git a/Swiftgram/SGStrings/Strings/ru.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/ru.lproj/SGLocalizable.strings index 0488ecf5f3..ec33225888 100644 --- a/Swiftgram/SGStrings/Strings/ru.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/ru.lproj/SGLocalizable.strings @@ -141,12 +141,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Показывать стандартные эмодзи перед Premium в эмодзи-клавиатуре"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "создан: %@"; +"Chat.Created.Label" = "Создан"; +"Chat.Created.Copy" = "Копировать дату создания"; +"Chat.Created.Copied" = "Дата создания скопирована в буфер обмена."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Присоединился к %@"; +"Chat.JoinedDate.Copy" = "Копировать дату вступления"; +"Chat.JoinedDate.Copied" = "Дата вступления скопирована в буфер обмена."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Дата регистрации"; +"Chat.RegDate.Copy" = "Копировать дату регистрации"; +"Chat.RegDate.Copied" = "Дата регистрации скопирована в буфер обмена."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Копировать ID"; +"Chat.ID.Copied" = "ID скопирован в буфер обмена."; "Settings.messageDoubleTapActionOutgoingEdit" = "Редактирование двойным тапом"; diff --git a/Swiftgram/SGStrings/Strings/si.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/si.lproj/SGLocalizable.strings index 869c70ba7e..91b9114540 100644 --- a/Swiftgram/SGStrings/Strings/si.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/si.lproj/SGLocalizable.strings @@ -1,2 +1,12 @@ "Settings.Tabs.Header" = "පටිති"; "ContextMenu.SaveToCloud" = "මේඝයට සුරකින්න"; +"Chat.Created.Label" = "සාදන ලදි"; +"Chat.Created.Copy" = "නිර්මාණ දිනය පිටපත් කරන්න"; +"Chat.Created.Copied" = "නිර්මාණ දිනය පසුරුපුවරුවට පිටපත් කරන ලදී."; +"Chat.JoinedDate.Copy" = "එකතු වූ දිනය පිටපත් කරන්න"; +"Chat.JoinedDate.Copied" = "එකතු වූ දිනය පසුරුපුවරුවට පිටපත් කරන ලදී."; +"Chat.RegDate.Copy" = "ලියාපදිංචි වූ දිනය පිටපත් කරන්න"; +"Chat.RegDate.Copied" = "ලියාපදිංචි වූ දිනය පසුරුපුවරුවට පිටපත් කරන ලදී."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID පිටපත් කරන්න"; +"Chat.ID.Copied" = "ID පසුරුපුවරුවට පිටපත් කරන ලදී."; diff --git a/Swiftgram/SGStrings/Strings/sk.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/sk.lproj/SGLocalizable.strings index 77376339e3..4e4a7db06d 100644 --- a/Swiftgram/SGStrings/Strings/sk.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/sk.lproj/SGLocalizable.strings @@ -2,3 +2,13 @@ "Settings.Tabs.ShowContacts" = "Zobraziť kontakty"; "Settings.Tabs.ShowNames" = "Zobraziť názvy záložiek"; "ContextMenu.SaveToCloud" = "Uložiť na Cloud"; +"Chat.Created.Label" = "Vytvorené"; +"Chat.Created.Copy" = "Kopírovať dátum vytvorenia"; +"Chat.Created.Copied" = "Dátum vytvorenia bol skopírovaný do schránky."; +"Chat.JoinedDate.Copy" = "Kopírovať dátum pripojenia"; +"Chat.JoinedDate.Copied" = "Dátum pripojenia bol skopírovaný do schránky."; +"Chat.RegDate.Copy" = "Kopírovať dátum registrácie"; +"Chat.RegDate.Copied" = "Dátum registrácie bol skopírovaný do schránky."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopírovať ID"; +"Chat.ID.Copied" = "ID bolo skopírované do schránky."; diff --git a/Swiftgram/SGStrings/Strings/sr.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/sr.lproj/SGLocalizable.strings index c71efa9f16..6a03d56f97 100644 --- a/Swiftgram/SGStrings/Strings/sr.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/sr.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Прикажи стандардне емотиконе пре премијумских на тастатури емотикона"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "креирано: %@"; +"Chat.Created.Label" = "Креирано"; +"Chat.Created.Copy" = "Копирај датум креирања"; +"Chat.Created.Copied" = "Датум креирања је копиран у међуспремник."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Придружен: %@"; +"Chat.JoinedDate.Copy" = "Копирај датум придруживања"; +"Chat.JoinedDate.Copied" = "Датум придруживања је копиран у међуспремник."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Регистрован"; +"Chat.RegDate.Copy" = "Копирај датум регистрације"; +"Chat.RegDate.Copied" = "Датум регистрације је копиран у међуспремник."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Копирај ID"; +"Chat.ID.Copied" = "ID је копиран у међуспремник."; "Settings.messageDoubleTapActionOutgoingEdit" = "Двоструки додир за уређивање поруке"; diff --git a/Swiftgram/SGStrings/Strings/sv.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/sv.lproj/SGLocalizable.strings index de9ed08295..0ce6e23c88 100644 --- a/Swiftgram/SGStrings/Strings/sv.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/sv.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Visa standardemojis innan premium i emoji-tangentbordet"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "skapad: %@"; +"Chat.Created.Label" = "Skapad"; +"Chat.Created.Copy" = "Kopiera skapandedatum"; +"Chat.Created.Copied" = "Skapandedatum kopierades till urklipp."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Gick med %@"; +"Chat.JoinedDate.Copy" = "Kopiera anslutningsdatum"; +"Chat.JoinedDate.Copied" = "Anslutningsdatum kopierades till urklipp."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Registrerad"; +"Chat.RegDate.Copy" = "Kopiera registreringsdatum"; +"Chat.RegDate.Copied" = "Registreringsdatum kopierades till urklipp."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Kopiera ID"; +"Chat.ID.Copied" = "ID kopierades till urklipp."; "Settings.messageDoubleTapActionOutgoingEdit" = "Dubbeltryck för att redigera meddelandet"; diff --git a/Swiftgram/SGStrings/Strings/tr.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/tr.lproj/SGLocalizable.strings index 7f1b643ec7..486618d423 100644 --- a/Swiftgram/SGStrings/Strings/tr.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/tr.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Emoji klavyesinde premiumdan önce standart emojileri göster"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "oluşturuldu: %@"; +"Chat.Created.Label" = "Oluşturuldu"; +"Chat.Created.Copy" = "Oluşturulma tarihini kopyala"; +"Chat.Created.Copied" = "Oluşturulma tarihi panoya kopyalandı."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Katıldı: %@"; +"Chat.JoinedDate.Copy" = "Katılma tarihini kopyala"; +"Chat.JoinedDate.Copied" = "Katılma tarihi panoya kopyalandı."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Kayıtlı"; +"Chat.RegDate.Copy" = "Kayıt tarihini kopyala"; +"Chat.RegDate.Copied" = "Kayıt tarihi panoya kopyalandı."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID'yi kopyala"; +"Chat.ID.Copied" = "ID panoya kopyalandı."; "Settings.messageDoubleTapActionOutgoingEdit" = "Mesajı düzenlemek için çift dokunun"; diff --git a/Swiftgram/SGStrings/Strings/uk.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/uk.lproj/SGLocalizable.strings index 405fcfb869..8e7c462b76 100644 --- a/Swiftgram/SGStrings/Strings/uk.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/uk.lproj/SGLocalizable.strings @@ -122,12 +122,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Показувати звичайні емодзі перед преміум у клавіатурі емодзі"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "створено: %@"; +"Chat.Created.Label" = "Створено"; +"Chat.Created.Copy" = "Скопіювати дату створення"; +"Chat.Created.Copied" = "Дату створення скопійовано в буфер обміну."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Приєднався до %@"; +"Chat.JoinedDate.Copy" = "Скопіювати дату вступу"; +"Chat.JoinedDate.Copied" = "Дату вступу скопійовано в буфер обміну."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Реєстрація"; +"Chat.RegDate.Copy" = "Скопіювати дату реєстрації"; +"Chat.RegDate.Copied" = "Дату реєстрації скопійовано в буфер обміну."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Скопіювати ID"; +"Chat.ID.Copied" = "ID скопійовано в буфер обміну."; "Settings.messageDoubleTapActionOutgoingEdit" = "Ред. повідомлення подвійним дотиком"; diff --git a/Swiftgram/SGStrings/Strings/uz.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/uz.lproj/SGLocalizable.strings index cfab47bc31..c885376ac9 100644 --- a/Swiftgram/SGStrings/Strings/uz.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/uz.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Emojilar klaviaturasida premiumdan oldin standart alifbo emoyilarni ko'rsating"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "yaratildi: %@"; +"Chat.Created.Label" = "Yaratildi"; +"Chat.Created.Copy" = "Yaratilgan sanani nusxalash"; +"Chat.Created.Copied" = "Yaratilgan sana vaqtinchalik xotiraga nusxalandi."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "%@\" ga qo'shildi"; +"Chat.JoinedDate.Copy" = "Qo'shilgan sanani nusxalash"; +"Chat.JoinedDate.Copied" = "Qo'shilgan sana vaqtinchalik xotiraga nusxalandi."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Ro'yhatga olingan"; +"Chat.RegDate.Copy" = "Ro'yxatdan o'tgan sanani nusxalash"; +"Chat.RegDate.Copied" = "Ro'yxatdan o'tgan sana vaqtinchalik xotiraga nusxalandi."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "ID nusxalash"; +"Chat.ID.Copied" = "ID vaqtinchalik xotiraga nusxalandi."; "Settings.messageDoubleTapActionOutgoingEdit" = "Xabarni tahrirlash uchun ikki marta bosing"; diff --git a/Swiftgram/SGStrings/Strings/vi.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/vi.lproj/SGLocalizable.strings index 8878463be8..40398db4ec 100644 --- a/Swiftgram/SGStrings/Strings/vi.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/vi.lproj/SGLocalizable.strings @@ -120,12 +120,21 @@ "Settings.DefaultEmojisFirst.Notice" = "Hiển thị biểu tượng cảm xúc tiêu chuẩn trước biểu tượng cảm xúc cao cấp trên bàn phím biểu tượng cảm xúc"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "đã tạo: %@"; +"Chat.Created.Label" = "Đã tạo"; +"Chat.Created.Copy" = "Sao chép ngày tạo"; +"Chat.Created.Copied" = "Đã sao chép ngày tạo vào bộ nhớ tạm."; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "Đã tham gia %@"; +"Chat.JoinedDate.Copy" = "Sao chép ngày tham gia"; +"Chat.JoinedDate.Copied" = "Đã sao chép ngày tham gia vào bộ nhớ tạm."; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "Đã đăng ký"; +"Chat.RegDate.Copy" = "Sao chép ngày đăng ký"; +"Chat.RegDate.Copied" = "Đã sao chép ngày đăng ký vào bộ nhớ tạm."; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "Sao chép ID"; +"Chat.ID.Copied" = "Đã sao chép ID vào bộ nhớ tạm."; "Settings.messageDoubleTapActionOutgoingEdit" = "Double-tap để chỉnh sửa tin nhắn"; diff --git a/Swiftgram/SGStrings/Strings/zh-hans.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/zh-hans.lproj/SGLocalizable.strings index 460aabbfaa..5fa11d0eaf 100644 --- a/Swiftgram/SGStrings/Strings/zh-hans.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/zh-hans.lproj/SGLocalizable.strings @@ -126,12 +126,21 @@ "Settings.DefaultEmojisFirst.Notice" = "在表情列表中将标准表情符号置于高级表情符号之前"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "创建日期: %@"; +"Chat.Created.Label" = "创建日期"; +"Chat.Created.Copy" = "复制创建日期"; +"Chat.Created.Copied" = "创建日期已复制到剪贴板。"; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "加入 %@ 的日期"; +"Chat.JoinedDate.Copy" = "复制加入日期"; +"Chat.JoinedDate.Copied" = "加入日期已复制到剪贴板。"; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "注册日期"; +"Chat.RegDate.Copy" = "复制注册日期"; +"Chat.RegDate.Copied" = "注册日期已复制到剪贴板。"; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "复制 ID"; +"Chat.ID.Copied" = "ID 已复制到剪贴板。"; "Settings.messageDoubleTapActionOutgoingEdit" = "双击编辑消息"; diff --git a/Swiftgram/SGStrings/Strings/zh-hant.lproj/SGLocalizable.strings b/Swiftgram/SGStrings/Strings/zh-hant.lproj/SGLocalizable.strings index cc3963ac1f..9d3f180dcc 100644 --- a/Swiftgram/SGStrings/Strings/zh-hant.lproj/SGLocalizable.strings +++ b/Swiftgram/SGStrings/Strings/zh-hant.lproj/SGLocalizable.strings @@ -126,12 +126,21 @@ "Settings.DefaultEmojisFirst.Notice" = "在表情符號鍵盤中,先顯示標準表情符號,再顯示 Premium 的"; /* Date when chat was created. "created: 24 May 2016" */ -"Chat.Created" = "建立於:%@"; +"Chat.Created.Label" = "建立於"; +"Chat.Created.Copy" = "複製建立日期"; +"Chat.Created.Copied" = "建立日期已複製到剪貼簿。"; /* Date when user joined the chat. "Joined Swiftgram Chat" */ "Chat.JoinedDateTitle" = "已加入 %@"; +"Chat.JoinedDate.Copy" = "複製加入日期"; +"Chat.JoinedDate.Copied" = "加入日期已複製到剪貼簿。"; /* Date when user registered in Telegram. Will be shown like "Registered\n24 May 2016" */ "Chat.RegDate" = "註冊日期"; +"Chat.RegDate.Copy" = "複製註冊日期"; +"Chat.RegDate.Copied" = "註冊日期已複製到剪貼簿。"; +"Chat.ID" = "ID"; +"Chat.ID.Copy" = "複製 ID"; +"Chat.ID.Copied" = "ID 已複製到剪貼簿。"; "Settings.messageDoubleTapActionOutgoingEdit" = "雙擊以編輯訊息"; diff --git a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoInteraction.swift b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoInteraction.swift index 618cb3aff7..9c83e1eb9c 100644 --- a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoInteraction.swift +++ b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoInteraction.swift @@ -78,6 +78,7 @@ final class PeerInfoInteraction { let openWorkingHoursContextMenu: (ASDisplayNode, ContextGesture?) -> Void let openBusinessLocationContextMenu: (ASDisplayNode, ContextGesture?) -> Void let openBirthdayContextMenu: (ASDisplayNode, ContextGesture?) -> Void + let openSgContextMenu: (ASDisplayNode, ContextGesture?, SGContextMenuAction) -> Void let openMemberContextMenu: (PeerInfoMember, ASDisplayNode, ContextGesture?) -> Void let editingOpenAffiliateProgram: () -> Void let editingOpenVerifyAccounts: () -> Void @@ -157,6 +158,7 @@ final class PeerInfoInteraction { openWorkingHoursContextMenu: @escaping (ASDisplayNode, ContextGesture?) -> Void, openBusinessLocationContextMenu: @escaping (ASDisplayNode, ContextGesture?) -> Void, openBirthdayContextMenu: @escaping (ASDisplayNode, ContextGesture?) -> Void, + openSgContextMenu: @escaping (ASDisplayNode, ContextGesture?, SGContextMenuAction) -> Void, openMemberContextMenu: @escaping (PeerInfoMember, ASDisplayNode, ContextGesture?) -> Void, editingOpenAffiliateProgram: @escaping () -> Void, editingOpenVerifyAccounts: @escaping () -> Void, @@ -235,6 +237,7 @@ final class PeerInfoInteraction { self.openWorkingHoursContextMenu = openWorkingHoursContextMenu self.openBusinessLocationContextMenu = openBusinessLocationContextMenu self.openBirthdayContextMenu = openBirthdayContextMenu + self.openSgContextMenu = openSgContextMenu self.openMemberContextMenu = openMemberContextMenu self.editingOpenAffiliateProgram = editingOpenAffiliateProgram self.editingOpenVerifyAccounts = editingOpenVerifyAccounts diff --git a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoProfileItems.swift b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoProfileItems.swift index 9e2609e65e..c0af8a473f 100644 --- a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoProfileItems.swift +++ b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoProfileItems.swift @@ -89,6 +89,9 @@ func infoItems( let birthdayContextAction: (ASDisplayNode, ContextGesture?, CGPoint?) -> Void = { node, gesture, _ in interaction.openBirthdayContextMenu(node, gesture) } + let openSgContextMenu: (ASDisplayNode, ContextGesture?, SGContextMenuAction) -> Void = { node, gesture, action in + interaction.openSgContextMenu(node, gesture, action) + } if case let .user(user) = data.peer { let ItemCallList = 1000 @@ -586,9 +589,7 @@ func infoItems( icon: .qrCode, action: { _, progress in interaction.openUsername(linkText, true, progress) - }, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.link(customLink: linkText), sourceNode, nil) - }, linkItemAction: { type, item, _, _, progress in + }, longTapAction: nil, linkItemAction: { type, item, _, _, progress in if case .tap = type { if case let .mention(username) = item { interaction.openUsername(String(username.suffix(from: username.index(username.startIndex, offsetBy: 1))), false, progress) @@ -596,6 +597,8 @@ func infoItems( } }, iconAction: { interaction.openQrCode() + }, contextAction: { sourceNode, gesture, _ in + openSgContextMenu(sourceNode, gesture, .copyLink(text: linkText)) }, requestLayout: { animated in interaction.requestLayout(animated) } @@ -639,20 +642,20 @@ func infoItems( icon: .qrCode, action: { _, progress in interaction.openUsername(mainUsername, true, progress) - }, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.link(customLink: nil), sourceNode, nil) - }, linkItemAction: { type, item, sourceNode, sourceRect, progress in + }, longTapAction: nil, linkItemAction: { type, item, sourceNode, _, progress in if case .tap = type { if case let .mention(username) = item { interaction.openUsername(String(username.suffix(from: username.index(username.startIndex, offsetBy: 1))), false, progress) } } else if case .longTap = type { if case let .mention(username) = item { - interaction.openPeerInfoContextMenu(.link(customLink: username), sourceNode, sourceRect) + openSgContextMenu(sourceNode, nil, .copyLink(text: username)) } } }, iconAction: { interaction.openQrCode() + }, contextAction: { sourceNode, gesture, _ in + openSgContextMenu(sourceNode, gesture, .copyLink(text: "https://t.me/\(mainUsername)")) }, requestLayout: { animated in interaction.requestLayout(animated) } @@ -906,8 +909,10 @@ func infoItems( // MARK: Swiftgram if showProfileId { - items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, label: "id: \(idText)", text: "", textColor: .primary, action: nil, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.copy(idText), sourceNode, nil) + items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, context: context, label: i18n("Chat.ID", presentationData.strings.baseLanguageCode), text: idText, textColor: .primary, action: { node, _ in + openSgContextMenu(node, nil, .copy(text: idText, copyKey: "Chat.ID.Copy", copiedKey: "Chat.ID.Copied")) + }, longTapAction: nil, contextAction: { node, gesture, _ in + openSgContextMenu(node, gesture, .copy(text: idText, copyKey: "Chat.ID.Copy", copiedKey: "Chat.ID.Copied")) }, requestLayout: { _ in interaction.requestLayout(false) })) @@ -968,8 +973,10 @@ func infoItems( } if !dcText.isEmpty || !dcLabel.isEmpty { - items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, label: dcLabel, text: dcText, textColor: .primary, action: nil, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.aboutDC, sourceNode, nil) + items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, context: context, label: dcLabel, text: dcText, textColor: .primary, action: { node, _ in + openSgContextMenu(node, nil, .openURL(url: "https://core.telegram.org/api/datacenter")) + }, longTapAction: nil, contextAction: { node, gesture, _ in + openSgContextMenu(node, gesture, .openURL(url: "https://core.telegram.org/api/datacenter")) }, requestLayout: { _ in interaction.requestLayout(false) })) @@ -980,8 +987,10 @@ func infoItems( if SGSimpleSettings.shared.showCreationDate { if let channelCreationTimestamp = data.channelCreationTimestamp { let creationDateString = stringForDate(timestamp: channelCreationTimestamp, strings: presentationData.strings) - items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, label: i18n("Chat.Created", presentationData.strings.baseLanguageCode, creationDateString), text: "", action: nil, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.copy(creationDateString), sourceNode, nil) + items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, context: context, label: i18n("Chat.Created.Label", presentationData.strings.baseLanguageCode), text: creationDateString, textColor: .primary, action: { node, _ in + openSgContextMenu(node, nil, .copy(text: creationDateString, copyKey: "Chat.Created.Copy", copiedKey: "Chat.Created.Copied")) + }, longTapAction: nil, contextAction: { node, gesture, _ in + openSgContextMenu(node, gesture, .copy(text: creationDateString, copyKey: "Chat.Created.Copy", copiedKey: "Chat.Created.Copied")) }, requestLayout: { _ in interaction.requestLayout(false) })) @@ -991,8 +1000,10 @@ func infoItems( if let invitedAt = nearestChatParticipant.1 { let joinedDateString = stringForDate(timestamp: invitedAt, strings: presentationData.strings) - items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, label: i18n("Chat.JoinedDateTitle", presentationData.strings.baseLanguageCode, nearestChatParticipant.0 ?? "chat") , text: joinedDateString, action: nil, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.copy(joinedDateString), sourceNode, nil) + items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, context: context, label: i18n("Chat.JoinedDateTitle", presentationData.strings.baseLanguageCode, nearestChatParticipant.0 ?? "chat"), text: joinedDateString, textColor: .primary, action: { node, _ in + openSgContextMenu(node, nil, .copy(text: joinedDateString, copyKey: "Chat.JoinedDate.Copy", copiedKey: "Chat.JoinedDate.Copied")) + }, longTapAction: nil, contextAction: { node, gesture, _ in + openSgContextMenu(node, gesture, .copy(text: joinedDateString, copyKey: "Chat.JoinedDate.Copy", copiedKey: "Chat.JoinedDate.Copied")) }, requestLayout: { _ in interaction.requestLayout(false) })) @@ -1021,8 +1032,10 @@ func infoItems( } } if !regDateString.isEmpty { - items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, label: i18n("Chat.RegDate", presentationData.strings.baseLanguageCode), text: regDateString, action: nil, longTapAction: { sourceNode in - interaction.openPeerInfoContextMenu(.copy(regDateString), sourceNode, nil) + items[.swiftgram]!.append(PeerInfoScreenLabeledValueItem(id: sgItemId, context: context, label: i18n("Chat.RegDate", presentationData.strings.baseLanguageCode), text: regDateString, textColor: .primary, action: { node, _ in + openSgContextMenu(node, nil, .copy(text: regDateString, copyKey: "Chat.RegDate.Copy", copiedKey: "Chat.RegDate.Copied")) + }, longTapAction: nil, contextAction: { node, gesture, _ in + openSgContextMenu(node, gesture, .copy(text: regDateString, copyKey: "Chat.RegDate.Copy", copiedKey: "Chat.RegDate.Copied")) }, requestLayout: { _ in interaction.requestLayout(false) })) diff --git a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift index f3f67a2998..fcfe144f13 100644 --- a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift +++ b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreen.swift @@ -150,8 +150,6 @@ enum PeerInfoMemberAction { } enum PeerInfoContextSubject { - case copy(String) - case aboutDC case bio case phone(String) case link(customLink: String?) @@ -695,6 +693,11 @@ final class PeerInfoScreenNode: ViewControllerTracingNode, PeerInfoScreenNodePro return } self.openBirthdayContextMenu(node: node, gesture: gesture) + }, openSgContextMenu: { [weak self] node, gesture, action in + guard let self else { + return + } + self.openSgContextMenu(node: node, gesture: gesture, action: action) }, openMemberContextMenu: { [weak self] member, node, gesture in guard let self else { return diff --git a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenPeerInfoContextMenu.swift b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenPeerInfoContextMenu.swift index da2cfb8839..11135c8597 100644 --- a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenPeerInfoContextMenu.swift +++ b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenPeerInfoContextMenu.swift @@ -19,42 +19,6 @@ extension PeerInfoScreenNode { } let context = self.context switch subject { - // MARK: Swiftgram - case let .copy(text): - let contextMenuController = makeContextMenuController(actions: [ContextMenuAction(content: .text(title: self.presentationData.strings.Conversation_ContextMenuCopy, accessibilityLabel: self.presentationData.strings.Conversation_ContextMenuCopy), action: { [weak self] in - UIPasteboard.general.string = text - - let presentationData = context.sharedContext.currentPresentationData.with { $0 } - self?.controller?.present(UndoOverlayController(presentationData: presentationData, content: .copy(text: presentationData.strings.Conversation_TextCopied), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }), in: .current) - })]) - controller.present(contextMenuController, in: .window(.root), with: ContextMenuControllerPresentationArguments(sourceNodeAndRect: { [weak self, weak sourceNode] in - if let controller = self?.controller, let sourceNode = sourceNode { - var rect = sourceNode.bounds.insetBy(dx: 0.0, dy: 2.0) - if let sourceRect = sourceRect { - rect = sourceRect.insetBy(dx: 0.0, dy: 2.0) - } - return (sourceNode, rect, controller.displayNode, controller.view.bounds) - } else { - return nil - } - })) - case .aboutDC: - let contextMenuController = makeContextMenuController(actions: [ContextMenuAction(content: .text(title: self.presentationData.strings.Passport_InfoLearnMore, accessibilityLabel: self.presentationData.strings.Passport_InfoLearnMore), action: { [weak self] in - self?.openUrl(url: "https://core.telegram.org/api/datacenter", concealed: false, external: false) - - })]) - controller.present(contextMenuController, in: .window(.root), with: ContextMenuControllerPresentationArguments(sourceNodeAndRect: { [weak self, weak sourceNode] in - if let controller = self?.controller, let sourceNode = sourceNode { - var rect = sourceNode.bounds.insetBy(dx: 0.0, dy: 2.0) - if let sourceRect = sourceRect { - rect = sourceRect.insetBy(dx: 0.0, dy: 2.0) - } - return (sourceNode, rect, controller.displayNode, controller.view.bounds) - } else { - return nil - } - })) - /// case .birthday: if let cachedData = data.cachedData as? CachedUserData, let birthday = cachedData.birthday { let presentationData = context.sharedContext.currentPresentationData.with { $0 } diff --git a/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenSg.swift b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenSg.swift new file mode 100644 index 0000000000..945018287f --- /dev/null +++ b/submodules/TelegramUI/Components/PeerInfo/PeerInfoScreen/Sources/PeerInfoScreenOpenSg.swift @@ -0,0 +1,61 @@ +import Foundation +import UIKit +import Display +import AsyncDisplayKit +import ContextUI +import UndoUI +import SGStrings + +enum SGContextMenuAction { + case copy(text: String, copyKey: String, copiedKey: String) + case copyLink(text: String) + case openURL(url: String) +} + +extension PeerInfoScreenNode { + func openSgContextMenu(node: ASDisplayNode, gesture: ContextGesture?, action: SGContextMenuAction) { + guard let sourceNode = node as? ContextExtractedContentContainingNode else { + return + } + + var items: [ContextMenuItem] = [] + switch action { + case let .copy(text, copyKey, copiedKey): + items.append(.action(ContextMenuActionItem(text: i18n(copyKey, self.presentationData.strings.baseLanguageCode), icon: { theme in + generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Copy"), color: theme.contextMenu.primaryColor) + }, action: { [weak self] c, _ in + c?.dismiss { + guard let self else { + return + } + UIPasteboard.general.string = text + self.controller?.present(UndoOverlayController(presentationData: self.presentationData, content: .copy(text: i18n(copiedKey, self.presentationData.strings.baseLanguageCode)), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }), in: .current) + } + }))) + case let .copyLink(text): + items.append(.action(ContextMenuActionItem(text: self.presentationData.strings.Conversation_ContextMenuCopy, icon: { theme in + generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Copy"), color: theme.contextMenu.primaryColor) + }, action: { [weak self] c, _ in + c?.dismiss { + guard let self else { + return + } + UIPasteboard.general.string = text + self.controller?.present(UndoOverlayController(presentationData: self.presentationData, content: .linkCopied(title: nil, text: self.presentationData.strings.Conversation_LinkCopied), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }), in: .current) + } + }))) + case let .openURL(url): + items.append(.action(ContextMenuActionItem(text: self.presentationData.strings.Passport_InfoLearnMore, icon: { theme in + generateTintedImage(image: UIImage(bundleImageName: "Chat/Context Menu/Browser"), color: theme.contextMenu.primaryColor) + }, action: { [weak self] c, _ in + c?.dismiss { + self?.openUrl(url: url, concealed: false, external: false) + } + }))) + } + + let actions = ContextController.Items(content: .list(items)) + let contextController = makeContextController(presentationData: self.presentationData, source: .extracted(PeerInfoContextExtractedContentSource(sourceNode: sourceNode)), items: .single(actions), gesture: gesture) + self.controller?.present(contextController, in: .window(.root)) + } +}