Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed spelling error of "Quiting" to "Quitting", Issue 617 #623

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/browser/actions/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function quit() {
local.set('lastSavedAppState', getState());

// probably dim the screen to make it solemn
dispatch({type: 'QUITING'});
dispatch({type: 'QUITTING'});

// probably ask whether to save files here

Expand Down
6 changes: 3 additions & 3 deletions src/browser/components/dialogs/ask-quit.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export default React.createClass({

let content;

if (props.state === 'quiting' || props.state === 'quit') {
if (props.state === 'quitting' || props.state === 'quit') {
content = (
<div className={className.join(' ')}>
<div className="ask-quit__question">
{text.quiting}
{text.quitting}
</div>
</div>
);
Expand All @@ -43,7 +43,7 @@ export default React.createClass({
<div className="ask-quit__small-item">
<label>
<input checked={props.askQuit} onChange={props.onAskQuitChange} type="checkbox"/>
{text.alwaysAskBeforeQuiting}
{text.alwaysAskBeforeQuitting}
</label>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export function getInitialState() {
});
}

function quiting(state) {
return state.set('state', 'quiting');
function quitting(state) {
return state.set('state', 'quitting');
}

function quit(state) {
Expand All @@ -28,7 +28,7 @@ function changeSaved(state, action) {
}

export default mapReducers({
QUITING: quiting,
QUITTING: quitting,
QUIT: quit,
PREFERENCE_CHANGE_SAVED: changeSaved
}, {});
2 changes: 1 addition & 1 deletion src/browser/containers/preferences-viewer/layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
-
id: askQuit
key: askQuit
label: alwaysAskBeforeQuiting
label: alwaysAskBeforeQuitting
type: checkbox
value: true
-
Expand Down
4 changes: 2 additions & 2 deletions src/browser/containers/text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ add: Add
addEnvironmentVariable: Add Environment Variable
additionalEnvironmentVariablePath: Add to PATH
alreadySignedUp: You've already signed up for free stickers!
alwaysAskBeforeQuiting: Always ask before quiting
alwaysAskBeforeQuitting: Always ask before quitting
areYouSureYouWantToQuit: Are you sure you want to quit Rodeo?
bright: Bright
builtByYhat: >
Expand Down Expand Up @@ -91,7 +91,7 @@ tabSpaces: Tab Spaces
thankYou: Thanks!
theme: Theme
trackMetrics: Track Metrics
quiting: Quiting
quitting: Quitting
unableToRunSyscall: Unable to run
usageMetrics: |
To help us improve Rodeo, we anonymously track usage metrics, such as # of opens/closes, shortcuts used, and
Expand Down
2 changes: 1 addition & 1 deletion src/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function quitApplication() {
}
});
})).finally(() => {
log('info', 'quiting');
log('info', 'quitting');
app.quit();

if (process.platform === 'linux') {
Expand Down