Skip to content

Commit

Permalink
Replace OS X and Mac OS with macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jun 18, 2016
1 parent 52350b5 commit 67dd19e
Show file tree
Hide file tree
Showing 157 changed files with 650 additions and 650 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
* :non-potable_water: `:non-potable_water:` 메모리 누수를 연결했을 때
* :memo: `:memo:` 문서를 작성했을 때
* :penguin: `:penguin:` Linux에 대한 패치를 했을 때
* :apple: `:apple:` Mac OS에 대한 패치를 했을 때
* :apple: `:apple:` macOS에 대한 패치를 했을 때
* :checkered_flag: `:checkered_flag:` Windows에 대한 패치를 했을 때
* :bug: `:bug:` 버그를 고쳤을 때
* :fire: `:fire:` 코드 또는 파일을 삭제했을 때
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ possible with your report. If you can, please include:
* :non-potable_water: `:non-potable_water:` when plugging memory leaks
* :memo: `:memo:` when writing docs
* :penguin: `:penguin:` when fixing something on Linux
* :apple: `:apple:` when fixing something on Mac OS
* :apple: `:apple:` when fixing something on macOS
* :checkered_flag: `:checkered_flag:` when fixing something on Windows
* :bug: `:bug:` when fixing a bug
* :fire: `:fire:` when removing code or files
Expand Down
2 changes: 1 addition & 1 deletion README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Electron에 대한 중요한 알림을 받고 싶다면 Twitter에서

## 다운로드

Linux, Windows, OS X 용으로 미리 빌드된 Electron 바이너리와 디버그 심볼이 준비되어
Linux, Windows, macOS 용으로 미리 빌드된 Electron 바이너리와 디버그 심볼이 준비되어
있습니다. [releases](https://github.com/electron/electron/releases) 페이지에서
받아 볼 수 있습니다.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ behavior to electron@github.com.

## Downloads

Prebuilt binaries and debug symbols of Electron for Linux, Windows and OS X can
Prebuilt binaries and debug symbols of Electron for Linux, Windows and macOS can
be found on the [releases](https://github.com/electron/electron/releases) page.

You can also use [`npm`](https://docs.npmjs.com/) to install prebuilt electron
Expand Down
2 changes: 1 addition & 1 deletion atom/browser/atom_browser_main_parts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
#endif

#if !defined(OS_MACOSX)
// The corresponding call in OS X is in AtomApplicationDelegate.
// The corresponding call in macOS is in AtomApplicationDelegate.
Browser::Get()->WillFinishLaunching();
Browser::Get()->DidFinishLaunching();
#endif
Expand Down
2 changes: 1 addition & 1 deletion atom/browser/browser_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
if (!bundleList) {
return false;
}
// On Mac OS X, we can't query the default, but the handlers list seems to put
// On macOS, we can't query the default, but the handlers list seems to put
// Apple's defaults first, so we'll use the first option that isn't our bundle
CFStringRef other = nil;
for (CFIndex i = 0; i < CFArrayGetCount(bundleList); i++) {
Expand Down
4 changes: 2 additions & 2 deletions atom/browser/browser_observer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BrowserObserver {
virtual void OnQuit() {}

// The browser has opened a file by double clicking in Finder or dragging the
// file to the Dock icon. (OS X only)
// file to the Dock icon. (macOS only)
virtual void OnOpenFile(bool* prevent_default,
const std::string& file_path) {}

Expand All @@ -53,7 +53,7 @@ class BrowserObserver {
const base::DictionaryValue& request_details) {}

#if defined(OS_MACOSX)
// The browser wants to resume a user activity via handoff. (OS X only)
// The browser wants to resume a user activity via handoff. (macOS only)
virtual void OnContinueUserActivity(
bool* prevent_default,
const std::string& type,
Expand Down
2 changes: 1 addition & 1 deletion atom/browser/native_window.h
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class NativeWindow : public base::SupportsUserData,
base::CancelableClosure window_unresposive_closure_;

// Used to display sheets at the appropriate horizontal and vertical offsets
// on OS X.
// on macOS.
double sheet_offset_x_;
double sheet_offset_y_;

Expand Down
10 changes: 5 additions & 5 deletions atom/browser/native_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ - (void)windowWillExitFullScreen:(NSNotification*)notification {
}

- (void)windowDidExitFullScreen:(NSNotification*)notification {
// For certain versions of OS X the fullscreen button will automatically show
// For certain versions of macOS the fullscreen button will automatically show
// after exiting fullscreen mode.
if (!shell_->has_frame()) {
NSWindow* window = shell_->GetNativeWindow();
Expand Down Expand Up @@ -537,7 +537,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
[window_ setToolbar:toolbar];
}

// On OS X the initial window size doesn't include window frame.
// On macOS the initial window size doesn't include window frame.
bool use_content_size = false;
options.Get(options::kUseContentSize, &use_content_size);
if (!has_frame() || !use_content_size)
Expand Down Expand Up @@ -1041,7 +1041,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
[[window_ standardWindowButton:NSWindowMiniaturizeButton] setHidden:YES];
[[window_ standardWindowButton:NSWindowCloseButton] setHidden:YES];

// Some third-party OS X utilities check the zoom button's enabled state to
// Some third-party macOS utilities check the zoom button's enabled state to
// determine whether to show custom UI on hover, so we disable it here to
// prevent them from doing so in a frameless app window.
[[window_ standardWindowButton:NSWindowZoomButton] setEnabled:NO];
Expand Down Expand Up @@ -1111,7 +1111,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
else
[window_ setStyleMask:[window_ styleMask] & (~flag)];
// Change style mask will make the zoom button revert to default, probably
// a bug of Cocoa or OS X.
// a bug of Cocoa or macOS.
if (!zoom_button_enabled)
SetMaximizable(false);
}
Expand All @@ -1123,7 +1123,7 @@ static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
else
[window_ setCollectionBehavior:[window_ collectionBehavior] & (~flag)];
// Change collectionBehavior will make the zoom button revert to default,
// probably a bug of Cocoa or OS X.
// probably a bug of Cocoa or macOS.
if (!zoom_button_enabled)
SetMaximizable(false);
}
Expand Down
2 changes: 1 addition & 1 deletion atom/browser/ui/message_box_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ - (void)alertDidEnd:(NSAlert*)alert

for (size_t i = 0; i < buttons.size(); ++i) {
NSString* title = base::SysUTF8ToNSString(buttons[i]);
// An empty title causes crash on OS X.
// An empty title causes crash on macOS.
if (buttons[i].empty())
title = @"(empty)";
NSButton* button = [alert addButtonWithTitle:title];
Expand Down
4 changes: 2 additions & 2 deletions atom/browser/ui/tray_icon.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ class TrayIcon {
virtual void SetToolTip(const std::string& tool_tip) = 0;

// Sets the title displayed aside of the status icon in the status bar. This
// only works on OS X.
// only works on macOS.
virtual void SetTitle(const std::string& title);

// Sets whether the status icon is highlighted when it is clicked. This only
// works on OS X.
// works on macOS.
virtual void SetHighlightMode(bool highlight);

// Displays a notification balloon with the specified contents.
Expand Down
4 changes: 2 additions & 2 deletions atom/browser/ui/tray_icon_cocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

namespace {

// By default, OS X sets 4px to tray image as left and right padding margin.
// By default, macOS sets 4px to tray image as left and right padding margin.
const CGFloat kHorizontalMargin = 4;
// OS X tends to make the title 2px lower.
// macOS tends to make the title 2px lower.
const CGFloat kVerticalTitleMargin = 2;

} // namespace
Expand Down
2 changes: 1 addition & 1 deletion atom/common/api/atom_bindings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ v8::Local<v8::Value> GetSystemMemoryInfo(v8::Isolate* isolate,
dict.Set("total", mem_info.total);
dict.Set("free", mem_info.free);

// NB: These return bogus values on OS X
// NB: These return bogus values on macOS
#if !defined(OS_MACOSX)
dict.Set("swapTotal", mem_info.swap_total);
dict.Set("swapFree", mem_info.swap_free);
Expand Down
2 changes: 1 addition & 1 deletion atom/common/node_includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#undef DISALLOW_COPY_AND_ASSIGN
#undef NO_RETURN
#undef arraysize
#undef debug_string // This is defined in OS X 10.9 SDK in AssertMacros.h.
#undef debug_string // This is defined in macOS 10.9 SDK in AssertMacros.h.
#include "vendor/node/src/env.h"
#include "vendor/node/src/env-inl.h"
#include "vendor/node/src/node.h"
Expand Down
2 changes: 1 addition & 1 deletion atom/common/options_switches.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const char kType[] = "type";
// Disable auto-hiding cursor.
const char kDisableAutoHideCursor[] = "disableAutoHideCursor";

// Use the OS X's standard window instead of the textured window.
// Use the macOS's standard window instead of the textured window.
const char kStandardWindow[] = "standardWindow";

// Default browser window background color.
Expand Down
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
],
'conditions': [
['OS=="mac" and libchromiumcontent_component==0', {
# -all_load is the "whole-archive" on OS X.
# -all_load is the "whole-archive" on macOS.
'xcode_settings': {
'OTHER_LDFLAGS': [ '-Wl,-all_load' ],
},
Expand Down
2 changes: 1 addition & 1 deletion docs-translations/es/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ El objeto `process` tiene los siguientes métodos:
Interrumpe el hilo principal del proceso actual.


### process.setFdLimit(maxDescriptors) _OS X_ _Linux_
### process.setFdLimit(maxDescriptors) _macOS_ _Linux_

* `maxDescriptors` Integer

Expand Down
6 changes: 3 additions & 3 deletions docs-translations/es/development/build-instructions-osx.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#Instrucciones de Compilación (Mac)
Siga las siguientes pautas para la construcción de Electron en OS X.
Siga las siguientes pautas para la construcción de Electron en macOS.

#Requisitos previos

`OS X >= 10.8`
`macOS >= 10.8`
`Xcode >= 5.1`
`node.js (external)`

Expand Down Expand Up @@ -36,7 +36,7 @@ Después de la construcción está hecho, usted puede encontrar `Electron.app` b

#Soporte de 32bit

Electron sólo puede construirse para un objetivo de 64 bits en OS X y no hay un plan para apoyar a 32 bit OS X en el futuro.
Electron sólo puede construirse para un objetivo de 64 bits en macOS y no hay un plan para apoyar a 32 bit macOS en el futuro.

#Pruebas

Expand Down
2 changes: 1 addition & 1 deletion docs-translations/es/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Estas son las maneras en las que construimos la documentación de Electron.
- Argumentos opcionales son denotados cuando se llaman en listas.
- Delimitador de línea de 80-columnas.
- Métodos específicos de Plataformas son denotados en itálicas seguidas por la cabecera del método.
- ```### `method(foo, bar)` _OS X_```
- ```### `method(foo, bar)` _macOS_```
- Preferir 'en el ___ proceso' en lugar de 'sobre el'

### Traducciones de la Documentación
Expand Down
4 changes: 2 additions & 2 deletions docs-translations/es/tutorial/application-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aplicación deberá llamarse `app`, y ser colocado debajo del directorio de
recursos de Electron (en OSX es `Electron.app/Contents/Resources/`, en Linux y
Windows es `resources/`), de esta forma:

En OS X:
En macOS:

```text
electron/Electron.app/Contents/Resources/app/
Expand Down Expand Up @@ -37,7 +37,7 @@ Para utilizar un archivo `asar` en reemplazo del directorio `app`, debes de
renombrar el archivo a `app.asar`, y colocarlo por debajo el directorio de recursos
de Electron (ver en seguida), Electron intentará leer el archivo y arrancar desde el.

En OS X:
En macOS:

```text
electron/Electron.app/Contents/Resources/
Expand Down
12 changes: 6 additions & 6 deletions docs-translations/es/tutorial/desktop-environment-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ en la JumpList de la barra de tareas, y en Mac, las aplicaciones pueden agregar

Esta guía explica cómo integrar tu aplicación en esos entornos de escritorio a través de las APIs de Electron.

## Documentos recientes (Windows y OS X)
## Documentos recientes (Windows y macOS)

Windows y OS X proveen un acceso sencillo a la lista de documentos recientes.
Windows y macOS proveen un acceso sencillo a la lista de documentos recientes.

__JumpList:__

Expand Down Expand Up @@ -42,14 +42,14 @@ registrar tu aplicación en [Application Registration][app-registration].
Cuando un usuario haga click en un archivo de la JumpList, una nueva instancia de tu aplicación
se iniciará, la ruta del archivo se agregará como un argumento de la línea de comandos.

### Notas sobre OS X
### Notas sobre macOS

Cuando un archivo es solicitado desde el menú de documentos recientes, el evento `open-file`
del módulo `app` será emitido.

## Menú dock personalizado (OS X)
## Menú dock personalizado (macOS)

OS X permite a los desarrolladores definir un menú personalizado para el dock,
macOS permite a los desarrolladores definir un menú personalizado para el dock,
el cual usualmente contiene algunos accesos directos a las características más comunes
de tu aplicación:

Expand Down Expand Up @@ -99,7 +99,7 @@ __Tareas de Internet Explorer:__

![IE](http://i.msdn.microsoft.com/dynimg/IC420539.png)

A diferencia del menú dock en OS X, el cual es un menú real, las tareas de usuario en Windows
A diferencia del menú dock en macOS, el cual es un menú real, las tareas de usuario en Windows
funcionan como accesos directos de aplicación, que al ser clickeados, lanzan el programa
con argumentos específicos.

Expand Down
4 changes: 2 additions & 2 deletions docs-translations/es/tutorial/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var mainWindow = null;

// Salir de todas las ventanas cuando se cierren.
app.on('window-all-closed', function() {
// En OS X es común que las aplicaciones y su barra de menú
// En macOS es común que las aplicaciones y su barra de menú
// se mantengan activas hasta que el usuario cierre la aplicación
// explícitamente utilizando Cmd + Q
if (process.platform != 'darwin') {
Expand Down Expand Up @@ -139,7 +139,7 @@ En Linux:
$ ./electron/electron your-app/
```

En OS X:
En macOS:

```bash
$ ./Electron.app/Contents/MacOS/Electron your-app/
Expand Down
6 changes: 3 additions & 3 deletions docs-translations/es/tutorial/supported-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Las siguientes plataformas son soportadas por Electron:

### OS X
### macOS

Sólo se proveen binarios de 64 bit para OS X.
La versión mínima soportada es OS X 10.8.
Sólo se proveen binarios de 64 bit para macOS.
La versión mínima soportada es macOS 10.8.

### Windows

Expand Down
2 changes: 1 addition & 1 deletion docs-translations/es/tutorial/using-pepper-flash-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app.on('window-all-closed', function() {

// Specify flash path.
// On Windows, it might be /path/to/pepflashplayer.dll
// On OS X, /path/to/PepperFlashPlayer.plugin
// On macOS, /path/to/PepperFlashPlayer.plugin
// On Linux, /path/to/libpepflashplayer.so
app.commandLine.appendSwitch('ppapi-flash-path', '/path/to/libpepflashplayer.so');

Expand Down
2 changes: 1 addition & 1 deletion docs-translations/fr-FR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ dans la FAQ :
* [Hiérarchie du Code Source](development/source-code-directory-structure.md)
* [Différences Techniques par rapport à NW.js (anciennement node-webkit)](development/atom-shell-vs-node-webkit.md)
* [Aperçu du Système de Build](development/build-system-overview.md)
* [Instructions de Build (OS X)](development/build-instructions-osx.md)
* [Instructions de Build (macOS)](development/build-instructions-osx.md)
* [Instructions de Build (Windows)](development/build-instructions-windows.md)
* [Instructions de Build (Linux)](development/build-instructions-linux.md)
* [Installer un Serveur de Symbol dans le debugger](development/setting-up-symbol-server.md)
2 changes: 1 addition & 1 deletion docs-translations/fr-FR/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ La documentation d'Electron a été écrite en suivant les règles ci-dessous :
- Les arguments optionnels sont indiqués quand appelés dans la liste.
- La longueur des lignes ne dépasse pas 80 caractères.
- Les méthodes spécifiques à une plateforme sont notées en italique.
- ```### `method(foo, bar)` _OS X_```
- ```### `method(foo, bar)` _macOS_```
- Préférer 'in the ___ process' au lieu de 'on'

### Traductions de la Documentation
Expand Down
2 changes: 1 addition & 1 deletion docs-translations/jp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ _リンクになっていないリストは未翻訳のものです。_
* Source Code Directory Structure (development/source-code-directory-structure.md)
* Technical Differences to NW.js (formerly node-webkit)(development/atom-shell-vs-node-webkit.md)
* Build System Overview (development/build-system-overview.md)
* Build Instructions (OS X) (development/build-instructions-osx.md)
* Build Instructions (macOS) (development/build-instructions-osx.md)
* Build Instructions (Windows) (development/build-instructions-windows.md)
* Build Instructions (Linux) (development/build-instructions-linux.md)
* Debug Instructions (Windows) (development/debug-instructions-windows.md)
Expand Down
4 changes: 2 additions & 2 deletions docs-translations/jp/api/accelerator.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ acceleratorは、キーボードショートカットを示す文字列です。
## プラットフォームの留意点


OS Xでは`Command` キー、LinuxとWindowsでは`Control` キーを意味する`CommandOrControl`はいくつかのacceleratorを定義しますが、LinuxとWindowsでは、`Command` キーは何の効果もありません。
macOSでは`Command` キー、LinuxとWindowsでは`Control` キーを意味する`CommandOrControl`はいくつかのacceleratorを定義しますが、LinuxとWindowsでは、`Command` キーは何の効果もありません。

`Super` キーは、WindowsとLinuxでは `Windows` キーに、OS Xでは`Cmd` キーに関連付けられます。
`Super` キーは、WindowsとLinuxでは `Windows` キーに、macOSでは`Cmd` キーに関連付けられます。

## 提供されている修飾語句

Expand Down
Loading

0 comments on commit 67dd19e

Please sign in to comment.