App-Greple-xlate
view release on metacpan or search on metacpan
i18n/src/xlate.pod.xlate-gpt3-ZH.json view on Meta::CPAN
"为æ¯ä¸ªå¹é
çåºåè°ç¨ç¿»è¯è¿ç¨ã\n"
],
[
"Without this option, B<greple> behaves as a normal search command. So you can check which part of the file will be subject of the translation before invoking actual work.\n",
"å¦ææ²¡ææ¤é项ï¼B<greple>å°ä½ä¸ºæ®éæç´¢å½ä»¤è¿è¡ãå æ¤ï¼å¨è°ç¨å®é
å·¥ä½ä¹åï¼æ¨å¯ä»¥æ£æ¥æä»¶çåªä¸ªé¨åå°æä¸ºç¿»è¯ç对象ã\n"
],
[
"Command result goes to standard out, so redirect to file if necessary, or consider to use L<App::Greple::update> module.\n",
"å½ä»¤ç»æè¾åºå°æ åè¾åºï¼å¦æéè¦ï¼è¯·éå®åå°æä»¶ï¼æèè使ç¨L<App::Greple::update>模åã\n"
],
[
"Option B<--xlate> calls B<--xlate-color> option with B<--color=never> option.\n",
"é项B<--xlate>è°ç¨B<--xlate-color>é项ï¼å¹¶å¸¦æB<--color=never>é项ã\n"
],
[
"With B<--xlate-fold> option, converted text is folded by the specified width. Default width is 70 and can be set by B<--xlate-fold-width> option. Four columns are reserved for run-in operation, so each line could hold 74 characters at most.\n"...
"使ç¨B<--xlate-fold>é项ï¼è½¬æ¢åçææ¬å°ææå®ç宽度æå ãé»è®¤å®½åº¦ä¸º70ï¼å¯ä»¥éè¿B<--xlate-fold-width>é项设置ãååç¨äºrun-inæä½ï¼å æ¤æ¯è¡æå¤å¯ä»¥å®¹çº³74个å符ã\n"
],
[
"Specifies the translation engine to be used. If you specify the engine module directly, such as C<-Mxlate::deepl>, you do not need to use this option.\n",
"æå®è¦ä½¿ç¨çç¿»è¯å¼æãå¦æç´æ¥æå®å¼ææ¨¡åï¼å¦C<-Mxlate::deepl>ï¼åä¸éè¦ä½¿ç¨æ¤é项ã\n"
],
[
"At this time, the following engines are available\n",
"ç®åï¼å¯ç¨ç弿å¦ä¸ï¼\n"
],
[
"B<gpt-4o>'s interface is unstable and cannot be guaranteed to work correctly at the moment.\n",
"B<gpt-4o> çæ¥å£ä¸ç¨³å®ï¼ç®åæ æ³ä¿è¯è½æ£å¸¸å·¥ä½ã\n"
],
[
"Instead of calling translation engine, you are expected to work for. After preparing text to be translated, they are copied to the clipboard. You are expected to paste them to the form, copy the result to the clipboard, and hit return.\n",
"ä¸éè¦è°ç¨ç¿»è¯å¼æï¼ä½ éè¦äº²èªè¿è¡ç¿»è¯ãå¨åå¤å¥½å¾
ç¿»è¯çææ¬åï¼å°å
¶å¤å¶å°åªè´´æ¿ãä½ éè¦å°å
¶ç²è´´å°è¡¨åä¸ï¼å°ç»æå¤å¶å°åªè´´æ¿ï¼å¹¶æå车é®ã\n"
],
[
"Specify the target language. You can get available languages by C<deepl languages> command when using B<DeepL> engine.\n",
"æå®ç®æ è¯è¨ã使ç¨B<DeepL>弿æ¶ï¼å¯ä»¥éè¿C<deepl languages>å½ä»¤è·åå¯ç¨è¯è¨ã\n"
],
[
"Specify the output format for original and translated text.\n",
"æå®åå§åç¿»è¯ææ¬çè¾åºæ ¼å¼ã\n"
],
[
"The following formats other than C<xtxt> assume that the part to be translated is a collection of lines. In fact, it is possible to translate only a portion of a line, and specifying a format other than C<xtxt> will not produce meaningful resu...
"é¤äºC<xtxt>ä¹å¤ç以䏿 ¼å¼åå®è¦ç¿»è¯çé¨åæ¯ä¸ç³»åè¡ãå®é
ä¸ï¼å¯ä»¥åªç¿»è¯ä¸è¡çä¸é¨åï¼å¹¶ä¸æå®é¤C<xtxt>ä¹å¤çæ ¼å¼ä¸ä¼äº§çææä¹çç»æã\n"
],
[
"Original and converted text are printed in L<git(1)> conflict marker format.\n",
"åå§ææ¬å转æ¢åçææ¬ä»¥L<git(1)>å²çªæ è®°æ ¼å¼æå°ã\n"
],
[
"You can recover the original file by next L<sed(1)> command.\n",
"æ¨å¯ä»¥éè¿ä¸ä¸ä¸ªL<sed(1)>å½ä»¤æ¢å¤åå§æä»¶ã\n"
],
[
"The original and translated text are output in a markdown's custom container style.\n",
"```html\n"
],
[
"Above text will be translated to the following in HTML.\n",
"<div style=\"background-color: #f4f4f4; color: #333; border-left: 6px solid #c0392b; padding: 10px; margin: 10px 0;\">\n"
],
[
"Number of colon is 7 by default. If you specify colon sequence like C<:::::>, it is used instead of 7 colons.\n",
"é»è®¤æ
åµä¸åå·çæ°é为7ãå¦ææ¨æå®åC<:::::>è¿æ ·çåå·åºåï¼åä¼ä½¿ç¨è¯¥åºå代æ¿7个åå·ã\n"
],
[
"Original and converted text are printed in L<cpp(1)> C<#ifdef> format.\n",
"åå§ææ¬å转æ¢åçææ¬ä»¥L<cpp(1)> C<#ifdef>æ ¼å¼æå°ã\n"
],
[
"You can retrieve only Japanese text by the B<unifdef> command:\n",
"æ¨å¯ä»¥éè¿B<unifdef>å½ä»¤ä»
æ£ç´¢æ¥è¯ææ¬ï¼\n"
],
[
"Original and converted text are printed separated by single blank line. For C<space+>, it also outputs a newline after the converted text.\n",
"Original text:\n"
],
[
"If the format is C<xtxt> (translated text) or unkown, only translated text is printed.\n",
"å¦ææ ¼å¼ä¸ºC<xtxt>ï¼ç¿»è¯ææ¬ï¼ææªç¥ï¼åä»
æå°ç¿»è¯ææ¬ã\n"
],
[
"Specify the maximum length of text to be sent to the API at once. Default value is set as for free DeepL account service: 128K for the API (B<--xlate>) and 5000 for the clipboard interface (B<--xlate-labor>). You may be able to change these va...
"å°ä»¥ä¸ææ¬éè¡ç¿»è¯æä¸æã\n"
],
[
"Specify the maximum lines of text to be sent to the API at once.\n",
"æå®ä¸æ¬¡åéå°APIçæå¤§ææ¬è¡æ°ã\n"
],
[
"Set this value to 1 if you want to translate one line at a time. This option takes precedence over the C<--xlate-maxlen> option.\n",
"妿è¦éè¡ç¿»è¯ï¼è¯·å°æ¤å¼è®¾ç½®ä¸º1ãæ¤é项ä¼å
äºC<--xlate-maxlen>é项ã\n"
],
[
"See the tranlsation result in real time in the STDERR output.\n",
"å°ä»¥ä¸ææ¬ç¿»è¯æä¸æã\n"
],
[
"Use L<App::Greple::stripe> module to show the matched part by zebra striping fashion. This is useful when the matched parts are connected back-to-back.\n",
"ä½¿ç¨ L<App::Greple::stripe> 模å以æé©¬çº¿æ¡çº¹çæ¹å¼æ¾ç¤ºå¹é
é¨åãå½å¹é
é¨åè¿æ¥å¨ä¸èµ·æ¶ï¼è¿æ¯å¾æç¨çã\n"
],
[
"The color palette is switched according to the background color of the terminal. If you want to specify explicitly, you can use B<--xlate-stripe-light> or B<--xlate-stripe-dark>.\n",
"é¢è²è°è²æ¿ä¼æ ¹æ®ç»ç«¯çèæ¯é¢è²è¿è¡åæ¢ãå¦ææ¨æ³è¦æç¡®æå®ï¼å¯ä»¥ä½¿ç¨é项 B<--xlate-stripe-light> æ B<--xlate-stripe-dark>ã\n"
],
[
"Perform masking function and display the converted text as is without restoration.\n",
"æ§è¡æ©ç 彿°å¹¶æ¾ç¤ºè½¬æ¢åçææ¬ï¼ä¸è¿è¡æ¢å¤ã\n"
],
[
"Set the whole text of the file as a target area.\n",
"å¨ STDERR è¾åºä¸å®æ¶æ¥çç¿»è¯ç»æã\n"
],
[
"B<xlate> module can store cached text of translation for each file and read it before execution to eliminate the overhead of asking to server. With the default cache strategy C<auto>, it maintains cache data only when the cache file exists for...
"å°æ´ä¸ªæä»¶çææ¬è®¾ç½®ä¸ºç®æ åºåã\n"
],
[
"Use B<--xlate-cache=clear> to initiate cache management or to clean up all existing cache data. Once executed with this option, a new cache file will be created if one does not exist and then automatically maintained afterward.\n",
"使ç¨B<--xlate-cache=clear>æ¥å¯å¨ç¼åç®¡çææ¸
餿æç°æçç¼åæ°æ®ã䏿¦ä½¿ç¨æ¤é项æ§è¡ï¼å¦æä¸åå¨ç¼åæä»¶ï¼å°ä¼å建ä¸ä¸ªæ°çç¼åæä»¶ï¼ç¶åèªå¨è¿è¡ç»´æ¤ã\n"
],
[
"Maintain the cache file if it exists.\n",
"B<--cache-clear> é项å¯ç¨äºåå§åç¼å管çæå·æ°ææç°æçç¼åæ°æ®ãæ§è¡æ¤é项åï¼å¦æä¸åå¨ç¼åæä»¶ï¼åä¼å建ä¸ä¸ªæ°çç¼åæä»¶ï¼ç¶åèªå¨è¿è¡ç»´æ¤ã\n"
],
[
"Create empty cache file and exit.\n",
"妿ç¼åæä»¶åå¨ï¼åç»´æ¤ç¼åæä»¶ã\n"
],
[
"Maintain cache anyway as far as the target is normal file.\n",
"å建空çç¼åæä»¶å¹¶éåºã\n"
],
[
"Clear the cache data first.\n",
"åªè¦ç®æ æ¯æ®éæä»¶ï¼å°±å§ç»ç»´æ¤ç¼åã\n"
],
[
"Never use cache file even if it exists.\n",
"é¦å
æ¸
é¤ç¼åæ°æ®ã\n"
],
[
"By default behavior, unused data is removed from the cache file. If you don't want to remove them and keep in the file, use C<accumulate>.\n",
"å³ä½¿åå¨ç¼åæä»¶ï¼ä¹ä¸è¦ä½¿ç¨ç¼åæä»¶ã\n"
],
[
"This option forces to update cache file even if it is not necessary.\n",
"æ¤éé¡¹å¼ºå¶æ´æ°ç¼åæä»¶ï¼å³ä½¿æ²¡æå¿
è¦ã\n"
],
[
"You can easily use this module from the command line by using the C<xlate> command included in the distribution. See the C<xlate> man page for usage.\n",
"æ¨å¯ä»¥éè¿å¨ååä¸å
å«ç C<xlate> å½ä»¤è½»æ¾å°ä»å½ä»¤è¡ä¸ä½¿ç¨æ¤æ¨¡åã请æ¥ç C<xlate> æå页以äºè§£ç¨æ³ã\n"
],
[
"The C<xlate> command works in concert with the Docker environment, so even if you do not have anything installed on hand, you can use it as long as Docker is available. Use C<-D> or C<-C> option.\n",
"C<xlate>å½ä»¤ä¸Dockerç¯å¢é
å使ç¨ï¼å æ¤å³ä½¿æ¨æå¤´æ²¡æå®è£
ä»»ä½ä¸è¥¿ï¼åªè¦Dockerå¯ç¨ï¼æ¨å°±å¯ä»¥ä½¿ç¨å®ã使ç¨C<-D>æC<-C>é项ã\n"
],
[
"Also, since makefiles for various document styles are provided, translation into other languages is possible without special specification. Use C<-M> option.\n",
"æ¤å¤ï¼ç±äºæä¾äºåç§ææ¡£æ ·å¼çmakefileï¼å æ¤å¯ä»¥å¨ä¸è¿è¡ç¹æ®æå®çæ
åµä¸å°å
¶ç¿»è¯æå
¶ä»è¯è¨ã使ç¨C<-M>é项ã\n"
],
[
"You can also combine the Docker and C<make> options so that you can run C<make> in a Docker environment.\n",
( run in 1.287 second using v1.01-cache-2.11-cpan-364913b4093 )