- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 POEdit 的源关键字中设置了这个:
_
__
_e
_ex
_n
esc_attr_e
_x
_nc
它有效,但是当我使用 _n()
时我只得到第一个字符串功能(二十一主题):
<?php printf(_n('One Comment', '%s Comments', get_comments_number(), 'twentyeleven'), number_format_i18n(get_comments_number())); ?>
任何如何让它识别的想法_n()
?这正是我遇到的问题,但没有解决方案:http://www.poedit.net/trac/ticket/307
最佳答案
你应该在poedit中设置一个关键字,这样你就有了
关键字
n
_n:1,2
例如,这里是我的源关键字
关于php - PoEdit 不识别 _n() 复数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12184978/
这个问题在这里已经有了答案: How do I restrict a float value to only two places after the decimal point in C? (17
我在 POEdit 的源关键字中设置了这个: _ __ _e _ex _n esc_attr_e _x _nc 它有效,但是当我使用 _n() 时我只得到第一个字符串功能(二十一主题): 任何如何让
我想知道 R 中是否有像 Stata 中那样的函数,您可以在其中使用每次观察之前或之后观察 n 个数字的值。例如,如果我需要乘以或除以观察结果,我会写这样的东西 variable_x/variable
我正在尝试使用 sklearn 根据我的数据集训练决策树。 当我尝试将数据切片为(结果:Y,预测变量:X)时,结果(我的标签)在 True/False: #data slicing X = df.va
所以我目前在R中遇到一个我完全知道如何在Stata中处理的问题,但是却浪费了两个多小时来完成R中的工作。 使用下面的data.frame,我想要的结果是确切地获得每个组的第一个观察值,而组是由多个变量
假设我们要解析一个内积表达式并得到结果。 "SUM({1, 2, 3} .* {4, 5, 6})" qi::_1 和 qi::_2 非常方便地在解析器中引用第 i 个属性。 void Test(st
我是一名优秀的程序员,十分优秀!