mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(payout_link): add localisation support for payout link's templates (#5552)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -11,6 +11,7 @@ pub mod core;
|
||||
pub mod cors;
|
||||
pub mod db;
|
||||
pub mod env;
|
||||
pub mod locale;
|
||||
pub(crate) mod macros;
|
||||
|
||||
pub mod routes;
|
||||
@ -44,6 +45,9 @@ use crate::{configs::settings, core::errors};
|
||||
#[global_allocator]
|
||||
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
// Import translate fn in root
|
||||
use crate::locale::{_rust_i18n_t, _rust_i18n_try_translate};
|
||||
|
||||
/// Header Constants
|
||||
pub mod headers {
|
||||
pub const ACCEPT: &str = "Accept";
|
||||
|
||||
Reference in New Issue
Block a user