GRAYBYTE WORDPRESS FILE MANAGER5805

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/vim/vim80/tutor/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/vim/vim80/tutor//tutor.vim
" Vim tutor support file
" Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
" Maintainer: Bram Moolenaar
" Last Change:	2018 Apr 11

" This Vim script is used for detecting if a translation of the
" tutor file exist, i.e., a tutor.xx file, where xx is the language.
" If the translation does not exist, or no extension is given,
" it defaults to the English version.

" It is invoked by the vimtutor shell script.

" 1. Build the extension of the file, if any:
let s:ext = ""
if strlen($xx) > 1
  let s:ext = "." . $xx
else
  let s:lang = ""
  " Check that a potential value has at least two letters.
  " Ignore "1043" and "C".
  if exists("v:lang") && v:lang =~ '\a\a'
    let s:lang = v:lang
  elseif $LC_ALL =~ '\a\a'
    let s:lang = $LC_ALL
  elseif $LANG =~ '\a\a'
    let s:lang = $LANG
  endif
  if s:lang != ""
    " Remove "@euro" (ignoring case), it may be at the end
    let s:lang = substitute(s:lang, '\c@euro', '', '')
    " On MS-Windows it may be German_Germany.1252 or Polish_Poland.1250.  How
    " about other languages?
    if s:lang =~ "German"
      let s:ext = ".de"
    elseif s:lang =~ "Polish"
      let s:ext = ".pl"
    elseif s:lang =~ "Slovak"
      let s:ext = ".sk"
    elseif s:lang =~ "Serbian"
      let s:ext = ".sr"
    elseif s:lang =~ "Czech"
      let s:ext = ".cs"
    elseif s:lang =~ "Dutch"
      let s:ext = ".nl"
    elseif s:lang =~ "Bulgarian"
      let s:ext = ".bg"
    else
      let s:ext = "." . strpart(s:lang, 0, 2)
    endif
  endif
endif

" Somehow ".ge" (Germany) is sometimes used for ".de" (Deutsch).
if s:ext =~? '\.ge'
  let s:ext = ".de"
endif

if s:ext =~? '\.en'
  let s:ext = ""
endif

" The japanese tutor is available in two encodings, guess which one to use
" The "sjis" one is actually "cp932", it doesn't matter for this text.
if s:ext =~? '\.ja'
  if &enc =~ "euc"
    let s:ext = ".ja.euc"
  elseif &enc != "utf-8"
    let s:ext = ".ja.sjis"
  endif
endif

" The korean tutor is available in two encodings, guess which one to use
if s:ext =~? '\.ko'
  if &enc != "utf-8"
    let s:ext = ".ko.euc"
  endif
endif

" The Chinese tutor is available in three encodings, guess which one to use
" This segment is from the above lines and modified by
" Mendel L Chan <beos@turbolinux.com.cn> for Chinese vim tutorial
" When 'encoding' is utf-8, choose between China (simplified) and Taiwan
" (traditional) based on the language, suggested by Alick Zhao.
if s:ext =~? '\.zh'
  if &enc =~ 'big5\|cp950'
    let s:ext = ".zh.big5"
  elseif &enc != 'utf-8'
    let s:ext = ".zh.euc"
  elseif s:ext =~? 'zh_tw' || (exists("s:lang") && s:lang =~? 'zh_tw')
    let s:ext = ".zh_tw"
  else
    let s:ext = ".zh_cn"
  endif
endif

" The Polish tutor is available in two encodings, guess which one to use.
if s:ext =~? '\.pl'
  if &enc =~ 1250
    let s:ext = ".pl.cp1250"
  endif
endif

" The Turkish tutor is available in two encodings, guess which one to use
if s:ext =~? '\.tr'
  if &enc == "iso-8859-9"
    let s:ext = ".tr.iso9"
  endif
endif

" The Greek tutor is available in three encodings, guess what to use.
" We used ".gr" (Greece) instead of ".el" (Greek); accept both.
if s:ext =~? '\.gr\|\.el'
  if &enc == "iso-8859-7"
    let s:ext = ".el"
  elseif &enc == "utf-8"
    let s:ext = ".el.utf-8"
  elseif &enc =~ 737
    let s:ext = ".el.cp737"
  endif
endif

" The Slovak tutor is available in three encodings, guess which one to use
if s:ext =~? '\.sk'
  if &enc =~ 1250
    let s:ext = ".sk.cp1250"
  endif
endif

" The Slovak tutor is available in two encodings, guess which one to use
" Note that the utf-8 version is the original, the cp1250 version is created
" from it.
if s:ext =~? '\.sr'
  if &enc =~ 1250
    let s:ext = ".sr.cp1250"
  endif
endif

" The Czech tutor is available in three encodings, guess which one to use
if s:ext =~? '\.cs'
  if &enc =~ 1250
    let s:ext = ".cs.cp1250"
  endif
endif

" The Russian tutor is available in three encodings, guess which one to use.
if s:ext =~? '\.ru'
  if &enc =~ '1251'
    let s:ext = '.ru.cp1251'
  elseif &enc =~ 'koi8'
    let s:ext = '.ru'
  endif
endif

" The Hungarian tutor is available in three encodings, guess which one to use.
if s:ext =~? '\.hu'
  if &enc =~ 1250
    let s:ext = ".hu.cp1250"
  elseif &enc =~ 'iso-8859-2'
    let s:ext = '.hu'
  endif
endif

" The Croatian tutor is available in three encodings, guess which one to use.
if s:ext =~? '\.hr'
  if &enc =~ 1250
    let s:ext = ".hr.cp1250"
  elseif &enc =~ 'iso-8859-2'
    let s:ext = '.hr'
  endif
endif

" Esperanto is only available in utf-8
if s:ext =~? '\.eo'
  let s:ext = ".eo.utf-8"
endif
" Vietnamese is only available in utf-8
if s:ext =~? '\.vi'
  let s:ext = ".vi.utf-8"
endif

" If 'encoding' is utf-8 s:ext must end in utf-8.
if &enc == 'utf-8' && s:ext !~ '\.utf-8'
  let s:ext .= '.utf-8'
endif

" 2. Build the name of the file:
let s:tutorfile = "/tutor/tutor"
let s:tutorxx = $VIMRUNTIME . s:tutorfile . s:ext

" 3. Finding the file:
if filereadable(s:tutorxx)
  let $TUTOR = s:tutorxx
else
  let $TUTOR = $VIMRUNTIME . s:tutorfile
  echo "The file " . s:tutorxx . " does not exist.\n"
  echo "Copying English version: " . $TUTOR
  4sleep
endif

" 4. Making the copy and exiting Vim:
e $TUTOR
wq! $TUTORCOPY

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:19:13
root / root
0755
README.el.cp737.txt
1.054 KB
August 02 2022 16:56:59
root / root
0644
README.el.txt
1.054 KB
August 02 2022 16:56:59
root / root
0644
README.txt
0.842 KB
August 02 2022 16:56:59
root / root
0644
tutor
32.468 KB
August 02 2022 16:56:59
root / root
0644
tutor.bar
39.938 KB
August 02 2022 16:56:59
root / root
0644
tutor.bar.utf-8
40.864 KB
August 02 2022 16:56:59
root / root
0644
tutor.bg.utf-8
59.201 KB
August 02 2022 16:56:59
root / root
0644
tutor.ca
28.239 KB
August 02 2022 16:57:00
root / root
0644
tutor.ca.utf-8
26.944 KB
August 02 2022 16:56:59
root / root
0644
tutor.cs
25.074 KB
August 02 2022 16:56:59
root / root
0644
tutor.cs.cp1250
25.074 KB
August 02 2022 16:56:59
root / root
0644
tutor.cs.utf-8
27.341 KB
August 02 2022 16:56:59
root / root
0644
tutor.de
38.334 KB
August 02 2022 16:57:00
root / root
0644
tutor.de.utf-8
38.334 KB
August 02 2022 16:56:59
root / root
0644
tutor.el
29.513 KB
August 02 2022 16:56:59
root / root
0644
tutor.el.cp737
29.513 KB
August 02 2022 16:56:59
root / root
0644
tutor.el.utf-8
46.052 KB
August 02 2022 16:56:59
root / root
0644
tutor.eo
34.313 KB
August 02 2022 16:56:59
root / root
0644
tutor.eo.utf-8
34.774 KB
August 02 2022 16:56:59
root / root
0644
tutor.es
27.383 KB
August 02 2022 16:57:00
root / root
0644
tutor.es.utf-8
27.383 KB
August 02 2022 16:56:59
root / root
0644
tutor.fr
38.407 KB
August 02 2022 16:57:00
root / root
0644
tutor.fr.utf-8
38.406 KB
August 02 2022 16:56:59
root / root
0644
tutor.hr
33.114 KB
August 02 2022 16:56:59
root / root
0644
tutor.hr.cp1250
33.114 KB
August 02 2022 16:56:59
root / root
0644
tutor.hr.utf-8
33.621 KB
August 02 2022 16:56:59
root / root
0644
tutor.hu
26.557 KB
August 02 2022 16:56:59
root / root
0644
tutor.hu.cp1250
26.557 KB
August 02 2022 16:56:59
root / root
0644
tutor.hu.utf-8
28.275 KB
August 02 2022 16:56:59
root / root
0644
tutor.it
35.606 KB
August 02 2022 16:57:00
root / root
0644
tutor.it.utf-8
35.606 KB
August 02 2022 16:56:59
root / root
0644
tutor.ja.euc
32.521 KB
August 02 2022 16:56:59
root / root
0644
tutor.ja.sjis
32.521 KB
August 02 2022 16:56:59
root / root
0644
tutor.ja.utf-8
42.998 KB
August 02 2022 16:57:00
root / root
0644
tutor.ko.euc
26.576 KB
August 02 2022 16:56:59
root / root
0644
tutor.ko.utf-8
32.964 KB
August 02 2022 16:57:00
root / root
0644
tutor.lv
38.101 KB
August 02 2022 16:56:59
root / root
0644
tutor.nb
33.816 KB
August 02 2022 16:56:59
root / root
0644
tutor.nb.utf-8
34.595 KB
August 02 2022 16:56:59
root / root
0644
tutor.nl
36.441 KB
August 02 2022 16:56:59
root / root
0644
tutor.nl.utf-8
36.454 KB
August 02 2022 16:56:59
root / root
0644
tutor.no
34.595 KB
August 02 2022 16:57:00
root / root
0644
tutor.no.utf-8
34.595 KB
August 02 2022 16:56:59
root / root
0644
tutor.pl
34.62 KB
August 02 2022 16:57:00
root / root
0644
tutor.pl.cp1250
33.349 KB
August 02 2022 16:56:59
root / root
0644
tutor.pl.utf-8
34.62 KB
August 02 2022 16:56:59
root / root
0644
tutor.pt
35.419 KB
August 02 2022 16:56:59
root / root
0644
tutor.pt.utf-8
36.122 KB
August 02 2022 16:56:59
root / root
0644
tutor.ru
56.016 KB
August 02 2022 16:57:00
root / root
0644
tutor.ru.cp1251
35.179 KB
August 02 2022 16:56:59
root / root
0644
tutor.ru.utf-8
56.021 KB
August 02 2022 16:56:59
root / root
0644
tutor.sk
34.692 KB
August 02 2022 16:57:00
root / root
0644
tutor.sk.cp1250
32.529 KB
August 02 2022 16:56:59
root / root
0644
tutor.sk.utf-8
34.692 KB
August 02 2022 16:56:59
root / root
0644
tutor.sr.cp1250
32.285 KB
August 02 2022 16:56:59
root / root
0644
tutor.sr.utf-8
32.771 KB
August 02 2022 16:56:59
root / root
0644
tutor.sv
28.027 KB
August 02 2022 16:57:00
root / root
0644
tutor.sv.utf-8
28.027 KB
August 02 2022 16:56:59
root / root
0644
tutor.tr.iso9
27.524 KB
August 02 2022 16:56:59
root / root
0644
tutor.tr.utf-8
29.517 KB
August 02 2022 16:56:59
root / root
0644
tutor.uk.utf-8
52.309 KB
August 02 2022 16:56:59
root / root
0644
tutor.utf-8
32.468 KB
August 02 2022 16:56:59
root / root
0644
tutor.vi.utf-8
31.581 KB
August 02 2022 16:56:59
root / root
0644
tutor.vim
5.124 KB
August 02 2022 16:56:59
root / root
0644
tutor.zh.big5
23.787 KB
August 02 2022 16:56:59
root / root
0644
tutor.zh.euc
29.339 KB
August 02 2022 16:56:59
root / root
0644
tutor.zh.utf-8
30.672 KB
August 02 2022 16:56:59
root / root
0644
tutor.zh_cn.utf-8
37.901 KB
August 02 2022 16:56:59
root / root
0644
tutor.zh_tw.utf-8
30.672 KB
August 02 2022 16:56:59
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF