lang_hardcoded.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Lang {
  9. namespace Hard {
  10. inline QString FavedSetTitle() {
  11. return u"Favorite stickers"_q;
  12. }
  13. inline QString CallErrorIncompatible() {
  14. return u"{user}'s app is using an incompatible protocol. They need to update their app before you can call them."_q;
  15. }
  16. inline QString ServerError() {
  17. return u"Internal server error."_q;
  18. }
  19. inline QString ClearPathFailed() {
  20. return u"Clear failed :("_q;
  21. }
  22. inline QString ProxyConfigError() {
  23. return u"The proxy you are using is not configured correctly and will be disabled. Please find another one."_q;
  24. }
  25. inline QString NoAuthorizationBot() {
  26. return u"Could not get authorization bot."_q;
  27. }
  28. inline QString SecureSaveError() {
  29. return u"Error saving value."_q;
  30. }
  31. inline QString SecureAcceptError() {
  32. return u"Error accepting form."_q;
  33. }
  34. inline QString PassportCorrupted() {
  35. return u"It seems your Telegram Passport data was corrupted.\n\nYou can reset your Telegram Passport and restart this authorization."_q;
  36. }
  37. inline QString PassportCorruptedChange() {
  38. return u"It seems your Telegram Passport data was corrupted.\n\nYou can reset your Telegram Passport and change your cloud password."_q;
  39. }
  40. inline QString PassportCorruptedReset() {
  41. return u"Reset"_q;
  42. }
  43. inline QString PassportCorruptedResetSure() {
  44. return u"Are you sure you want to reset your Telegram Passport data?"_q;
  45. }
  46. inline QString UnknownSecureScanError() {
  47. return u"Unknown scan read error."_q;
  48. }
  49. inline QString EmailConfirmationExpired() {
  50. return u"This email confirmation has expired. Please setup two-step verification once again."_q;
  51. }
  52. inline QString AutostartEnableError() {
  53. return u"Could not register for autostart."_q;
  54. }
  55. } // namespace Hard
  56. } // namespace Lang