feat: copy directly to clipboard, add copy content option
Moves the options in the "Chat 2" submenu when right clicking a message to the parent menu if there are no specific context menu items for the right clicked payload. This moves the "Copy" button to the main context menu in the majority of cases and reduces the amount of clicks required to copy. Changes the "Copy" button to copy directly to the system clipboard and adds a notification. Adds a "Copy content" button beneath the "Copy" button which only copies the message content (not the sender). If the message doesn't have a sender, this option does not appear as they function identically in such cases.
This commit is contained in:
Generated
+27
@@ -1031,6 +1031,24 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy content.
|
||||
/// </summary>
|
||||
internal static string Context_CopyContent {
|
||||
get {
|
||||
return ResourceManager.GetString("Context_CopyContent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copied message content to clipboard.
|
||||
/// </summary>
|
||||
internal static string Context_CopyContentSuccess {
|
||||
get {
|
||||
return ResourceManager.GetString("Context_CopyContentSuccess", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copy Item Name.
|
||||
/// </summary>
|
||||
@@ -1040,6 +1058,15 @@ namespace ChatTwo.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Copied message to clipboard.
|
||||
/// </summary>
|
||||
internal static string Context_CopySuccess {
|
||||
get {
|
||||
return ResourceManager.GetString("Context_CopySuccess", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Hide chat.
|
||||
/// </summary>
|
||||
|
||||
@@ -859,16 +859,25 @@
|
||||
<data name="Migration_Line4">
|
||||
<value>Do not close FFXIV, unload Dalamud, or turn off your computer during this time.</value>
|
||||
</data>
|
||||
<data name="Context_AdventurerPlate" xml:space="preserve">
|
||||
<data name="Context_AdventurerPlate">
|
||||
<value>View Adventurer Plate</value>
|
||||
</data>
|
||||
<data name="Context_AdventurerPlateError" xml:space="preserve">
|
||||
<data name="Context_AdventurerPlateError">
|
||||
<value>Unable to open adventurer plate at this moment</value>
|
||||
</data>
|
||||
<data name="Options_TooltipOffset_Name" xml:space="preserve">
|
||||
<data name="Options_TooltipOffset_Name">
|
||||
<value>Tooltip offset </value>
|
||||
</data>
|
||||
<data name="Options_TooltipOffset_Desc" xml:space="preserve">
|
||||
<data name="Options_TooltipOffset_Desc">
|
||||
<value>Use this option if you experience cut-off tooltips.</value>
|
||||
</data>
|
||||
<data name="Context_CopyContent">
|
||||
<value>Copy content</value>
|
||||
</data>
|
||||
<data name="Context_CopyContentSuccess">
|
||||
<value>Copied message content to clipboard</value>
|
||||
</data>
|
||||
<data name="Context_CopySuccess">
|
||||
<value>Copied message to clipboard</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
Reference in New Issue
Block a user