+
    lHàjº  ã                  óÌ   € R t ^ RIHt ^RIHtHt ]! 4       t]P                  t]P                  t	Rt
]! R4      ]	R R l4       4       t]! R4      ]	R R	 l4       4       tR
 R ltR# )u'  Pluggable-language JSON-RPC handlers: ``i18n.languages`` and ``i18n.catalog``.

Both are profile-scoped: the user overlay dir (``<home>/locales``) and ``display.language`` belong
to the profile the client is looking at. Plugin packs are process-wide (one PluginManager per home
registers them under the same registry), so a pack installed in profile A is visible to every
profile â€” a language switcher lists it everywhere, exactly like a bundled locale.

Bodies are rebound onto server.py's globals (method_ctx.bind_module) and reference them bare.
)Úannotations)ÚHandlerRegistryÚbind_modulei  zi18n.languagesc               ó    € V ^8„  d   QhRRRR/# ©é   ÚparamsÚdictÚreturn© )Úformats   "Ú=/home/ubuntu/.hermes/hermes-agent/tui_gateway/methods_i18n.pyÚ__annotate__r      s   € ÷ ,ñ ,�4ð ,˜Dñ ,ó    c                óš   € ^ RI Hp  \        V RV! 4       /4      #   \         d%   p\	        T \
        \        T4      4      u Rp?# Rp?ii ; i)é    )Úlanguage_optionsÚ	languagesN)Ú
agent.i18nr   Ú_okÚ	ExceptionÚ_errÚ	_I18N_ERRÚstr)Úridr   r   Úes   &&  r   Ú_r      sE   € õ ,ð,Ü�3˜Ñ&6Ó&8Ð9Ó:Ð:øÜô ,Ü�Cœ¤C¨£FÓ+Õ+ûð,ús   ˆ ›A
¦A¿A
ÁA
zi18n.catalogc               ó    € V ^8„  d   QhRRRR/# r   r   )r   s   "r   r   r   "   s   € ÷ 
,ñ 
,�4ð 
,˜Dñ 
,r   c                óŽ  € ^ RI HpHp ^ RIHpHp \        VP                  R4      ;'       g    T4      pWe9  d    \        V RRRP                  V4       24      # V! VP                  RR4      4      ;'       g    R	p \        V RVRVR
V! Wv4      /4      #   \         d%   p\        T \        \        T4      4      u Rp?# Rp?ii ; i)r   )Úresolve_language_idÚsurface_catalog)ÚCORE_SURFACEÚSURFACESÚsurfacei¢  zsurface must be one of z, ÚlangÚ ÚenÚmessagesN)r   r   r    Úagent.i18n_layersr!   r"   r   Úgetr   Újoinr   r   r   )	r   r   r   r    r!   r"   r#   r$   r   s	   &&       r   r   r       s²   € ÷ @ß8Ü�&—*‘*˜YÓ'×7Ð7¨<Ó8€GØÔÜ�C˜Ð!8¸¿¹À8Ó9LÐ8MÐNÓOÐOÙ˜vŸz™z¨&°"Ó5Ó6×>Ð>¸$€Dð,Ü�3˜  y°'¸:ÁÐW[ÓGeÐfÓgÐgøÜô ,Ü�Cœ¤C¨£FÓ+Õ+ûð,ús   Á=B ÂCÂ B?Â9CÂ?Cc               ó   € V ^8„  d   QhRR/# )r   r
   ÚNoner   )r   s   "r   r   r   /   s   € ÷ 0ñ 0˜ñ 0r   c                ó2   € \        \        4       V RR7       R# )r   )ÚskipN)r   )r   Úglobals)Úservers   &r   Úregisterr1   /   s   € Ü”“	˜6¨×/r   N)Ú__doc__Ú
__future__r   Ú
method_ctxr   r   Ú	_registryÚmethodÚprofile_scopedÚ_profile_scopedr   r   r1   r   r   r   Ú<module>r9      s}   ðñõ #ç 4áÓ€	Ø	×	Ñ	€Ø×*Ñ*€à€	ñ ÐÓØô,ó ó ð,ñ ˆÓØô
,ó ó ð
,÷0r   