Skip to content

Commit

Permalink
Add Find submenu to Edit, with matching English localization
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidPhillipOster authored and MaddTheSane committed Jun 5, 2022
1 parent fe64986 commit bb5e1de
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 6 deletions.
40 changes: 34 additions & 6 deletions Resources/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,45 @@ CA
<action selector="selectAll:" target="-1" id="1935"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="y8y-na-2L3"/>
<menuItem title="Speech" id="gQR-E6-GF3">
<menuItem isSeparatorItem="YES" tag="1901" id="y8y-na-2L3"/>
<menuItem title="Find" tag="1902" id="1902">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Speech" id="smE-UL-OGJ">
<menu key="submenu" title="Find" id="1910">
<items>
<menuItem title="Start Speaking" id="3QS-jN-jJ4">
<menuItem title="Find…" tag="1" keyEquivalent="f" id="1904">
<connections>
<action selector="performTextFinderAction:" target="-1" id="nUT-xA-6Ei"/>
</connections>
</menuItem>
<menuItem title="Find Next" tag="2" keyEquivalent="g" id="1901">
<connections>
<action selector="performTextFinderAction:" target="-1" id="C8g-vX-gV3"/>
</connections>
</menuItem>
<menuItem title="Find Previous" tag="3" keyEquivalent="G" id="1905">
<connections>
<action selector="performTextFinderAction:" target="-1" id="1907"/>
</connections>
</menuItem>
<menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="1903">
<connections>
<action selector="performTextFinderAction:" target="-1" id="CPG-yq-DiZ"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Speech" tag="1906" id="1906">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Speech" id="1911">
<items>
<menuItem title="Start Speaking" id="1908">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="startSpeaking:" target="-1" id="2Br-e6-ei5"/>
</connections>
</menuItem>
<menuItem title="Stop Speaking" id="iTX-FZ-Cma">
<menuItem title="Stop Speaking" id="1909">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="stopSpeaking:" target="-1" id="DgK-rt-oah"/>
Expand All @@ -167,7 +194,7 @@ CA
<binding destination="1021" name="value" keyPath="values.statusBarVisisble" id="1339"/>
</connections>
</menuItem>
<menuItem title="Always Show Toolbar in Full Screen" id="hhx-Yd-WrR">
<menuItem title="Always Show Toolbar in Full Screen" id="1877">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<binding destination="1021" name="value" keyPath="values.fullscreenToolbar" id="Mg1-jl-K0Q"/>
Expand Down Expand Up @@ -271,6 +298,7 @@ CA
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<menuItem title="Full Screen" tag="303" keyEquivalent="f" id="338">
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
<connections>
<action selector="toggleFullScreen:" target="-1" id="kSJ-u1-vQQ"/>
</connections>
Expand Down
51 changes: 51 additions & 0 deletions Resources/en.lproj/MainMenu.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
/* Class = "NSMenu"; title = "Window"; ObjectID = "24"; */
"24.title" = "Window";

/* Class = "NSMenu"; title = "MainMenu"; ObjectID = "29"; */
"29.title" = "MainMenu";

/* Class = "NSMenuItem"; title = "Simple Comic"; ObjectID = "56"; */
"56.title" = "Simple Comic";

/* Class = "NSMenu"; title = "Simple Comic"; ObjectID = "57"; */
"57.title" = "Simple Comic";

/* Class = "NSMenuItem"; title = "About Simple Comic"; ObjectID = "58"; */
"58.title" = "About Simple Comic";

Expand Down Expand Up @@ -122,6 +131,12 @@
/* Class = "NSWindow"; title = "Encoding"; ObjectID = "1080"; */
"1080.title" = "Encoding";

/* Class = "NSMenu"; title = "OtherViews"; ObjectID = "1083"; */
"1083.title" = "OtherViews";

/* Class = "NSMenuItem"; title = "Item1"; ObjectID = "1086"; */
"1086.title" = "Item1";

/* Class = "NSMenuItem"; title = "Rotate Left"; ObjectID = "1104"; */
"1104.title" = "Rotate Left";

Expand Down Expand Up @@ -185,6 +200,9 @@
/* Class = "NSTextFieldCell"; title = "Encoding:"; ObjectID = "1710"; */
"1710.title" = "Encoding:";

/* Class = "NSTextFieldCell"; title = "filename"; ObjectID = "1711"; */
"1711.title" = "filename";

/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "1712"; */
"1712.title" = "Cancel";

Expand Down Expand Up @@ -221,5 +239,38 @@
/* Class = "NSMenuItem"; title = "Paste"; ObjectID = "1876"; */
"1876.title" = "Paste";

/* Class = "NSMenuItem"; title = "Always Show Toolbar in Full Screen"; ObjectID = "1877"; */
"1877.title" = "Always Show Toolbar in Full Screen";

/* Class = "NSMenuItem"; title = "Select All"; ObjectID = "1879"; */
"1879.title" = "Select All";

/* Class = "NSMenuItem"; title = "Find Next"; ObjectID = "1901"; */
"1901.title" = "Find Next";

/* Class = "NSMenuItem"; title = "Find"; ObjectID = "1902"; */
"1902.title" = "Find";

/* Class = "NSMenuItem"; title = "Use Selection for Find"; ObjectID = "1903"; */
"1903.title" = "Use Selection for Find";

/* Class = "NSMenuItem"; title = "Find…"; ObjectID = "1904"; */
"1904.title" = "Find…";

/* Class = "NSMenuItem"; title = "Find Previous"; ObjectID = "1905"; */
"1905.title" = "Find Previous";

/* Class = "NSMenuItem"; title = "Speech"; ObjectID = "1906"; */
"1906.title" = "Speech";

/* Class = "NSMenuItem"; title = "Start Speaking"; ObjectID = "1908"; */
"1908.title" = "Start Speaking";

/* Class = "NSMenuItem"; title = "Stop Speaking"; ObjectID = "1909"; */
"1909.title" = "Stop Speaking";

/* Class = "NSMenu"; title = "Find"; ObjectID = "1910"; */
"1910.title" = "Find";

/* Class = "NSMenu"; title = "Speech"; ObjectID = "1911"; */
"1911.title" = "Speech";

0 comments on commit bb5e1de

Please sign in to comment.