Difference between revisions of "Punctuation"

From Fcitx
Jump to navigation Jump to search
(Marked this version for translation)
Line 2: Line 2:
  
 
<translate>
 
<translate>
 +
<!--T:1-->
 
{{Infobox module
 
{{Infobox module
 
| name                    = Punctutation
 
| name                    = Punctutation
Line 10: Line 11:
 
}}
 
}}
  
== Intro ==
+
== Intro == <!--T:2-->
 
Punctuation is a module that can convert punctuation to other format punctuation. For example, in simplified Chinese, people usually use "," instead of ",".
 
Punctuation is a module that can convert punctuation to other format punctuation. For example, in simplified Chinese, people usually use "," instead of ",".
  
== Configuration ==
+
== Configuration == <!--T:3-->
 
=== Path ===
 
=== Path ===
 
The punctuation is based on language of input method. For example, Simplified Chinese will use data/punc.mb.zh_CN and traditional Chinese will use data/punc.mb.zh_TW. (Base Path for user is ~/.config/fcitx, and system path usually will be /usr/share/fcitx )
 
The punctuation is based on language of input method. For example, Simplified Chinese will use data/punc.mb.zh_CN and traditional Chinese will use data/punc.mb.zh_TW. (Base Path for user is ~/.config/fcitx, and system path usually will be /usr/share/fcitx )
  
=== Format ===
+
=== Format === <!--T:4-->
 
Following is the content of data/punc.mb.zh_CN in Fcitx. As you can see, you need a character in the first column, and one or two utf8 string after that. If there is two string, for example " “ ”, the first time you use it will be “ and the second time will be ”.
 
Following is the content of data/punc.mb.zh_CN in Fcitx. As you can see, you need a character in the first column, and one or two utf8 string after that. If there is two string, for example " “ ”, the first time you use it will be “ and the second time will be ”.
  
  . 。
+
  <!--T:5-->
 +
. 。
 
  , ,
 
  , ,
 
  ? ?
 
  ? ?
Line 41: Line 43:
  
  
 +
<!--T:6-->
 
[[Category:Built-in Addon]]
 
[[Category:Built-in Addon]]
 
[[Category:Addon]]
 
[[Category:Addon]]
  
 
</translate>
 
</translate>

Revision as of 11:33, 29 April 2012


Punctutation
Version 4.2.1
Written In C
License GPLv2
Type Module

Intro

Punctuation is a module that can convert punctuation to other format punctuation. For example, in simplified Chinese, people usually use "," instead of ",".

Configuration

Path

The punctuation is based on language of input method. For example, Simplified Chinese will use data/punc.mb.zh_CN and traditional Chinese will use data/punc.mb.zh_TW. (Base Path for user is ~/.config/fcitx, and system path usually will be /usr/share/fcitx )

Format

Following is the content of data/punc.mb.zh_CN in Fcitx. As you can see, you need a character in the first column, and one or two utf8 string after that. If there is two string, for example " “ ”, the first time you use it will be “ and the second time will be ”.

. 。
, ,
? ?
" “ ”
: :
; ;
' ‘ ’
< 《
> 》
\ 、
! !
$ ¥
^ ……
* ×
_ ——
( (
) )
[ ·
] [ ]