e-paypal-payments'), 'contribute' => __('Contribute', 'woocommerce-paypal-payments'), 'reload' => __('Reload', 'woocommerce-paypal-payments'), 'rent' => __('Rent', 'woocommerce-paypal-payments'), 'setup' => __('Setup', 'woocommerce-paypal-payments'), 'support' => __('Support', 'woocommerce-paypal-payments'), 'tip' => __('Tip', 'woocommerce-paypal-payments'), 'top-up' => __('Top up', 'woocommerce-paypal-payments')); } /** * Returns the possible list of button languages. * * @return array */ public static function button_languages(): array { return array('' => __('Browser language', 'woocommerce-paypal-payments'), 'ar-AB' => __('Arabic', 'woocommerce-paypal-payments'), 'ca-ES' => __('Catalan', 'woocommerce-paypal-payments'), 'cs-CZ' => __('Czech', 'woocommerce-paypal-payments'), 'da-DK' => __('Danish', 'woocommerce-paypal-payments'), 'de-DE' => __('German', 'woocommerce-paypal-payments'), 'el-GR' => __('Greek', 'woocommerce-paypal-payments'), 'en-AU' => __('English (Australia)', 'woocommerce-paypal-payments'), 'en-GB' => __('English (United Kingdom)', 'woocommerce-paypal-payments'), 'en-US' => __('English (United States)', 'woocommerce-paypal-payments'), 'es-ES' => __('Spanish (Spain)', 'woocommerce-paypal-payments'), 'es-MX' => __('Spanish (Mexico)', 'woocommerce-paypal-payments'), 'fi-FI' => __('Finnish', 'woocommerce-paypal-payments'), 'fr-CA' => __('French (Canada)', 'woocommerce-paypal-payments'), 'fr-FR' => __('French (France)', 'woocommerce-paypal-payments'), 'he-IL' => __('Hebrew', 'woocommerce-paypal-payments'), 'hi-IN' => __('Hindi', 'woocommerce-paypal-payments'), 'hr-HR' => __('Croatian', 'woocommerce-paypal-payments'), 'hu-HU' => __('Hungarian', 'woocommerce-paypal-payments'), 'id-ID' => __('Indonesian', 'woocommerce-paypal-payments'), 'it-IT' => __('Italian', 'woocommerce-paypal-payments'), 'ja-JP' => __('Japanese', 'woocommerce-paypal-payments'), 'ko-KR' => __('Korean', 'woocommerce-paypal-payments'), 'ms-MY' => __('Malay', 'woocommerce-paypal-payments'), 'nb-NO' => __('Norwegian', 'woocommerce-paypal-payments'), 'nl-NL' => __('Dutch', 'woocommerce-paypal-payments'), 'pl-PL' => __('Polish', 'woocommerce-paypal-payments'), 'pt-BR' => __('Portuguese (Brazil)', 'woocommerce-paypal-payments'), 'pt-PT' => __('Portuguese (Portugal)', 'woocommerce-paypal-payments'), 'ro-RO' => __('Romanian', 'woocommerce-paypal-payments'), 'ru-RU' => __('Russian', 'woocommerce-paypal-payments'), 'sk-SK' => __('Slovak', 'woocommerce-paypal-payments'), 'sv-SE' => __('Swedish', 'woocommerce-paypal-payments'), 'th-TH' => __('Thai', 'woocommerce-paypal-payments'), 'tr-TR' => __('Turkish', 'woocommerce-paypal-payments'), 'uk-UA' => __('Ukrainian', 'woocommerce-paypal-payments'), 'vi-VN' => __('Vietnamese', 'woocommerce-paypal-payments'), 'zh-CN' => __('Chinese (Simplified)', 'woocommerce-paypal-payments'), 'zh-HK' => __('Chinese (Hong Kong)', 'woocommerce-paypal-payments'), 'zh-TW' => __('Chinese (Traditional)', 'woocommerce-paypal-payments')); } /** * Returns the possible list of billing data modes. * * @return array */ public static function billing_data_modes(): array { return array(self::BILLING_DATA_MODE_USE_WC => __('Use WC checkout form data (do not show shipping address fields)', 'woocommerce-paypal-payments'), self::BILLING_DATA_MODE_USE_APPLEPAY => __('Do not use WC checkout form data (request billing and shipping addresses on Apple Pay)', 'woocommerce-paypal-payments')); } }