[Post] localization of devexpress component xtraeditor (localization in Chinese)

Source: Internet
Author: User

Chinese version of xtraeditors,
VB. NET
Imports devexpress. xtraeditors. Controls. localizer
Imports devexpress. xtraeditors. viewinfo
Imports devexpress. xtraeditors. Controls
Public class xtraimagesedit_cn
Inherits devexpress. xtraeditors. Controls. localizer
Public overrides readonly property language () as string
Get
Return "simplified Chinese"
End get
End Property

Public overrides getlocalizedstring (byval ID as devexpress. xtraeditors. Controls. stringid) as string
Select case ID
Case stringid. None
Return ""
Case stringid. capti
Return "error"
Case stringid. invalidtext
Return "invalid value"
Case stringid. checkchecked
Return "selected"
Case stringid. checkunchecked
Return "not selected"
Case stringid. checkindeterminate
Return "Indeterminate"
Case stringid. dateedittoday
Return "today"
Case stringid. dateeditclear
Return "clear"
Case stringid. OK
Return "& OK"
Case stringid. Cancel
Return "& cancel"
Case stringid. navigatorfirstbuttonhint
Return "first"
Case stringid. navigatorpreviusbuttonhint
Return "previous"
Case stringid. navigatorpreviouspagebuttonhint
Return "previous"
Case stringid. navigatornextbuttonhint
Return "Next"
Case stringid. navigatornextpagebuttonhint
Return "next page"
Case stringid. navigatorlastbuttonhint
Return "last"
Case stringid. navigatorappendbuttonhint
Return "add"
Case stringid. navigatorremovebuttonhint
Return "delete"
Case stringid. navigatoreditbuttonhint
Return "edit"
Case stringid. navigatorendeditbuttonhint
Return "end edit"
Case stringid. navigatorcanceleditbuttonhint
Return "interrupted editing"
Case stringid. navigatortextstringformat
Return "records {0} to {1 }"

Case devexpress. xtraeditors. Controls. stringid. pictureeditmenucopy
Return "copy"
Case devexpress. xtraeditors. Controls. stringid. pictureeditmenucut
Return "cut"
Case devexpress. xtraeditors. Controls. stringid. pictureeditmenudelete
Return "delete"
Case devexpress. xtraeditors. Controls. stringid. pictureeditmenuload
Return "open"
Case devexpress. xtraeditors. Controls. stringid. pictureeditmenupaste
Return "Paste"
Case devexpress. xtraeditors. Controls. stringid. pictureeditmenusave
Return "save"
Case devexpress. xtraeditors. Controls. stringid. pictureeditopenfileerror
Return "Open error! "
Case devexpress. xtraeditors. Controls. stringid. pictureeditopenfileerrorcaption
Return "Open error! "
Case devexpress. xtraeditors. Controls. stringid. pictureeditopenfilefilter
Return "graphic file (*. jpg) | *. jpg | all graphic files (*. *) | *.*"
Case devexpress. xtraeditors. Controls. stringid. pictureeditopenfiletitle
Return ""
Case devexpress. xtraeditors. Controls. stringid. pictureeditsavefilefilter
Return "PNG file (*. PNG) | *. PNG | GIF file (*. GIF) | *. gif | JPEG file (*. jpg) | *. jpg"
Case devexpress. xtraeditors. Controls. stringid. pictureeditsavefiletitle
Return ""
Case devexpress. xtraeditors. Controls. stringid. OK
Return "OK"
Case devexpress. xtraeditors. Controls. stringid. Cancel
Return "cancel"
Case devexpress. xtraeditors. Controls. stringid. xtramessageboxokbuttontext
Return "OK"
Case devexpress. xtraeditors. Controls. stringid. xtramessageboxcancelbuttontext
Return "cancel"
Case devexpress. xtraeditors. Controls. stringid. xtramessageboxnobuttontext
Return "no"
Case devexpress. xtraeditors. Controls. stringid. texteditmenucopy
Return "copy"
Case devexpress. xtraeditors. Controls. stringid. texteditmenucut
Return "cut"
Case devexpress. xtraeditors. Controls. stringid. texteditmenudelete
Return "delete"
Case devexpress. xtraeditors. Controls. stringid. texteditmenupaste
Return "Paste"
Case devexpress. xtraeditors. Controls. stringid. texteditmenuselectall
Return "select all"
Case devexpress. xtraeditors. Controls. stringid. texteditmenuundo
Return "cancel"
Case stringid. lookupeditisnull
Return "[no data]"
Case stringid. lookupinvalidedittype
Return "invalid data type ."
Case stringid. maskboxvalidateerror
Return "The entered is incomplete. Do you want to correct it? "& Microsoft. visualBasic. CHR (13) & "" & Microsoft. visualBasic. CHR (10) & "" & Microsoft. visualBasic. CHR (13) & "" & Microsoft. visualBasic. CHR (10) & "yes-Return to the editor and correct. "& Microsoft. visualBasic. CHR (13) & "" & Microsoft. visualBasic. CHR (10) & "no-Leave the as is. "& Microsoft. visualBasic. CHR (13) & "" & Microsoft. visualBasic. CHR (10) & "cancel-reset to the previous. "& Microsoft. visualBasic. CHR (13) & "" & Microsoft. visualBasic. CHR (10 )&""
Case stringid. unknownpictureformat
Return "unknown image format !! "
Case stringid. dataempty
Return "no image"
Case stringid. notvalidarraylength
Return "not valid array length ."
Case stringid. imagepopupempty
Return "(null )"
Case stringid. imagepopuppicture
Return "(image )"
Case stringid. colortabcustom
Return "Custom"
Case stringid. colortabweb
Return "Web"
Case stringid. colortabsystem
Return "system"
Case stringid. calcbuttonmc
Return "MC"
Case stringid. calcbuttonmr
Return "Mr"
Case stringid. calcbuttonms
Return "Ms"
Case stringid. calcbuttonmx
Return "m +"
Case stringid. calcbuttonsqrt
Return "SQRT"
Case stringid. calcbuttonback
Return "back"
Case stringid. calcbuttonce
Return "CE"
Case stringid. calcbuttonc
Return "C"
Case stringid. calcerror
Return "calculation error"
End select

Return ""
End

End Class

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.