Added some localize strings.
This commit is contained in:
1 parent
c6c8705ce2
commit
f78185270c
17 files changed
+73
-95
No files matched your search
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8187.4" systemVersion="15A262e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10109" systemVersion="15E39d" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8187.4"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="8187.4"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10109"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="10109"/>
|
||||
<capability name="box content view" minToolsVersion="7.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -35,7 +35,6 @@
|
||||
<tabView controlSize="small" id="10">
|
||||
<rect key="frame" x="-11" y="-12" width="502" height="279"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<animations/>
|
||||
<tabViewItems>
|
||||
<tabViewItem label="Metadata" identifier="1" id="11">
|
||||
<view key="view" id="12">
|
||||
@@ -50,9 +49,8 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" autosaveColumns="NO" rowHeight="14" headerView="23" id="22" customClass="SBTableView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="181"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="16"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableViewGridLines key="gridStyleMask" vertical="YES"/>
|
||||
@@ -338,30 +336,24 @@
|
||||
</connections>
|
||||
</tableView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||
</clipView>
|
||||
<animations/>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" controlSize="small" horizontal="YES" id="21">
|
||||
<rect key="frame" x="1" y="184" width="446" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" controlSize="small" horizontal="NO" id="20">
|
||||
<rect key="frame" x="412" y="17" width="11" height="152"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
</scroller>
|
||||
<tableHeaderView key="headerView" id="23">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
</tableHeaderView>
|
||||
</scrollView>
|
||||
<popUpButton verticalHuggingPriority="750" id="30">
|
||||
<rect key="frame" x="17" y="7" width="32" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" inset="2" pullsDown="YES" selectedItem="33" id="31">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -380,7 +372,6 @@
|
||||
<button verticalHuggingPriority="750" id="53">
|
||||
<rect key="frame" x="48" y="7" width="24" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="54">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -392,7 +383,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="179">
|
||||
<rect key="frame" x="80" y="7" width="33" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" selectedItem="184" id="180">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -406,7 +396,6 @@
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="Artwork" identifier="Item 1" id="15">
|
||||
@@ -424,7 +413,6 @@
|
||||
<ikImageBrowserView autoresizesSubviews="NO" zoomValue="1" allowsReordering="YES" animates="YES" id="217" customClass="SBImageBrowserView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="446" height="197"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<animations/>
|
||||
<autoresizingMask key="contentResizingMask" heightSizable="YES"/>
|
||||
<size key="cellSize" width="177" height="177"/>
|
||||
<connections>
|
||||
@@ -437,24 +425,19 @@
|
||||
</connections>
|
||||
</ikImageBrowserView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</clipView>
|
||||
<animations/>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="216">
|
||||
<rect key="frame" x="-100" y="-100" width="438" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="215">
|
||||
<rect key="frame" x="424" y="1" width="15" height="250"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<animations/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
<button verticalHuggingPriority="750" id="223">
|
||||
<rect key="frame" x="17" y="7" width="24" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="224">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -466,7 +449,6 @@
|
||||
<button verticalHuggingPriority="750" id="226">
|
||||
<rect key="frame" x="40" y="7" width="24" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="227">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -478,14 +460,12 @@
|
||||
<slider verticalHuggingPriority="750" id="235">
|
||||
<rect key="frame" x="350" y="11" width="115" height="15"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<sliderCell key="cell" controlSize="small" continuous="YES" state="on" alignment="left" maxValue="2" doubleValue="1" tickMarkPosition="above" sliderType="linear" id="236"/>
|
||||
<connections>
|
||||
<action selector="zoomSliderDidChange:" target="-2" id="237"/>
|
||||
</connections>
|
||||
</slider>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
<tabViewItem label="Other Settings" identifier="Item 2" id="40">
|
||||
@@ -503,7 +483,6 @@
|
||||
<button id="57">
|
||||
<rect key="frame" x="122" y="53" width="71" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="check" title="Gapless" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" inset="2" id="58">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -515,7 +494,6 @@
|
||||
<button id="194">
|
||||
<rect key="frame" x="122" y="33" width="71" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="check" title="Podcast" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" inset="2" id="195">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -527,7 +505,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="59">
|
||||
<rect key="frame" x="122" y="139" width="143" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="Normal (Music)" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="212" id="60">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -562,7 +539,6 @@
|
||||
<textField verticalHuggingPriority="750" id="72">
|
||||
<rect key="frame" x="52" y="143" width="67" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Media Kind:" id="73">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -572,7 +548,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="74">
|
||||
<rect key="frame" x="122" y="112" width="143" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="None" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="86" id="77">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -591,7 +566,6 @@
|
||||
<textField verticalHuggingPriority="750" id="75">
|
||||
<rect key="frame" x="32" y="117" width="88" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Content Rating:" id="76">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -601,7 +575,6 @@
|
||||
<popUpButton verticalHuggingPriority="750" id="199">
|
||||
<rect key="frame" x="121" y="85" width="143" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<popUpButtonCell key="cell" type="push" title="No" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="206" id="202">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -620,7 +593,6 @@
|
||||
<textField verticalHuggingPriority="750" id="200">
|
||||
<rect key="frame" x="95" y="90" width="24" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="HD:" id="201">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -630,7 +602,6 @@
|
||||
<textField verticalHuggingPriority="750" id="139">
|
||||
<rect key="frame" x="70" y="55" width="50" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Options:" id="140">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -638,21 +609,20 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
<animations/>
|
||||
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
|
||||
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||
<font key="titleFont" size="11" name="LucidaGrande"/>
|
||||
</box>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
<connections>
|
||||
<binding destination="z7a-RX-pNz" name="selectedIndex" keyPath="values.SBMovieViewSelectedTab" id="KmJ-1f-S0j"/>
|
||||
</connections>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<animations/>
|
||||
<point key="canvasLocation" x="422" y="477"/>
|
||||
</customView>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="167" userLabel="Preset Save">
|
||||
@@ -667,7 +637,6 @@
|
||||
<textField verticalHuggingPriority="750" id="173">
|
||||
<rect key="frame" x="17" y="90" width="87" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Preset Name:" id="174">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -677,7 +646,6 @@
|
||||
<textField verticalHuggingPriority="750" id="171">
|
||||
<rect key="frame" x="20" y="60" width="306" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<animations/>
|
||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="176">
|
||||
<font key="font" metaFont="system"/>
|
||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -687,7 +655,6 @@
|
||||
<button verticalHuggingPriority="750" id="170">
|
||||
<rect key="frame" x="236" y="12" width="96" height="32"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="177">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -702,7 +669,6 @@ DQ
|
||||
<button verticalHuggingPriority="750" id="169">
|
||||
<rect key="frame" x="140" y="12" width="96" height="32"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
|
||||
<animations/>
|
||||
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="178">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="system"/>
|
||||
@@ -715,9 +681,9 @@ Gw
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<animations/>
|
||||
</view>
|
||||
</window>
|
||||
<userDefaultsController representsSharedInstance="YES" id="z7a-RX-pNz"/>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="NSAddTemplate" width="11" height="11"/>
|
||||
|
||||
@@ -181,9 +181,13 @@
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
<connections>
|
||||
<binding destination="4fy-2Z-RG4" name="selectedIndex" keyPath="values.SBAudioViewSelectedTab" id="1E1-hV-2e3"/>
|
||||
</connections>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="238" y="237"/>
|
||||
</customView>
|
||||
<userDefaultsController representsSharedInstance="YES" id="4fy-2Z-RG4"/>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -416,9 +416,13 @@
|
||||
</view>
|
||||
</tabViewItem>
|
||||
</tabViewItems>
|
||||
<connections>
|
||||
<binding destination="D8b-lE-U3e" name="selectedIndex" keyPath="values.SBVideoViewSelectedTab" id="GqG-rq-acB"/>
|
||||
</connections>
|
||||
</tabView>
|
||||
</subviews>
|
||||
<point key="canvasLocation" x="167" y="-220.5"/>
|
||||
</customView>
|
||||
<userDefaultsController representsSharedInstance="YES" id="D8b-lE-U3e"/>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -132,7 +132,7 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
|
||||
[[undo prepareWithInvocationTarget:self] remove:data];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Insert"];
|
||||
[undo setActionName:NSLocalizedString(@"Insert", @"Undo tag insert.")];
|
||||
}
|
||||
|
||||
[self updateTagsArray];
|
||||
@@ -151,7 +151,7 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
|
||||
[[undo prepareWithInvocationTarget:self] add:data];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Delete"];
|
||||
[undo setActionName:NSLocalizedString(@"Delete", @"Undo tag delete")];
|
||||
}
|
||||
|
||||
[self updateTagsArray];
|
||||
@@ -194,7 +194,7 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
|
||||
[[undo prepareWithInvocationTarget:self] updateMetadata:oldValue
|
||||
forKey:key];
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Editing"];
|
||||
[undo setActionName:NSLocalizedString(@"Editing", @"Undo tag editing.")];
|
||||
}
|
||||
}
|
||||
[oldValue release];
|
||||
@@ -286,23 +286,23 @@ NSString *MetadataPBoardType = @"SublerMetadataPBoardType";
|
||||
[setListMenu removeItemAtIndex: 1];
|
||||
}
|
||||
|
||||
NSMenuItem *newItem = [[[NSMenuItem alloc] initWithTitle:@"Save Set" action:@selector(showSaveSet:) keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *newItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Save Set", @"Set menu") action:@selector(showSaveSet:) keyEquivalent:@""] autorelease];
|
||||
[newItem setTarget:self];
|
||||
[setListMenu addItem:newItem];
|
||||
|
||||
[setListMenu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:@"All" action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"All", @"Set menu All set") action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
[newItem setTarget:self];
|
||||
[newItem setTag: 0];
|
||||
[setListMenu addItem:newItem];
|
||||
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:@"Movie" action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Movie", @"Set menu Movie set") action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
[newItem setTarget:self];
|
||||
[newItem setTag: 1];
|
||||
[setListMenu addItem:newItem];
|
||||
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:@"TV Show" action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
newItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"TV Show", @"Set menu TV Show Set") action:@selector(addMetadataSet:) keyEquivalent:@""] autorelease];
|
||||
[newItem setTarget:self];
|
||||
[newItem setTag: 2];
|
||||
[setListMenu addItem:newItem];
|
||||
@@ -598,7 +598,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
[[undo prepareWithInvocationTarget:self] changeGapless: self];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Check Gapless"];
|
||||
[undo setActionName:NSLocalizedString(@"Check Gapless", @"Undo check gapless")];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -621,7 +621,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
[[undo prepareWithInvocationTarget:self] changePodcast: self];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Check Podast"];
|
||||
[undo setActionName:NSLocalizedString(@"Check Podast", @"Undo check podcast")];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -328,6 +328,8 @@ static NSString *getLevelName(uint8_t level) {
|
||||
|
||||
[_forced release];
|
||||
|
||||
[_mediaTagsController release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
||||
@@ -75,9 +75,9 @@
|
||||
NSInteger result;
|
||||
if (status == SBQueueStatusWorking) {
|
||||
result = NSRunCriticalAlertPanel(
|
||||
NSLocalizedString(@"Are you sure you want to quit Subler?", nil),
|
||||
NSLocalizedString(@"Your current queue will be lost. Do you want to quit anyway?", nil),
|
||||
NSLocalizedString(@"Quit", nil), NSLocalizedString(@"Don't Quit", nil), nil);
|
||||
NSLocalizedString(@"Are you sure you want to quit Subler?", @"Quit alert title."),
|
||||
NSLocalizedString(@"Your current queue will be lost. Do you want to quit anyway?", @"Quit alert description."),
|
||||
NSLocalizedString(@"Quit", @"Quit alert default action."), NSLocalizedString(@"Don't Quit", @"Quict alert cancel action."), nil);
|
||||
|
||||
if (result == NSAlertDefaultReturn) {
|
||||
return NSTerminateNow;
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
[optBar setIndeterminate:YES];
|
||||
[optBar startAnimation:self];
|
||||
[saveOperationName setStringValue:@"Saving…"];
|
||||
[saveOperationName setStringValue:NSLocalizedString(@"Saving…", @"Document Saving sheet.")];
|
||||
[NSApp beginSheet:savingWindow modalForWindow:documentWindow
|
||||
modalDelegate:nil didEndSelector:NULL contextInfo:nil];
|
||||
});
|
||||
@@ -219,7 +219,7 @@
|
||||
|
||||
if (result && _optimize) {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[saveOperationName setStringValue:@"Optimizing…"];
|
||||
[saveOperationName setStringValue:NSLocalizedString(@"Optimizing…", @"Document Optimize sheet.")];
|
||||
});
|
||||
result = [self.mp4 optimize];
|
||||
_optimize = NO;
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
}
|
||||
}
|
||||
else {
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:@"Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:0];
|
||||
[item setEnabled:YES];
|
||||
[[actionCell menu] addItem:item];
|
||||
@@ -227,7 +227,7 @@
|
||||
}
|
||||
else if ([track isMemberOfClass:[MP42SubtitleTrack class]]) {
|
||||
NSInteger tag = 0;
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:@"Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:tag++];
|
||||
if (!trackNeedConversion(track.format)) {
|
||||
[item setEnabled:YES];
|
||||
@@ -246,14 +246,14 @@
|
||||
}
|
||||
}
|
||||
else if ([track isMemberOfClass:[MP42ClosedCaptionTrack class]]) {
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:@"Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:0];
|
||||
[item setEnabled:YES];
|
||||
[[actionCell menu] addItem:item];
|
||||
}
|
||||
else if ([track isMemberOfClass:[MP42AudioTrack class]]) {
|
||||
NSInteger tag = 0;
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:@"Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:tag++];
|
||||
if (!trackNeedConversion(track.format))
|
||||
[item setEnabled:YES];
|
||||
@@ -273,7 +273,7 @@
|
||||
[track.format isEqualTo:MP42AudioFormatEAC3] ||
|
||||
[track.format isEqualTo:MP42AudioFormatDTS])
|
||||
{
|
||||
item = [[[NSMenuItem alloc] initWithTitle:@"AAC + Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"AAC + Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:tag++];
|
||||
[item setEnabled:YES];
|
||||
[[actionCell menu] addItem:item];
|
||||
@@ -281,7 +281,7 @@
|
||||
|
||||
}
|
||||
else if ([track isMemberOfClass:[MP42ChapterTrack class]]) {
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:@"Passthru" action:NULL keyEquivalent:@""] autorelease];
|
||||
NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Passthru", @"File Import action menu item.") action:NULL keyEquivalent:@""] autorelease];
|
||||
[item setTag:0];
|
||||
[item setEnabled:YES];
|
||||
[[actionCell menu] addItem:item];
|
||||
|
||||
@@ -110,16 +110,16 @@ NS_ASSUME_NONNULL_END
|
||||
}
|
||||
|
||||
+ (nullable NSString *)localizedTitleForTag:(NSString *)tag {
|
||||
NSDictionary *localizedDescriptions = @{@"public.main-program-content": NSLocalizedString(@"Main Program Content", nil),
|
||||
@"public.auxiliary-content": NSLocalizedString(@"Auxiliary Content", nil),
|
||||
@"public.subtitles.forced-only": NSLocalizedString(@"Contains Only Forced Subtitles", nil),
|
||||
@"public.accessibility.transcribes-spoken-dialog": NSLocalizedString(@"Transcribes Spoken Dialog For Accessibility", nil),
|
||||
@"public.accessibility.describes-music-and-sound": NSLocalizedString(@"Describes Music And Sound For Accessibility", nil),
|
||||
@"public.easy-to-read": NSLocalizedString(@"Easy To Read", nil),
|
||||
@"public.accessibility.describes-video": NSLocalizedString(@"Describes Video For Accessibility", nil),
|
||||
@"public.translation.dubbed": NSLocalizedString(@"Dubbed Translation", nil),
|
||||
@"public.translation.voice-over": NSLocalizedString(@"Voice Over Translation", nil),
|
||||
@"public.translation": NSLocalizedString(@"Language Translation", nil) };
|
||||
NSDictionary *localizedDescriptions = @{@"public.main-program-content": NSLocalizedString(@"Main Program Content", @"Media characteristic."),
|
||||
@"public.auxiliary-content": NSLocalizedString(@"Auxiliary Content", @"Media characteristic."),
|
||||
@"public.subtitles.forced-only": NSLocalizedString(@"Contains Only Forced Subtitles", @"Media characteristic."),
|
||||
@"public.accessibility.transcribes-spoken-dialog": NSLocalizedString(@"Transcribes Spoken Dialog For Accessibility", @"Media characteristic."),
|
||||
@"public.accessibility.describes-music-and-sound": NSLocalizedString(@"Describes Music And Sound For Accessibility", @"Media characteristic."),
|
||||
@"public.easy-to-read": NSLocalizedString(@"Easy To Read", @"Media characteristic."),
|
||||
@"public.accessibility.describes-video": NSLocalizedString(@"Describes Video For Accessibility", @"Media characteristic."),
|
||||
@"public.translation.dubbed": NSLocalizedString(@"Dubbed Translation", @"Media characteristic."),
|
||||
@"public.translation.voice-over": NSLocalizedString(@"Voice Over Translation", @"Media characteristic."),
|
||||
@"public.translation": NSLocalizedString(@"Language Translation", @"Media characteristic.") };
|
||||
return localizedDescriptions[tag];
|
||||
}
|
||||
|
||||
|
||||
@@ -301,10 +301,10 @@
|
||||
|
||||
[addButton setEnabled:NO];
|
||||
if (self.selectedResult.mediaKind == 9) {
|
||||
[self startProgressReportWithString:@"Downloading additional movie metadata…"];
|
||||
[self startProgressReportWithString:NSLocalizedString(@"Downloading additional movie metadata…", nil)];
|
||||
self.currentSearcher = [SBMetadataImporter importerForProvider:[[movieMetadataProvider selectedItem] title]];
|
||||
} else if (self.selectedResult.mediaKind == 10) {
|
||||
[self startProgressReportWithString:@"Downloading additional TV metadata…"];
|
||||
[self startProgressReportWithString:NSLocalizedString(@"Downloading additional TV metadata…", nil)];
|
||||
self.currentSearcher = [SBMetadataImporter importerForProvider:[[tvMetadataProvider selectedItem] title]];
|
||||
}
|
||||
|
||||
@@ -348,7 +348,7 @@
|
||||
if (indexes.count) {
|
||||
[progress startAnimation:self];
|
||||
[progress setHidden:NO];
|
||||
[progressText setStringValue:@"Downloading artwork…"];
|
||||
[progressText setStringValue:NSLocalizedString(@"Downloading artwork…", nil)];
|
||||
[progressText setHidden:NO];
|
||||
[tvSeriesName setEnabled:NO];
|
||||
[tvSeasonNum setEnabled:NO];
|
||||
|
||||
@@ -182,7 +182,7 @@ static void *SBOptionsViewContex = &SBOptionsViewContex;
|
||||
panel.canChooseDirectories = YES;
|
||||
panel.canCreateDirectories = YES;
|
||||
|
||||
[panel setPrompt:@"Select"];
|
||||
[panel setPrompt:NSLocalizedString(@"Select", @"Select queue destination.")];
|
||||
[panel beginWithCompletionHandler:^(NSInteger result) {
|
||||
if (result == NSFileHandlingPanelOKButton) {
|
||||
NSMenuItem *folderItem = [self prepareDestPopupItem:[panel URL]];
|
||||
|
||||
+1
-1
@@ -254,7 +254,7 @@ NSString *SBQueueCancelledNotification = @"SBQueueCancelledNotification";
|
||||
- (void)handleSBStatusWorking:(CGFloat)progress index:(NSInteger)index {
|
||||
NSString *description = self.currentItem.localizedWorkingDescription;
|
||||
if (!description) {
|
||||
description = NSLocalizedString(@"Working", @"");
|
||||
description = NSLocalizedString(@"Working", @"Queue Working.");
|
||||
}
|
||||
NSString *info = [NSString stringWithFormat:@"%@, item %ld of %lu.", description, (long)self.currentIndex + 1, (unsigned long)self.items.count];
|
||||
|
||||
|
||||
@@ -65,11 +65,11 @@
|
||||
}
|
||||
|
||||
- (NSString *)description {
|
||||
return NSLocalizedString(@"Load Subtitles", @"");
|
||||
return NSLocalizedString(@"Load Subtitles", @"Action description.");
|
||||
}
|
||||
|
||||
- (NSString *)localizedDescription {
|
||||
return NSLocalizedString(@"Loading subtitles", @"");
|
||||
return NSLocalizedString(@"Loading subtitles", @"Action localized description.");
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder {
|
||||
@@ -206,11 +206,11 @@
|
||||
}
|
||||
|
||||
- (NSString *)description {
|
||||
return NSLocalizedString(@"Search Metadata", @"");
|
||||
return NSLocalizedString(@"Search Metadata", @"Action description.");
|
||||
}
|
||||
|
||||
- (NSString *)localizedDescription {
|
||||
return NSLocalizedString(@"Searching metadata", @"");
|
||||
return NSLocalizedString(@"Searching metadata", @"Action localized description.");
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder {
|
||||
@@ -281,11 +281,11 @@
|
||||
}
|
||||
|
||||
- (NSString *)description {
|
||||
return NSLocalizedString(@"Organize Groups", @"");
|
||||
return NSLocalizedString(@"Organize Groups", @"Organize Groups action description");
|
||||
}
|
||||
|
||||
- (NSString *)localizedDescription {
|
||||
return NSLocalizedString(@"Organizing groups", @"");
|
||||
return NSLocalizedString(@"Organizing groups", @"Organize Groups action local description");
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder {
|
||||
@@ -308,11 +308,11 @@
|
||||
}
|
||||
|
||||
- (NSString *)description {
|
||||
return NSLocalizedString(@"Fixing Fallbacks", @"");
|
||||
return NSLocalizedString(@"Fixing Fallbacks", @"Action description.");
|
||||
}
|
||||
|
||||
- (NSString *)localizedDescription {
|
||||
return NSLocalizedString(@"Fixing Fallbacks", @"");
|
||||
return NSLocalizedString(@"Fixing Fallbacks", @"Action localized description.");
|
||||
}
|
||||
|
||||
- (instancetype)initWithCoder:(NSCoder *)coder {
|
||||
|
||||
@@ -114,7 +114,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
[_progressIndicator setDoubleValue:0];
|
||||
[_progressIndicator setIndeterminate:YES];
|
||||
[_startItem setImage:[NSImage imageNamed:@"playBackTemplate"]];
|
||||
[_countLabel setStringValue:@"Done"];
|
||||
[_countLabel setStringValue:NSLocalizedString(@"Done", @"Queue -> Done")];
|
||||
|
||||
[self updateUI];
|
||||
}];
|
||||
@@ -325,7 +325,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
[[undo prepareWithInvocationTarget:self] removeItems:items];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Add Queue Item"];
|
||||
[undo setActionName:NSLocalizedString(@"Add Queue Item", @"Queue -> redo add item.")];
|
||||
}
|
||||
if ([undo isUndoing] || [undo isRedoing])
|
||||
[self updateUI];
|
||||
@@ -352,7 +352,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
[[undo prepareWithInvocationTarget:self] addItems:items atIndexes:indexes];
|
||||
|
||||
if (![undo isUndoing]) {
|
||||
[undo setActionName:@"Delete Queue Item"];
|
||||
[undo setActionName:NSLocalizedString(@"Delete Queue Item", @"Queue -> Undo delete item.")];
|
||||
}
|
||||
if ([undo isUndoing] || [undo isRedoing])
|
||||
[self updateUI];
|
||||
@@ -485,7 +485,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
return;
|
||||
|
||||
[_startItem setImage:[NSImage imageNamed:@"stopTemplate"]];
|
||||
[_countLabel setStringValue:@"Working."];
|
||||
[_countLabel setStringValue:NSLocalizedString(@"Working.", @"Queue -> Working")];
|
||||
[_progressIndicator setHidden:NO];
|
||||
[_progressIndicator startAnimation:self];
|
||||
|
||||
|
||||
@@ -26,20 +26,20 @@
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="OVt-kN-7yA">
|
||||
<rect key="frame" x="109" y="0.0" width="257" height="211"/>
|
||||
<rect key="frame" x="109" y="0.0" width="264" height="211"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="2RG-9j-Jli">
|
||||
<rect key="frame" x="0.0" y="0.0" width="257" height="211"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="264" height="211"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowSizeStyle="automatic" viewBased="YES" id="xYT-Aq-WLl">
|
||||
<rect key="frame" x="0.0" y="0.0" width="257" height="211"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="264" height="211"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<size key="intercellSpacing" width="3" height="2"/>
|
||||
<color key="backgroundColor" red="0.85882352941176465" green="0.85882352941176465" blue="0.85882352941176465" alpha="0.0" colorSpace="calibratedRGB"/>
|
||||
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
|
||||
<tableColumns>
|
||||
<tableColumn width="254" minWidth="40" maxWidth="1000" id="k1h-0t-8js">
|
||||
<tableColumn width="261" minWidth="40" maxWidth="1000" id="k1h-0t-8js">
|
||||
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||
@@ -53,7 +53,7 @@
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="SBCheckBoxTableCellView" id="4lR-R3-Fc6" customClass="SBCheckBoxTableCellView">
|
||||
<rect key="frame" x="1" y="1" width="254" height="17"/>
|
||||
<rect key="frame" x="1" y="1" width="261" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button id="4eC-LC-PTJ">
|
||||
|
||||
+1
-1
Submodule MP42Foundation updated: 82dfc1b0f6...a33fcd02a0.
@@ -1240,6 +1240,7 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||
CLANG_ANALYZER_LOCALIZABILITY = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
|
||||
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
|
||||
@@ -1299,6 +1300,7 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
CLANG_ANALYZER_LOCALIZABILITY = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
|
||||
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
|
||||
|
||||
Reference in new issue
Block a user