[wordpress插件] 2-4 comment fix2-4条评论修复

wordpress 插件 文章 2020-01-21 00:00 558 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

This fix replace your comment count to go with most of central european languages.

此修复程序取代了您的评论数,以支持大多数中欧语言。

There was a gap when word “Commments” was the same for counts greater than 1. But for example in Slovak and Czech there is different word when count is from 2 to 4. So there was gramatical error.

当计数大于1时,“注释”一词相同时会出现间隙,但是例如在斯洛伐克和捷克语中,计数从2到4时会出现不同的单词。因此存在语法错误。

This will fix it.

这将解决它。

Arbitrary section

任意部分

This plugin is made for Slovak, Czech and other slovanian languages.

此插件适用于斯洛伐克语,捷克语和其他斯洛伐克语。

If you are using different language on and you have similar problems but with other numbers, just write me to jan@varhol.sk.

如果您使用的是其他语言,并且遇到了类似的问题,但是还有其他数字,请给我写信到jan@varhol.sk。

安装步骤

    1. Upload 2_4_comment_fix.php to the /wp-content/plugins/ directory
    2. 2_4_comment_fix.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Place

    6. 放置 <?php comments_popup_link_2_4('无评论','1评论','%评论','%评论(2-4时)');

      ?> where you have popup links and

      ?> ,其中有弹出链接和 <?php comments_number_2_4(“无评论”,“ 1条评论”,“%评论”,“%评论(2-4时)”);

      ?> where you are displaying number of comments in your template and translate the strings into your language.

      ?> ,您将在模板中显示大量注释,并将字符串翻译成您的语言。

      For the count between 2 and 4 there is the last string.

      对于2到4之间的计数,有最后一个字符串。

      Remember that functions have added _2_4 at the end of its name.

    7. 请记住,函数在其名称的末尾添加了_2_4。

下载地址

https://downloads.wordpress.org/plugin/2-4-comment-fix.zip

https://downloads.wordpress.org/plugin/2-4-comment-fix.zip

-EOF-

AI助手支持GPT4.0