mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
string changes
This commit is contained in:
parent
6b6fcf6e5a
commit
8d95d74355
@ -2651,7 +2651,7 @@ class BuiltinIsDarkMode(BuiltinFormatterFunction):
|
|||||||
"in dark mode, '' (the empty string) otherwise. This "
|
"in dark mode, '' (the empty string) otherwise. This "
|
||||||
"function can be used in advanced color and icon rules "
|
"function can be used in advanced color and icon rules "
|
||||||
"to choose different colors/icons according to the mode. "
|
"to choose different colors/icons according to the mode. "
|
||||||
"Example: if is_dark_mode() then 'dark.png' else 'light.png' fi ")
|
"Example: {} ").format("if is_dark_mode() then 'dark.png' else 'light.png' fi")
|
||||||
|
|
||||||
def evaluate(self, formatter, kwargs, mi, locals):
|
def evaluate(self, formatter, kwargs, mi, locals):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user