remove 'flag ' prefix from flag names
This commit is contained in:
parent
3ced63d974
commit
cff8069ef9
@ -42,17 +42,21 @@ actions-update-note = Update Note
|
|||||||
actions-update-card = Update Card
|
actions-update-card = Update Card
|
||||||
actions-update-deck = Update Deck
|
actions-update-deck = Update Deck
|
||||||
actions-forget-card = Forget Card
|
actions-forget-card = Forget Card
|
||||||
actions-set-flag = Set Flag
|
|
||||||
actions-build-filtered-deck = Build Deck
|
actions-build-filtered-deck = Build Deck
|
||||||
actions-expand-collapse = Expand/Collapse
|
actions-expand-collapse = Expand/Collapse
|
||||||
actions-add-notetype = Add Notetype
|
actions-add-notetype = Add Notetype
|
||||||
actions-remove-notetype = Remove Notetype
|
actions-remove-notetype = Remove Notetype
|
||||||
actions-update-notetype = Update Notetype
|
actions-update-notetype = Update Notetype
|
||||||
actions-update-config = Update Config
|
actions-update-config = Update Config
|
||||||
actions-red-flag = Red Flag
|
|
||||||
actions-orange-flag = Orange Flag
|
## Flags
|
||||||
actions-green-flag = Green Flag
|
|
||||||
actions-blue-flag = Blue Flag
|
actions-flag-number = Flag { $number }
|
||||||
actions-pink-flag = Pink Flag
|
actions-flag-red = Red
|
||||||
actions-turquoise-flag = Turquoise Flag
|
actions-flag-orange = Orange
|
||||||
actions-purple-flag = Purple Flag
|
actions-flag-green = Green
|
||||||
|
actions-flag-blue = Blue
|
||||||
|
actions-flag-pink = Pink
|
||||||
|
actions-flag-turquoise = Turquoise
|
||||||
|
actions-flag-purple = Purple
|
||||||
|
actions-set-flag = Set Flag
|
||||||
|
@ -39,49 +39,49 @@ def load_flags(col: Collection) -> List[Flag]:
|
|||||||
return [
|
return [
|
||||||
Flag(
|
Flag(
|
||||||
1,
|
1,
|
||||||
labels["1"] if "1" in labels else tr.actions_red_flag(),
|
labels["1"] if "1" in labels else tr.actions_flag_red(),
|
||||||
icon.with_color(colors.FLAG1_FG),
|
icon.with_color(colors.FLAG1_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_RED),
|
SearchNode(flag=SearchNode.FLAG_RED),
|
||||||
"actionRed_Flag",
|
"actionRed_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
2,
|
2,
|
||||||
labels["2"] if "2" in labels else tr.actions_orange_flag(),
|
labels["2"] if "2" in labels else tr.actions_flag_orange(),
|
||||||
icon.with_color(colors.FLAG2_FG),
|
icon.with_color(colors.FLAG2_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_ORANGE),
|
SearchNode(flag=SearchNode.FLAG_ORANGE),
|
||||||
"actionOrange_Flag",
|
"actionOrange_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
3,
|
3,
|
||||||
labels["3"] if "3" in labels else tr.actions_green_flag(),
|
labels["3"] if "3" in labels else tr.actions_flag_green(),
|
||||||
icon.with_color(colors.FLAG3_FG),
|
icon.with_color(colors.FLAG3_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_GREEN),
|
SearchNode(flag=SearchNode.FLAG_GREEN),
|
||||||
"actionGreen_Flag",
|
"actionGreen_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
4,
|
4,
|
||||||
labels["4"] if "4" in labels else tr.actions_blue_flag(),
|
labels["4"] if "4" in labels else tr.actions_flag_blue(),
|
||||||
icon.with_color(colors.FLAG4_FG),
|
icon.with_color(colors.FLAG4_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_BLUE),
|
SearchNode(flag=SearchNode.FLAG_BLUE),
|
||||||
"actionBlue_Flag",
|
"actionBlue_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
5,
|
5,
|
||||||
labels["5"] if "5" in labels else tr.actions_pink_flag(),
|
labels["5"] if "5" in labels else tr.actions_flag_pink(),
|
||||||
icon.with_color(colors.FLAG5_FG),
|
icon.with_color(colors.FLAG5_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_PINK),
|
SearchNode(flag=SearchNode.FLAG_PINK),
|
||||||
"actionPink_Flag",
|
"actionPink_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
6,
|
6,
|
||||||
labels["6"] if "6" in labels else tr.actions_turquoise_flag(),
|
labels["6"] if "6" in labels else tr.actions_flag_turquoise(),
|
||||||
icon.with_color(colors.FLAG6_FG),
|
icon.with_color(colors.FLAG6_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_TURQUOISE),
|
SearchNode(flag=SearchNode.FLAG_TURQUOISE),
|
||||||
"actionTurquoise_Flag",
|
"actionTurquoise_Flag",
|
||||||
),
|
),
|
||||||
Flag(
|
Flag(
|
||||||
7,
|
7,
|
||||||
labels["7"] if "7" in labels else tr.actions_purple_flag(),
|
labels["7"] if "7" in labels else tr.actions_flag_purple(),
|
||||||
icon.with_color(colors.FLAG7_FG),
|
icon.with_color(colors.FLAG7_FG),
|
||||||
SearchNode(flag=SearchNode.FLAG_PURPLE),
|
SearchNode(flag=SearchNode.FLAG_PURPLE),
|
||||||
"actionPurple_Flag",
|
"actionPurple_Flag",
|
||||||
|
@ -512,7 +512,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_red_flag</string>
|
<string>actions_flag_red</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+1</string>
|
<string notr="true">Ctrl+1</string>
|
||||||
@ -523,7 +523,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_orange_flag</string>
|
<string>actions_flag_orange</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+2</string>
|
<string notr="true">Ctrl+2</string>
|
||||||
@ -534,7 +534,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_green_flag</string>
|
<string>actions_flag_green</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+3</string>
|
<string notr="true">Ctrl+3</string>
|
||||||
@ -545,7 +545,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_blue_flag</string>
|
<string>actions_flag_blue</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+4</string>
|
<string notr="true">Ctrl+4</string>
|
||||||
@ -630,7 +630,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_pink_flag</string>
|
<string>actions_flag_pink</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+5</string>
|
<string notr="true">Ctrl+5</string>
|
||||||
@ -641,7 +641,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_turquoise_flag</string>
|
<string>actions_flag_turquoise</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+6</string>
|
<string notr="true">Ctrl+6</string>
|
||||||
@ -652,7 +652,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>actions_purple_flag</string>
|
<string>actions_flag_purple</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Ctrl+7</string>
|
<string notr="true">Ctrl+7</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user