Change depending on lang.py
This commit is contained in:
parent
cccb1f818e
commit
70434e26c4
@ -39,13 +39,13 @@ class ICIBA(WebService):
|
||||
# return resp
|
||||
|
||||
@ignore_exception
|
||||
@export([u'美式音标', u'American phonetic'])
|
||||
@export([u'美式音标', u'Phonetic symbols (US)'])
|
||||
def fld_phonetic_us(self):
|
||||
seg = self._get_field('baesInfo')
|
||||
return '/' + seg['symbols'][0]['ph_am'] + '/'
|
||||
|
||||
@ignore_exception
|
||||
@export([u'英式音标', u'British phonetic'])
|
||||
@export([u'英式音标', u'Phonetic symbols (UK)'])
|
||||
def fld_phonetic_uk(self):
|
||||
seg = self._get_field('baesInfo')
|
||||
return '/' + seg['symbols'][0]['ph_en'] + '/'
|
||||
|
@ -39,13 +39,13 @@ class ICIBA(WebService):
|
||||
# return resp
|
||||
|
||||
@ignore_exception
|
||||
@export([u'美式音标', u'American phonetic'])
|
||||
@export([u'美式音标', u'Phonetic symbols (US)'])
|
||||
def fld_phonetic_us(self):
|
||||
seg = self._get_field('baesInfo')
|
||||
return '/' + seg['symbols'][0]['ph_am'] + '/'
|
||||
|
||||
@ignore_exception
|
||||
@export([u'英式音标', u'British phonetic'])
|
||||
@export([u'英式音标', u'Phonetic symbols (UK)'])
|
||||
def fld_phonetic_uk(self):
|
||||
seg = self._get_field('baesInfo')
|
||||
return '/' + seg['symbols'][0]['ph_en'] + '/'
|
||||
@ -77,7 +77,7 @@ class ICIBA(WebService):
|
||||
return audio_url
|
||||
|
||||
@ignore_exception
|
||||
@export([u'释义', u'Translation'])
|
||||
@export([u'释义', u'Basic definition'])
|
||||
def fld_definition(self):
|
||||
seg = self._get_field('baesInfo')
|
||||
parts = seg['symbols'][0]['parts']
|
||||
|
Loading…
Reference in New Issue
Block a user