string changes

This commit is contained in:
Kovid Goyal
2024-09-27 18:48:16 +05:30
parent 6b6fcf6e5a
commit 8d95d74355
+1 -1
View File
@@ -2651,7 +2651,7 @@ class BuiltinIsDarkMode(BuiltinFormatterFunction):
"in dark mode, '' (the empty string) otherwise. This "
"function can be used in advanced color and icon rules "
"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):
try: