Permalink
Browse files

Improved German Localization

  • Loading branch information...
1 parent 0961147 commit 6bcd156b7d56187e355ee79f9a31852a9d221fe6 @elasticthreads elasticthreads committed Sep 18, 2011
Showing with 160 additions and 285 deletions.
  1. +2 −2 AppController.m
  2. +1 −1 LinkingEditor.m
  3. +5 −0 NoteAttributeColumn.m
  4. +5 −2 NotesTableView.m
  5. +15 −0 de.lproj/Localizable.strings
  6. +32 −56 de.lproj/MainMenu.xib
  7. +20 −183 de.lproj/MarkupPreview.xib
  8. +80 −41 de.lproj/Preferences.xib
View
@@ -621,10 +621,10 @@ - (BOOL)validateMenuItem:(NSMenuItem*)menuItem {
return (numberSelected == 1) && [notationController currentNoteStorageFormat] != SingleDatabaseFormat;
} else if (selector == @selector(toggleCollapse:)) {
if ([notesSubview isCollapsed]) {
- [menuItem setTitle:@"Expand Notes List"];
+ [menuItem setTitle:NSLocalizedString(@"Expand Notes List",@"menu item title for expanding notes list")];
}else{
- [menuItem setTitle:@"Collapse Notes List"];
+ [menuItem setTitle:NSLocalizedString(@"Collapse Notes List",@"menu item title for collapsing notes list")];
if (!currentNote){
return NO;
View
@@ -1570,7 +1570,7 @@ - (void)setupFontMenu {
NSMenuItem *theMenuItem;
if(IsLeopardOrLater){
- theMenuItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Enter Full Screen",@"toggle fs menu item title") action:@selector(switchFullScreen:) keyEquivalent:@""] autorelease];
+ theMenuItem = [[[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Enter Full Screen",@"menu item title for entering fullscreen") action:@selector(switchFullScreen:) keyEquivalent:@""] autorelease];
[theMenuItem setTarget:[NSApp delegate]];
[theMenu addItem:theMenuItem];
}
View
@@ -44,6 +44,11 @@ + (NSDictionary*)standardDictionary {
return standardDictionary;
}
+- (void)sizeToFit{
+ NSLog(@"tablecolumn size to fit");
+ [super sizeToFit];
+}
+
- (void)updateWidthForHighlight {
[self setMinWidth:absoluteMinimumWidth + ([[self tableView] highlightedTableColumn] == self ? 10 : 0)];
View
@@ -331,8 +331,7 @@ - (void)_configureAttributesForCurrentLayout {
[self setRowHeight: horiz ? ([globalPrefs tableColumnsShowPreview] ? h[0] :
(ColumnIsSet(NoteLabelsColumn,[globalPrefs tableColumnsBitmap]) ? h[1] : h[2])) : h[3]];
[lm release];
-
- [self setIntercellSpacing:NSMakeSize(12, 2)];
+ [self setIntercellSpacing:NSMakeSize(12.0, 2.0)];
//[self setGridStyleMask:horiz ? NSTableViewSolidHorizontalGridLineMask : NSTableViewGridNone];
}
@@ -565,6 +564,10 @@ - (IBAction)actionHideShowColumn:(id)sender {
[self sizeToFit];
}
+- (void)sizeToFit{
+ [super sizeToFit];
+}
+
- (IBAction)toggleNoteBodyPreviews:(id)sender {
[globalPrefs setTableColumnsShowPreview: ![globalPrefs tableColumnsShowPreview] sender:self];
[self _configureAttributesForCurrentLayout];
@@ -648,3 +648,18 @@
/* prefix for source-URLs inserted into imported notes; e.g., "From <http://www.apple.com>: ..." */
"From" = "Von";
+
+/* insert link menu item title */
+"Insert Link" = "Link einfügen";
+
+/* menu item title for entering fullscreen */
+"Enter Full Screen" = "Vollbildmodus ein";
+
+/* menu item title for exiting fullscreen */
+"Exit Full Screen" = "Vollbildmodus aus";
+
+/* menu item title for expanding notes list */
+"Expand Notes List" = "Notizliste ausklappen";
+
+/* menu item title for collapsing notes list */
+"Collapse Notes List" = "Notizliste einklappen";
Oops, something went wrong.

0 comments on commit 6bcd156

Please sign in to comment.