From 2c325f5613b55c151b4e0a35584b279e3f686d09 Mon Sep 17 00:00:00 2001 From: Falko Galperin Date: Sun, 22 Sep 2024 16:20:29 +0200 Subject: [PATCH] Re-run `babel.sh` to accomodate new button name --- babel/adding_a_new_model_backend.pot | 248 ++ babel/admin.pot | 450 +-- babel/advanced.pot | 725 ++++ babel/api.pot | 1898 +++++++++ babel/changelog.pot | 602 +++ babel/index.pot | 65 + babel/introduction.pot | 728 ++++ babel/sphinx.pot | 21 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/af/LC_MESSAGES/admin.mo | Bin 7085 -> 6400 bytes .../translations/af/LC_MESSAGES/advanced.po | 988 +++++ .../translations/af/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/af/LC_MESSAGES/changelog.po | 653 ++++ .../translations/af/LC_MESSAGES/index.po | 90 + .../af/LC_MESSAGES/introduction.po | 911 +++++ .../translations/af/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/ar/LC_MESSAGES/admin.mo | Bin 8634 -> 7949 bytes .../translations/ar/LC_MESSAGES/advanced.po | 989 +++++ .../translations/ar/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/ar/LC_MESSAGES/changelog.po | 654 ++++ .../translations/ar/LC_MESSAGES/index.po | 91 + .../ar/LC_MESSAGES/introduction.po | 912 +++++ .../translations/ar/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/be/LC_MESSAGES/admin.mo | Bin 9332 -> 9337 bytes .../translations/be/LC_MESSAGES/advanced.po | 989 +++++ .../translations/be/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/be/LC_MESSAGES/changelog.po | 654 ++++ .../translations/be/LC_MESSAGES/index.po | 91 + .../be/LC_MESSAGES/introduction.po | 912 +++++ .../translations/be/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/ca_ES/LC_MESSAGES/admin.mo | Bin 7451 -> 6763 bytes .../ca_ES/LC_MESSAGES/advanced.po | 988 +++++ .../translations/ca_ES/LC_MESSAGES/api.po | 2207 +++++++++++ .../ca_ES/LC_MESSAGES/changelog.po | 653 ++++ .../translations/ca_ES/LC_MESSAGES/index.po | 90 + .../ca_ES/LC_MESSAGES/introduction.po | 911 +++++ .../translations/ca_ES/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/cs/LC_MESSAGES/admin.mo | Bin 7585 -> 6900 bytes .../translations/cs/LC_MESSAGES/advanced.po | 988 +++++ .../translations/cs/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/cs/LC_MESSAGES/changelog.po | 653 ++++ .../translations/cs/LC_MESSAGES/index.po | 90 + .../cs/LC_MESSAGES/introduction.po | 911 +++++ .../translations/cs/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/da/LC_MESSAGES/admin.mo | Bin 7143 -> 6458 bytes .../translations/da/LC_MESSAGES/advanced.po | 988 +++++ .../translations/da/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/da/LC_MESSAGES/changelog.po | 653 ++++ .../translations/da/LC_MESSAGES/index.po | 90 + .../da/LC_MESSAGES/introduction.po | 911 +++++ .../translations/da/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/de/LC_MESSAGES/admin.mo | Bin 8935 -> 7919 bytes .../translations/de/LC_MESSAGES/advanced.po | 988 +++++ .../translations/de/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/de/LC_MESSAGES/changelog.po | 653 ++++ .../translations/de/LC_MESSAGES/index.po | 90 + .../de/LC_MESSAGES/introduction.po | 911 +++++ .../translations/de/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/el/LC_MESSAGES/admin.mo | Bin 9711 -> 9214 bytes .../translations/el/LC_MESSAGES/advanced.po | 988 +++++ .../translations/el/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/el/LC_MESSAGES/changelog.po | 653 ++++ .../translations/el/LC_MESSAGES/index.po | 90 + .../el/LC_MESSAGES/introduction.po | 911 +++++ .../translations/el/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/en/LC_MESSAGES/advanced.po | 988 +++++ .../translations/en/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/en/LC_MESSAGES/changelog.po | 653 ++++ .../translations/en/LC_MESSAGES/index.po | 90 + .../en/LC_MESSAGES/introduction.po | 911 +++++ .../translations/en/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/es/LC_MESSAGES/admin.mo | Bin 7693 -> 7698 bytes .../translations/es/LC_MESSAGES/advanced.po | 988 +++++ .../translations/es/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/es/LC_MESSAGES/changelog.po | 653 ++++ .../translations/es/LC_MESSAGES/index.po | 90 + .../es/LC_MESSAGES/introduction.po | 911 +++++ .../translations/es/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/et/LC_MESSAGES/admin.mo | Bin 7326 -> 6853 bytes .../translations/et/LC_MESSAGES/advanced.po | 988 +++++ .../translations/et/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/et/LC_MESSAGES/changelog.po | 653 ++++ .../translations/et/LC_MESSAGES/index.po | 90 + .../et/LC_MESSAGES/introduction.po | 911 +++++ .../translations/et/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/fa/LC_MESSAGES/admin.mo | Bin 8605 -> 8132 bytes .../translations/fa/LC_MESSAGES/advanced.po | 988 +++++ .../translations/fa/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/fa/LC_MESSAGES/changelog.po | 653 ++++ .../translations/fa/LC_MESSAGES/index.po | 90 + .../fa/LC_MESSAGES/introduction.po | 911 +++++ .../translations/fa/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/fi/LC_MESSAGES/admin.mo | Bin 7514 -> 6829 bytes .../translations/fi/LC_MESSAGES/advanced.po | 988 +++++ .../translations/fi/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/fi/LC_MESSAGES/changelog.po | 653 ++++ .../translations/fi/LC_MESSAGES/index.po | 90 + .../fi/LC_MESSAGES/introduction.po | 911 +++++ .../translations/fi/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/fr/LC_MESSAGES/admin.mo | Bin 7865 -> 7474 bytes .../translations/fr/LC_MESSAGES/advanced.po | 988 +++++ .../translations/fr/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/fr/LC_MESSAGES/changelog.po | 653 ++++ .../translations/fr/LC_MESSAGES/index.po | 90 + .../fr/LC_MESSAGES/introduction.po | 911 +++++ .../translations/fr/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/he/LC_MESSAGES/admin.mo | Bin 8153 -> 7468 bytes .../translations/he/LC_MESSAGES/advanced.po | 988 +++++ .../translations/he/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/he/LC_MESSAGES/changelog.po | 653 ++++ .../translations/he/LC_MESSAGES/index.po | 90 + .../he/LC_MESSAGES/introduction.po | 911 +++++ .../translations/he/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/hu/LC_MESSAGES/admin.mo | Bin 7583 -> 7110 bytes .../translations/hu/LC_MESSAGES/advanced.po | 988 +++++ .../translations/hu/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/hu/LC_MESSAGES/changelog.po | 653 ++++ .../translations/hu/LC_MESSAGES/index.po | 90 + .../hu/LC_MESSAGES/introduction.po | 911 +++++ .../translations/hu/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/it/LC_MESSAGES/admin.mo | Bin 7566 -> 7517 bytes .../translations/it/LC_MESSAGES/advanced.po | 988 +++++ .../translations/it/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/it/LC_MESSAGES/changelog.po | 653 ++++ .../translations/it/LC_MESSAGES/index.po | 90 + .../it/LC_MESSAGES/introduction.po | 911 +++++ .../translations/it/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/ja/LC_MESSAGES/admin.mo | Bin 8477 -> 8324 bytes .../translations/ja/LC_MESSAGES/advanced.po | 988 +++++ .../translations/ja/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/ja/LC_MESSAGES/changelog.po | 653 ++++ .../translations/ja/LC_MESSAGES/index.po | 90 + .../ja/LC_MESSAGES/introduction.po | 911 +++++ .../translations/ja/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/ko/LC_MESSAGES/admin.mo | Bin 7853 -> 7804 bytes .../translations/ko/LC_MESSAGES/advanced.po | 988 +++++ .../translations/ko/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/ko/LC_MESSAGES/changelog.po | 653 ++++ .../translations/ko/LC_MESSAGES/index.po | 90 + .../ko/LC_MESSAGES/introduction.po | 911 +++++ .../translations/ko/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/nl/LC_MESSAGES/admin.mo | Bin 7592 -> 7439 bytes .../translations/nl/LC_MESSAGES/advanced.po | 988 +++++ .../translations/nl/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/nl/LC_MESSAGES/changelog.po | 653 ++++ .../translations/nl/LC_MESSAGES/index.po | 90 + .../nl/LC_MESSAGES/introduction.po | 911 +++++ .../translations/nl/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/no/LC_MESSAGES/admin.mo | Bin 7111 -> 6380 bytes .../translations/no/LC_MESSAGES/advanced.po | 988 +++++ .../translations/no/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/no/LC_MESSAGES/changelog.po | 653 ++++ .../translations/no/LC_MESSAGES/index.po | 90 + .../no/LC_MESSAGES/introduction.po | 911 +++++ .../translations/no/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/pa/LC_MESSAGES/admin.mo | Bin 10486 -> 9801 bytes .../translations/pa/LC_MESSAGES/advanced.po | 988 +++++ .../translations/pa/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/pa/LC_MESSAGES/changelog.po | 653 ++++ .../translations/pa/LC_MESSAGES/index.po | 90 + .../pa/LC_MESSAGES/introduction.po | 911 +++++ .../translations/pa/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/pl/LC_MESSAGES/admin.mo | Bin 7702 -> 7549 bytes .../translations/pl/LC_MESSAGES/advanced.po | 989 +++++ .../translations/pl/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/pl/LC_MESSAGES/changelog.po | 654 ++++ .../translations/pl/LC_MESSAGES/index.po | 91 + .../pl/LC_MESSAGES/introduction.po | 912 +++++ .../translations/pl/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/pt/LC_MESSAGES/admin.mo | Bin 7481 -> 6984 bytes .../translations/pt/LC_MESSAGES/advanced.po | 988 +++++ .../translations/pt/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/pt/LC_MESSAGES/changelog.po | 653 ++++ .../translations/pt/LC_MESSAGES/index.po | 90 + .../pt/LC_MESSAGES/introduction.po | 911 +++++ .../translations/pt/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/pt_BR/LC_MESSAGES/admin.mo | Bin 7559 -> 7507 bytes .../pt_BR/LC_MESSAGES/advanced.po | 988 +++++ .../translations/pt_BR/LC_MESSAGES/api.po | 2207 +++++++++++ .../pt_BR/LC_MESSAGES/changelog.po | 653 ++++ .../translations/pt_BR/LC_MESSAGES/index.po | 90 + .../pt_BR/LC_MESSAGES/introduction.po | 911 +++++ .../translations/pt_BR/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/ro/LC_MESSAGES/admin.mo | Bin 7710 -> 7025 bytes .../translations/ro/LC_MESSAGES/advanced.po | 989 +++++ .../translations/ro/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/ro/LC_MESSAGES/changelog.po | 654 ++++ .../translations/ro/LC_MESSAGES/index.po | 91 + .../ro/LC_MESSAGES/introduction.po | 912 +++++ .../translations/ro/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/ru/LC_MESSAGES/admin.mo | Bin 9473 -> 9478 bytes .../translations/ru/LC_MESSAGES/advanced.po | 989 +++++ .../translations/ru/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/ru/LC_MESSAGES/changelog.po | 654 ++++ .../translations/ru/LC_MESSAGES/index.po | 91 + .../ru/LC_MESSAGES/introduction.po | 912 +++++ .../translations/ru/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/sk/LC_MESSAGES/admin.mo | Bin 7748 -> 7595 bytes .../translations/sk/LC_MESSAGES/advanced.po | 988 +++++ .../translations/sk/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/sk/LC_MESSAGES/changelog.po | 653 ++++ .../translations/sk/LC_MESSAGES/index.po | 90 + .../sk/LC_MESSAGES/introduction.po | 911 +++++ .../translations/sk/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/sr/LC_MESSAGES/admin.mo | Bin 7586 -> 6972 bytes .../translations/sr/LC_MESSAGES/advanced.po | 989 +++++ .../translations/sr/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/sr/LC_MESSAGES/changelog.po | 654 ++++ .../translations/sr/LC_MESSAGES/index.po | 91 + .../sr/LC_MESSAGES/introduction.po | 912 +++++ .../translations/sr/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/sv/LC_MESSAGES/admin.mo | Bin 7270 -> 6849 bytes .../translations/sv/LC_MESSAGES/advanced.po | 988 +++++ .../translations/sv/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/sv/LC_MESSAGES/changelog.po | 653 ++++ .../translations/sv/LC_MESSAGES/index.po | 90 + .../sv/LC_MESSAGES/introduction.po | 911 +++++ .../translations/sv/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/tr/LC_MESSAGES/admin.mo | Bin 7585 -> 7590 bytes .../translations/tr/LC_MESSAGES/advanced.po | 988 +++++ .../translations/tr/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/tr/LC_MESSAGES/changelog.po | 653 ++++ .../translations/tr/LC_MESSAGES/index.po | 90 + .../tr/LC_MESSAGES/introduction.po | 911 +++++ .../translations/tr/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 318 ++ .../translations/uk/LC_MESSAGES/admin.mo | Bin 9410 -> 9318 bytes .../translations/uk/LC_MESSAGES/advanced.po | 989 +++++ .../translations/uk/LC_MESSAGES/api.po | 2208 +++++++++++ .../translations/uk/LC_MESSAGES/changelog.po | 654 ++++ .../translations/uk/LC_MESSAGES/index.po | 91 + .../uk/LC_MESSAGES/introduction.po | 912 +++++ .../translations/uk/LC_MESSAGES/sphinx.po | 27 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../translations/vi/LC_MESSAGES/admin.mo | Bin 7820 -> 7443 bytes .../translations/vi/LC_MESSAGES/advanced.po | 988 +++++ .../translations/vi/LC_MESSAGES/api.po | 2207 +++++++++++ .../translations/vi/LC_MESSAGES/changelog.po | 653 ++++ .../translations/vi/LC_MESSAGES/index.po | 90 + .../vi/LC_MESSAGES/introduction.po | 911 +++++ .../translations/vi/LC_MESSAGES/sphinx.po | 26 + .../zh_Hans_CN/LC_MESSAGES/admin.mo | Bin 7054 -> 7051 bytes .../zh_Hans_CN/LC_MESSAGES/advanced.po | 707 ++-- .../zh_Hans_CN/LC_MESSAGES/api.po | 3467 +++++++++-------- .../zh_Hans_CN/LC_MESSAGES/changelog.po | 615 ++- .../zh_Hans_CN/LC_MESSAGES/index.po | 89 +- .../zh_Hans_CN/LC_MESSAGES/introduction.po | 526 ++- .../zh_Hans_CN/LC_MESSAGES/sphinx.po | 26 + .../LC_MESSAGES/adding_a_new_model_backend.po | 317 ++ .../zh_Hant_TW/LC_MESSAGES/admin.mo | Bin 7182 -> 6572 bytes .../zh_Hant_TW/LC_MESSAGES/advanced.po | 988 +++++ .../zh_Hant_TW/LC_MESSAGES/api.po | 2207 +++++++++++ .../zh_Hant_TW/LC_MESSAGES/changelog.po | 653 ++++ .../zh_Hant_TW/LC_MESSAGES/index.po | 90 + .../zh_Hant_TW/LC_MESSAGES/introduction.po | 911 +++++ .../zh_Hant_TW/LC_MESSAGES/sphinx.po | 26 + 286 files changed, 184285 insertions(+), 2459 deletions(-) create mode 100644 babel/adding_a_new_model_backend.pot create mode 100644 babel/advanced.pot create mode 100644 babel/api.pot create mode 100644 babel/changelog.pot create mode 100644 babel/index.pot create mode 100644 babel/introduction.pot create mode 100644 babel/sphinx.pot create mode 100644 flask_admin/translations/af/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/af/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ar/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/be/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ca_ES/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/cs/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/da/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/de/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/el/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/en/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/es/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/et/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/fa/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/fi/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/fr/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/he/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/hu/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/it/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ja/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ko/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/nl/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/no/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/pa/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/pl/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/pt/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/pt_BR/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ro/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/ru/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/sk/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/sr/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/sv/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/tr/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/uk/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/vi/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/zh_Hans_CN/LC_MESSAGES/sphinx.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/adding_a_new_model_backend.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/advanced.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/api.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/changelog.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/index.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/introduction.po create mode 100644 flask_admin/translations/zh_Hant_TW/LC_MESSAGES/sphinx.po diff --git a/babel/adding_a_new_model_backend.pot b/babel/adding_a_new_model_backend.pot new file mode 100644 index 000000000..696138c38 --- /dev/null +++ b/babel/adding_a_new_model_backend.pot @@ -0,0 +1,248 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2012-2024, Flask-Admin Team +# This file is distributed under the same license as the flask-admin package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: flask-admin 2.0.0a0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-22 16:17+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../doc/adding_a_new_model_backend.rst:4 +msgid "Adding A Model Backend" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:6 +msgid "Flask-Admin makes a few assumptions about the database models that it works with. If you want to implement your own database backend, and still have Flask-Admin's model views work as expected, then you should take note of the following:" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:9 +msgid "Each model must have one field which acts as a `primary key` to uniquely identify instances of that model. However, there are no restriction on the data type or the field name of the `primary key` field." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:11 +msgid "Models must make their data accessible as python properties." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:13 +msgid "If that is the case, then you can implement your own database backend by extending the `BaseModelView` class, and implementing the set of scaffolding methods listed below." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:17 +msgid "Extending BaseModelView" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:19 +msgid "Start off by defining a new class, which derives from from :class:`~flask_admin.model.BaseModelView`::" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:24 +msgid "This class inherits BaseModelView's `__init__` method, which accepts a model class as first argument. The model class is stored as the attribute ``self.model`` so that other methods may access it." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:27 +msgid "Now, implement the following scaffolding methods for the new class:" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:29 +msgid ":meth:`~flask_admin.model.BaseModelView.get_pk_value`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:31 +msgid "This method returns a primary key value from the model instance. In the SQLAlchemy backend, it gets the primary key from the model using :meth:`~flask_admin.contrib.sqla.ModelView.scaffold_pk`, caches it and then returns the value from the model whenever requested." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:36 +#: ../../doc/adding_a_new_model_backend.rst:85 +#: ../../doc/adding_a_new_model_backend.rst:155 +#: ../../doc/adding_a_new_model_backend.rst:191 +msgid "For example::" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:42 +msgid ":meth:`~flask_admin.model.BaseModelView.scaffold_list_columns`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:44 +msgid "Returns a list of columns to be displayed in a list view. For example::" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:57 +msgid ":meth:`~flask_admin.model.BaseModelView.scaffold_sortable_columns`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:59 +msgid "Returns a dictionary of sortable columns. The keys in the dictionary should correspond to the model's field names. The values should be those variables that will be used for sorting." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:62 +msgid "For example, in the SQLAlchemy backend it is possible to sort by a foreign key field. So, if there is a field named `user`, which is a foreign key for the `Users` table, and the `Users` table also has a name field, then the key will be `user` and value will be `Users.name`." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:66 +msgid "If your backend does not support sorting, return `None` or an empty dictionary." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:69 +msgid ":meth:`~flask_admin.model.BaseModelView.init_search`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:71 +msgid "Initialize search functionality. If your backend supports full-text search, do initializations and return `True`. If your backend does not support full-text search, return `False`." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:76 +msgid "For example, SQLAlchemy backend reads value of the `self.searchable_columns` and verifies if all fields are of text type, if they're local to the current model (if not, it will add a join, etc) and caches this information for future use." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:81 +msgid ":meth:`~flask_admin.model.BaseModelView.scaffold_form`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:83 +msgid "Generate `WTForms` form class from the model." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:95 +msgid ":meth:`~flask_admin.model.BaseModelView.get_list`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:97 +msgid "This method should return list of model instances with paging, sorting, etc applied." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:100 +msgid "For SQLAlchemy backend it looks like:" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:102 +msgid "If search was enabled and provided search value is not empty, generate LIKE statements for each field from `self.searchable_columns`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:105 +msgid "If filter values were passed, call `apply` method with values::" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:111 +msgid "Execute query to get total number of rows in the database (count)" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:114 +msgid "If `sort_column` was passed, will do something like (with some extra FK logic which is omitted in this example)::" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:121 +msgid "Apply paging" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:123 +msgid "Return count, list as a tuple" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:125 +msgid ":meth:`~flask_admin.model.BaseModelView.get_one`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:127 +msgid "Return a model instance by its primary key." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:129 +msgid ":meth:`~flask_admin.model.BaseModelView.create_model`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:131 +msgid "Create a new instance of the model from the `Form` object." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:133 +msgid ":meth:`~flask_admin.model.BaseModelView.update_model`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:135 +msgid "Update the model instance with data from the form." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:137 +msgid ":meth:`~flask_admin.model.BaseModelView.delete_model`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:139 +msgid "Delete the specified model instance from the data store." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:141 +msgid ":meth:`~flask_admin.model.BaseModelView.is_valid_filter`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:143 +msgid "Verify whether the given object is a valid filter." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:145 +msgid ":meth:`~flask_admin.model.BaseModelView.scaffold_filters`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:147 +msgid "Return a list of filter objects for one model field." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:149 +msgid "This method will be called once for each entry in the `self.column_filters` setting." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:152 +msgid "If your backend does not know how to generate filters for the provided field, it should return `None`." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:165 +msgid "Implementing filters" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:167 +msgid "Each model backend should have its own set of filter implementations. It is not possible to use the filters from SQLAlchemy models in a non-SQLAlchemy backend. This also means that different backends might have different set of available filters." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:171 +msgid "The filter is a class derived from :class:`~flask_admin.model.filters.BaseFilter` which implements at least two methods:" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:173 +msgid ":meth:`~flask_admin.model.filters.BaseFilter.apply`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:174 +msgid ":meth:`~flask_admin.model.filters.BaseFilter.operation`" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:176 +msgid "`apply` method accepts two parameters: `query` object and a value from the client. Here you can add filtering logic for the filter type." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:179 +msgid "Lets take SQLAlchemy model backend as an example:" +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:181 +msgid "All SQLAlchemy filters derive from :class:`~flask_admin.contrib.sqla.filters.BaseSQLAFilter` class." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:183 +msgid "Each filter implements one simple filter SQL operation (like, not like, greater, etc) and accepts a column as input parameter." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:186 +msgid "Whenever model view wants to apply a filter to a query object, it will call `apply` method in a filter class with a query and value. Filter will then apply real filter operation." +msgstr "" + +#: ../../doc/adding_a_new_model_backend.rst:217 +msgid "Feel free ask questions if you have problems adding a new model backend. Also, if you get stuck, try taking a look at the SQLAlchemy model backend and use it as a reference." +msgstr "" diff --git a/babel/admin.pot b/babel/admin.pot index 0233536bb..b58d0dda5 100644 --- a/babel/admin.pot +++ b/babel/admin.pot @@ -1,276 +1,268 @@ # Translations template for Flask-Admin. -# Copyright (C) 2017 ORGANIZATION +# Copyright (C) 2024 ORGANIZATION # This file is distributed under the same license as the Flask-Admin # project. -# FIRST AUTHOR , 2017. +# FIRST AUTHOR , 2024. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Flask-Admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2017-02-07 00:19-0600\n" +"POT-Creation-Date: 2024-09-22 16:17+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.1.1\n" +"Generated-By: Babel 2.16.0\n" -#: ../flask_admin/base.py:440 +#: ../flask_admin/base.py:458 msgid "Home" msgstr "" -#: ../flask_admin/contrib/rediscli.py:127 +#: ../flask_admin/contrib/rediscli.py:113 msgid "Cli: Invalid command." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:352 +#: ../flask_admin/contrib/fileadmin/__init__.py:376 msgid "File to upload" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:360 +#: ../flask_admin/contrib/fileadmin/__init__.py:384 msgid "File required." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:365 +#: ../flask_admin/contrib/fileadmin/__init__.py:389 msgid "Invalid file type." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:376 +#: ../flask_admin/contrib/fileadmin/__init__.py:400 msgid "Content" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:390 +#: ../flask_admin/contrib/fileadmin/__init__.py:414 msgid "Invalid name" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:398 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:106 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:112 -#: ../flask_admin/tests/sqla/test_translation.py:17 +#: ../flask_admin/contrib/fileadmin/__init__.py:422 +#: ../flask_admin/tests/sqla/test_translation.py:21 msgid "Name" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:757 +#: ../flask_admin/contrib/fileadmin/__init__.py:784 #, python-format msgid "File \"%(name)s\" already exists." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:802 -#: ../flask_admin/contrib/fileadmin/__init__.py:885 -#: ../flask_admin/contrib/fileadmin/__init__.py:947 -#: ../flask_admin/contrib/fileadmin/__init__.py:1000 -#: ../flask_admin/contrib/fileadmin/__init__.py:1047 -#: ../flask_admin/contrib/fileadmin/__init__.py:1099 -#: ../flask_admin/model/base.py:2168 +#: ../flask_admin/contrib/fileadmin/__init__.py:829 +#: ../flask_admin/contrib/fileadmin/__init__.py:926 +#: ../flask_admin/contrib/fileadmin/__init__.py:988 +#: ../flask_admin/contrib/fileadmin/__init__.py:1041 +#: ../flask_admin/contrib/fileadmin/__init__.py:1088 +#: ../flask_admin/contrib/fileadmin/__init__.py:1140 +#: ../flask_admin/model/base.py:2376 msgid "Permission denied." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:881 +#: ../flask_admin/contrib/fileadmin/__init__.py:922 msgid "File uploading is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:892 +#: ../flask_admin/contrib/fileadmin/__init__.py:933 #, python-format msgid "Successfully saved file: %(name)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:896 +#: ../flask_admin/contrib/fileadmin/__init__.py:937 #, python-format msgid "Failed to save file: %(error)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:904 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:148 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:150 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:148 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:150 +#: ../flask_admin/contrib/fileadmin/__init__.py:945 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:150 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:152 msgid "Upload File" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:943 +#: ../flask_admin/contrib/fileadmin/__init__.py:984 msgid "Directory creation is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:956 +#: ../flask_admin/contrib/fileadmin/__init__.py:997 #, python-format msgid "Successfully created directory: %(directory)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:960 +#: ../flask_admin/contrib/fileadmin/__init__.py:1001 #, python-format msgid "Failed to create directory: %(error)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:970 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:159 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:161 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:159 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:161 +#: ../flask_admin/contrib/fileadmin/__init__.py:1011 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:161 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:163 msgid "Create Directory" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:996 +#: ../flask_admin/contrib/fileadmin/__init__.py:1037 msgid "Deletion is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1005 +#: ../flask_admin/contrib/fileadmin/__init__.py:1046 msgid "Directory deletion is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1011 +#: ../flask_admin/contrib/fileadmin/__init__.py:1052 #, python-format msgid "Directory \"%(path)s\" was successfully deleted." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1013 +#: ../flask_admin/contrib/fileadmin/__init__.py:1054 #, python-format msgid "Failed to delete directory: %(error)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1019 -#: ../flask_admin/contrib/fileadmin/__init__.py:1176 +#: ../flask_admin/contrib/fileadmin/__init__.py:1060 +#: ../flask_admin/contrib/fileadmin/__init__.py:1215 #, python-format msgid "File \"%(name)s\" was successfully deleted." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1021 -#: ../flask_admin/contrib/fileadmin/__init__.py:1178 +#: ../flask_admin/contrib/fileadmin/__init__.py:1062 +#: ../flask_admin/contrib/fileadmin/__init__.py:1217 #, python-format msgid "Failed to delete file: %(name)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1043 +#: ../flask_admin/contrib/fileadmin/__init__.py:1084 msgid "Renaming is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1051 +#: ../flask_admin/contrib/fileadmin/__init__.py:1092 msgid "Path does not exist." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1061 +#: ../flask_admin/contrib/fileadmin/__init__.py:1102 #, python-format msgid "Successfully renamed \"%(src)s\" to \"%(dst)s\"" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1064 +#: ../flask_admin/contrib/fileadmin/__init__.py:1105 #, python-format msgid "Failed to rename: %(error)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1078 +#: ../flask_admin/contrib/fileadmin/__init__.py:1119 #, python-format msgid "Rename %(name)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1115 +#: ../flask_admin/contrib/fileadmin/__init__.py:1155 #, python-format msgid "Error saving changes to %(name)s." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1119 +#: ../flask_admin/contrib/fileadmin/__init__.py:1159 #, python-format msgid "Changes to %(name)s saved successfully." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1128 +#: ../flask_admin/contrib/fileadmin/__init__.py:1167 #, python-format msgid "Error reading %(name)s." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1131 -#: ../flask_admin/contrib/fileadmin/__init__.py:1140 +#: ../flask_admin/contrib/fileadmin/__init__.py:1170 +#: ../flask_admin/contrib/fileadmin/__init__.py:1179 #, python-format msgid "Unexpected error while reading from %(name)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1137 +#: ../flask_admin/contrib/fileadmin/__init__.py:1176 #, python-format msgid "Cannot edit %(name)s." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1155 +#: ../flask_admin/contrib/fileadmin/__init__.py:1194 #, python-format msgid "Editing %(path)s" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1163 -#: ../flask_admin/contrib/peewee/view.py:487 -#: ../flask_admin/contrib/pymongo/view.py:384 -#: ../flask_admin/contrib/sqla/view.py:1149 +#: ../flask_admin/contrib/fileadmin/__init__.py:1202 +#: ../flask_admin/contrib/peewee/view.py:510 +#: ../flask_admin/contrib/pymongo/view.py:385 +#: ../flask_admin/contrib/sqla/view.py:1241 msgid "Delete" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1164 +#: ../flask_admin/contrib/fileadmin/__init__.py:1203 msgid "Are you sure you want to delete these files?" msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1167 +#: ../flask_admin/contrib/fileadmin/__init__.py:1206 msgid "File deletion is disabled." msgstr "" -#: ../flask_admin/contrib/fileadmin/__init__.py:1180 -#: ../flask_admin/templates/bootstrap2/admin/model/details.html:17 -#: ../flask_admin/templates/bootstrap2/admin/model/edit.html:22 -#: ../flask_admin/templates/bootstrap3/admin/model/details.html:17 -#: ../flask_admin/templates/bootstrap3/admin/model/edit.html:22 +#: ../flask_admin/contrib/fileadmin/__init__.py:1219 +#: ../flask_admin/templates/bootstrap4/admin/model/details.html:17 +#: ../flask_admin/templates/bootstrap4/admin/model/edit.html:22 msgid "Edit" msgstr "" -#: ../flask_admin/contrib/fileadmin/s3.py:153 +#: ../flask_admin/contrib/fileadmin/s3.py:162 msgid "Cannot operate on non empty directories" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:35 #: ../flask_admin/contrib/pymongo/filters.py:38 -#: ../flask_admin/contrib/sqla/filters.py:41 +#: ../flask_admin/contrib/sqla/filters.py:42 msgid "equals" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:43 #: ../flask_admin/contrib/pymongo/filters.py:47 -#: ../flask_admin/contrib/sqla/filters.py:49 +#: ../flask_admin/contrib/sqla/filters.py:50 msgid "not equal" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:52 #: ../flask_admin/contrib/pymongo/filters.py:57 -#: ../flask_admin/contrib/sqla/filters.py:58 +#: ../flask_admin/contrib/sqla/filters.py:59 msgid "contains" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:61 #: ../flask_admin/contrib/pymongo/filters.py:67 -#: ../flask_admin/contrib/sqla/filters.py:67 +#: ../flask_admin/contrib/sqla/filters.py:68 msgid "not contains" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:69 #: ../flask_admin/contrib/pymongo/filters.py:80 -#: ../flask_admin/contrib/sqla/filters.py:75 +#: ../flask_admin/contrib/sqla/filters.py:76 msgid "greater than" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:77 #: ../flask_admin/contrib/pymongo/filters.py:93 -#: ../flask_admin/contrib/sqla/filters.py:83 +#: ../flask_admin/contrib/sqla/filters.py:84 msgid "smaller than" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:88 -#: ../flask_admin/contrib/sqla/filters.py:94 +#: ../flask_admin/contrib/sqla/filters.py:95 msgid "empty" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:102 -#: ../flask_admin/contrib/sqla/filters.py:108 +#: ../flask_admin/contrib/sqla/filters.py:109 msgid "in list" msgstr "" #: ../flask_admin/contrib/peewee/filters.py:111 -#: ../flask_admin/contrib/sqla/filters.py:118 +#: ../flask_admin/contrib/sqla/filters.py:119 msgid "not in list" msgstr "" @@ -283,84 +275,85 @@ msgstr "" msgid "not between" msgstr "" -msgid "ObjectId equals" -msgstr "" - -#, python-format -msgid "Failed to get model. %(error)s" -msgstr "" - -#: ../flask_admin/contrib/peewee/view.py:435 -#: ../flask_admin/contrib/pymongo/view.py:316 -#: ../flask_admin/contrib/sqla/view.py:1078 +#: ../flask_admin/contrib/peewee/view.py:458 +#: ../flask_admin/contrib/pymongo/view.py:317 +#: ../flask_admin/contrib/sqla/view.py:1170 #, python-format msgid "Failed to create record. %(error)s" msgstr "" -#: ../flask_admin/contrib/peewee/view.py:454 -#: ../flask_admin/contrib/pymongo/view.py:341 -#: ../flask_admin/contrib/sqla/view.py:1104 ../flask_admin/model/base.py:2305 -#: ../flask_admin/model/base.py:2313 ../flask_admin/model/base.py:2315 +#: ../flask_admin/contrib/peewee/view.py:477 +#: ../flask_admin/contrib/pymongo/view.py:342 +#: ../flask_admin/contrib/sqla/view.py:1196 ../flask_admin/model/base.py:2515 +#: ../flask_admin/model/base.py:2523 ../flask_admin/model/base.py:2525 #, python-format msgid "Failed to update record. %(error)s" msgstr "" -#: ../flask_admin/contrib/peewee/view.py:469 -#: ../flask_admin/contrib/pymongo/view.py:366 -#: ../flask_admin/contrib/sqla/view.py:1129 +#: ../flask_admin/contrib/peewee/view.py:492 +#: ../flask_admin/contrib/pymongo/view.py:367 +#: ../flask_admin/contrib/sqla/view.py:1221 #, python-format msgid "Failed to delete record. %(error)s" msgstr "" -#: ../flask_admin/contrib/peewee/view.py:488 -#: ../flask_admin/contrib/pymongo/view.py:385 -#: ../flask_admin/contrib/sqla/view.py:1150 +#: ../flask_admin/contrib/peewee/view.py:511 +#: ../flask_admin/contrib/pymongo/view.py:386 +#: ../flask_admin/contrib/sqla/view.py:1242 msgid "Are you sure you want to delete selected records?" msgstr "" -#: ../flask_admin/contrib/peewee/view.py:505 -#: ../flask_admin/contrib/pymongo/view.py:395 -#: ../flask_admin/contrib/sqla/view.py:1166 ../flask_admin/model/base.py:2118 +#: ../flask_admin/contrib/peewee/view.py:528 +#: ../flask_admin/contrib/pymongo/view.py:396 +#: ../flask_admin/contrib/sqla/view.py:1258 ../flask_admin/model/base.py:2324 #, python-format msgid "Record was successfully deleted." msgid_plural "%(count)s records were successfully deleted." msgstr[0] "" msgstr[1] "" -#: ../flask_admin/contrib/peewee/view.py:511 -#: ../flask_admin/contrib/pymongo/view.py:400 -#: ../flask_admin/contrib/sqla/view.py:1174 +#: ../flask_admin/contrib/peewee/view.py:534 +#: ../flask_admin/contrib/pymongo/view.py:401 +#: ../flask_admin/contrib/sqla/view.py:1266 #, python-format msgid "Failed to delete records. %(error)s" msgstr "" -#: ../flask_admin/contrib/sqla/fields.py:126 -#: ../flask_admin/contrib/sqla/fields.py:176 -#: ../flask_admin/contrib/sqla/fields.py:181 ../flask_admin/model/fields.py:173 -#: ../flask_admin/model/fields.py:222 +#: ../flask_admin/contrib/sqla/fields.py:117 +#: ../flask_admin/contrib/sqla/fields.py:167 +#: ../flask_admin/contrib/sqla/fields.py:172 ../flask_admin/model/fields.py:174 +#: ../flask_admin/model/fields.py:223 msgid "Not a valid choice" msgstr "" -#: ../flask_admin/contrib/sqla/fields.py:186 +#: ../flask_admin/contrib/sqla/fields.py:201 msgid "Key" msgstr "" -#: ../flask_admin/contrib/sqla/fields.py:187 +#: ../flask_admin/contrib/sqla/fields.py:202 msgid "Value" msgstr "" -#: ../flask_admin/contrib/sqla/validators.py:42 +#: ../flask_admin/contrib/sqla/validators.py:28 msgid "Already exists." msgstr "" -#: ../flask_admin/contrib/sqla/validators.py:60 +#: ../flask_admin/contrib/sqla/validators.py:59 #, python-format msgid "At least %(num)d item is required" msgid_plural "At least %(num)d items are required" msgstr[0] "" msgstr[1] "" -#: ../flask_admin/contrib/sqla/view.py:1057 +#: ../flask_admin/contrib/sqla/validators.py:75 +msgid "Not a valid ISO currency code (e.g. USD, EUR, CNY)." +msgstr "" + +#: ../flask_admin/contrib/sqla/validators.py:83 +msgid "Not a valid color (e.g. \"red\", \"#f00\", \"#ff0000\")." +msgstr "" + +#: ../flask_admin/contrib/sqla/view.py:1134 #, python-format msgid "Integrity error. %(message)s" msgstr "" @@ -369,274 +362,237 @@ msgstr "" msgid "Invalid time format" msgstr "" -#: ../flask_admin/form/fields.py:144 +#: ../flask_admin/form/fields.py:147 msgid "Invalid Choice: could not coerce" msgstr "" -#: ../flask_admin/form/fields.py:208 +#: ../flask_admin/form/fields.py:221 msgid "Invalid JSON" msgstr "" -#: ../flask_admin/form/upload.py:207 +#: ../flask_admin/form/upload.py:216 msgid "Invalid file extension" msgstr "" -#: ../flask_admin/form/upload.py:214 ../flask_admin/form/upload.py:281 +#: ../flask_admin/form/upload.py:223 ../flask_admin/form/upload.py:293 #, python-format msgid "File \"%s\" already exists." msgstr "" -#: ../flask_admin/model/base.py:1649 +#: ../flask_admin/form/validators.py:16 +msgid "This field requires at least one item." +msgstr "" + +#: ../flask_admin/model/base.py:1766 msgid "There are no items in the table." msgstr "" -#: ../flask_admin/model/base.py:1673 +#: ../flask_admin/model/base.py:1775 #, python-format msgid "Invalid Filter Value: %(value)s" msgstr "" -#: ../flask_admin/model/base.py:1984 +#: ../flask_admin/model/base.py:2177 msgid "Record was successfully created." msgstr "" -#: ../flask_admin/model/base.py:2028 ../flask_admin/model/base.py:2080 -#: ../flask_admin/model/base.py:2113 ../flask_admin/model/base.py:2297 +#: ../flask_admin/model/base.py:2229 ../flask_admin/model/base.py:2284 +#: ../flask_admin/model/base.py:2317 ../flask_admin/model/base.py:2507 msgid "Record does not exist." msgstr "" -#: ../flask_admin/model/base.py:2037 ../flask_admin/model/base.py:2301 +#: ../flask_admin/model/base.py:2238 ../flask_admin/model/base.py:2511 msgid "Record was successfully saved." msgstr "" -#: ../flask_admin/model/base.py:2222 -msgid "Tablib dependency not installed." -msgstr "" - -#: ../flask_admin/model/base.py:2249 +#: ../flask_admin/model/base.py:2459 #, python-format msgid "Export type \"%(type)s not supported." msgstr "" -#: ../flask_admin/model/filters.py:103 ../flask_admin/model/widgets.py:111 +#: ../flask_admin/model/filters.py:104 ../flask_admin/model/widgets.py:119 msgid "Yes" msgstr "" -#: ../flask_admin/model/filters.py:104 ../flask_admin/model/widgets.py:110 +#: ../flask_admin/model/filters.py:105 ../flask_admin/model/widgets.py:118 msgid "No" msgstr "" -#: ../flask_admin/model/filters.py:172 ../flask_admin/model/filters.py:212 -#: ../flask_admin/model/filters.py:257 +#: ../flask_admin/model/filters.py:173 ../flask_admin/model/filters.py:213 +#: ../flask_admin/model/filters.py:258 msgid "between" msgstr "" -#: ../flask_admin/model/template.py:81 ../flask_admin/model/template.py:88 -#: ../flask_admin/templates/bootstrap2/admin/model/modals/details.html:37 -#: ../flask_admin/templates/bootstrap3/admin/model/modals/details.html:8 +#: ../flask_admin/model/template.py:83 ../flask_admin/model/template.py:90 +#: ../flask_admin/templates/bootstrap4/admin/model/modals/details.html:7 msgid "View Record" msgstr "" -#: ../flask_admin/model/template.py:95 ../flask_admin/model/template.py:102 -#: ../flask_admin/model/template.py:109 -#: ../flask_admin/templates/bootstrap2/admin/model/modals/edit.html:22 -#: ../flask_admin/templates/bootstrap3/admin/model/modals/edit.html:11 +#: ../flask_admin/model/template.py:97 ../flask_admin/model/template.py:104 +#: ../flask_admin/templates/bootstrap4/admin/model/modals/edit.html:10 msgid "Edit Record" msgstr "" -#: ../flask_admin/model/widgets.py:61 +#: ../flask_admin/model/template.py:111 +msgid "Delete Record" +msgstr "" + +#: ../flask_admin/model/widgets.py:62 msgid "Please select model" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/actions.html:4 -#: ../flask_admin/templates/bootstrap3/admin/actions.html:4 +#: ../flask_admin/templates/bootstrap4/admin/actions.html:5 msgid "With selected" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/lib.html:200 -#: ../flask_admin/templates/bootstrap3/admin/lib.html:190 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:216 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:227 msgid "Save" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/lib.html:205 -#: ../flask_admin/templates/bootstrap3/admin/lib.html:195 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:221 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:232 msgid "Cancel" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/lib.html:256 -#: ../flask_admin/templates/bootstrap3/admin/lib.html:247 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:290 msgid "Save and Add Another" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/lib.html:259 -#: ../flask_admin/templates/bootstrap3/admin/lib.html:250 +#: ../flask_admin/templates/bootstrap4/admin/lib.html:293 +msgid "Save and Add Another (Freeze Fields)" +msgstr "" + +#: ../flask_admin/templates/bootstrap4/admin/lib.html:296 msgid "Save and Continue Editing" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:9 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:9 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:10 msgid "Root" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:40 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:49 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:90 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:99 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:40 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:49 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:89 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:98 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:42 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:51 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:89 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:98 #, python-format msgid "Sort by %(name)s" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:74 -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:77 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:74 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:77 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:76 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:79 msgid "Rename File" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:88 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:88 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:90 #, python-format msgid "Are you sure you want to delete \\'%(name)s\\' recursively?" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:97 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:97 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:99 #, python-format msgid "Are you sure you want to delete \\'%(name)s\\'?" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:125 -msgid "Size" -msgstr "" - -#: ../flask_admin/templates/bootstrap2/admin/file/list.html:185 -#: ../flask_admin/templates/bootstrap3/admin/file/list.html:185 +#: ../flask_admin/templates/bootstrap4/admin/file/list.html:187 msgid "Please select at least one file." msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/create.html:14 -#: ../flask_admin/templates/bootstrap2/admin/model/details.html:8 -#: ../flask_admin/templates/bootstrap2/admin/model/edit.html:14 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:17 -#: ../flask_admin/templates/bootstrap3/admin/model/create.html:14 -#: ../flask_admin/templates/bootstrap3/admin/model/details.html:8 -#: ../flask_admin/templates/bootstrap3/admin/model/edit.html:14 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:17 +#: ../flask_admin/templates/bootstrap4/admin/model/create.html:14 +#: ../flask_admin/templates/bootstrap4/admin/model/details.html:8 +#: ../flask_admin/templates/bootstrap4/admin/model/edit.html:14 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:17 msgid "List" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/create.html:17 -#: ../flask_admin/templates/bootstrap2/admin/model/details.html:12 -#: ../flask_admin/templates/bootstrap2/admin/model/edit.html:18 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:23 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:25 -#: ../flask_admin/templates/bootstrap3/admin/model/create.html:17 -#: ../flask_admin/templates/bootstrap3/admin/model/details.html:12 -#: ../flask_admin/templates/bootstrap3/admin/model/edit.html:18 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:23 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:25 +#: ../flask_admin/templates/bootstrap4/admin/model/create.html:17 +#: ../flask_admin/templates/bootstrap4/admin/model/details.html:12 +#: ../flask_admin/templates/bootstrap4/admin/model/edit.html:18 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:23 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:25 msgid "Create" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/details.html:21 -#: ../flask_admin/templates/bootstrap2/admin/model/edit.html:26 -#: ../flask_admin/templates/bootstrap3/admin/model/details.html:21 -#: ../flask_admin/templates/bootstrap3/admin/model/edit.html:26 +#: ../flask_admin/templates/bootstrap4/admin/model/details.html:21 +#: ../flask_admin/templates/bootstrap4/admin/model/edit.html:26 msgid "Details" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/details.html:29 -#: ../flask_admin/templates/bootstrap2/admin/model/modals/details.html:8 -#: ../flask_admin/templates/bootstrap3/admin/model/details.html:28 -#: ../flask_admin/templates/bootstrap3/admin/model/modals/details.html:15 +#: ../flask_admin/templates/bootstrap4/admin/model/details.html:28 +#: ../flask_admin/templates/bootstrap4/admin/model/modals/details.html:15 msgid "Filter" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/inline_list_base.html:13 -#: ../flask_admin/templates/bootstrap3/admin/model/inline_list_base.html:14 +#: ../flask_admin/templates/bootstrap4/admin/model/inline_list_base.html:14 msgid "Delete?" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/inline_list_base.html:30 -#: ../flask_admin/templates/bootstrap3/admin/model/inline_list_base.html:33 +#: ../flask_admin/templates/bootstrap4/admin/model/inline_list_base.html:16 +#: ../flask_admin/templates/bootstrap4/admin/model/inline_list_base.html:35 +#: ../flask_admin/templates/bootstrap4/admin/model/row_actions.html:34 +msgid "Are you sure you want to delete this record?" +msgstr "" + +#: ../flask_admin/templates/bootstrap4/admin/model/inline_list_base.html:33 msgid "New" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/inline_list_base.html:40 -#: ../flask_admin/templates/bootstrap3/admin/model/inline_list_base.html:43 +#: ../flask_admin/templates/bootstrap4/admin/model/inline_list_base.html:43 msgid "Add" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:3 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:3 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:2 msgid "Add Filter" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:18 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:23 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:30 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:18 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:23 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:30 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:14 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:19 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:26 msgid "Export" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:38 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:38 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:49 msgid "Apply" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:40 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:40 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:51 msgid "Reset Filters" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:59 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:66 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:59 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:64 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:80 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:93 +#, python-format +msgid "%(placeholder)s" +msgstr "" + +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:88 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:94 msgid "Search" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:74 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:77 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:78 -#: ../flask_admin/templates/bootstrap2/admin/model/layout.html:79 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:72 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:75 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:76 -#: ../flask_admin/templates/bootstrap3/admin/model/layout.html:77 +#: ../flask_admin/templates/bootstrap4/admin/model/layout.html:102 msgid "items" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:23 -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:25 -#: ../flask_admin/templates/bootstrap2/admin/model/modals/create.html:22 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:23 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:25 -#: ../flask_admin/templates/bootstrap3/admin/model/modals/create.html:10 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:23 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:25 +#: ../flask_admin/templates/bootstrap4/admin/model/modals/create.html:10 msgid "Create New Record" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:77 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:76 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:76 msgid "Select all records" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:120 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:119 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:119 msgid "Select record" msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/list.html:185 -#: ../flask_admin/templates/bootstrap3/admin/model/list.html:186 +#: ../flask_admin/templates/bootstrap4/admin/model/list.html:195 msgid "Please select at least one record." msgstr "" -#: ../flask_admin/templates/bootstrap2/admin/model/row_actions.html:34 -#: ../flask_admin/templates/bootstrap3/admin/model/row_actions.html:34 -msgid "Are you sure you want to delete this record?" +#: ../flask_admin/templates/bootstrap4/admin/model/row_actions.html:34 +msgid "Delete record" msgstr "" + diff --git a/babel/advanced.pot b/babel/advanced.pot new file mode 100644 index 000000000..0b759e70b --- /dev/null +++ b/babel/advanced.pot @@ -0,0 +1,725 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2012-2024, Flask-Admin Team +# This file is distributed under the same license as the flask-admin package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: flask-admin 2.0.0a0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-22 16:17+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../../doc/advanced.rst:4 +msgid "Advanced Functionality" +msgstr "" + +#: ../../doc/advanced.rst:7 +msgid "Enabling CSRF Protection" +msgstr "" + +#: ../../doc/advanced.rst:9 +msgid "To add CSRF protection to the forms that are generated by *ModelView* instances, use the SecureForm class in your *ModelView* subclass by specifying the *form_base_class* parameter::" +msgstr "" + +#: ../../doc/advanced.rst:18 +msgid "SecureForm requires WTForms 2 or greater. It uses the WTForms SessionCSRF class to generate and validate the tokens for you when the forms are submitted." +msgstr "" + +#: ../../doc/advanced.rst:22 +msgid "CSP support" +msgstr "" + +#: ../../doc/advanced.rst:24 +msgid "To support `CSP `_ in Flask-Admin, you can pass a `csp_nonce_generator` function through to Flask-Admin on initialisation. This function should return a CSP nonce that will be attached to all `