Commit d8ad01bb6e18a150d53a4b4d2767cb0e0ca675a0
Exists in
master
and in
4 other branches
Merge pull request #3243 from lyda/misspellings
Result of misspellings run.
Showing
33 changed files
with
43 additions
and
43 deletions
Show diff stats
app/assets/javascripts/notes.js
app/assets/stylesheets/sections/notes.scss
app/controllers/merge_requests_controller.rb
| ... | ... | @@ -128,10 +128,10 @@ class MergeRequestsController < ProjectResourceController |
| 128 | 128 | end |
| 129 | 129 | |
| 130 | 130 | def validates_merge_request |
| 131 | - # Show git not found page if target branch doesnt exist | |
| 131 | + # Show git not found page if target branch doesn't exist | |
| 132 | 132 | return git_not_found! unless @project.repo.heads.map(&:name).include?(@merge_request.target_branch) |
| 133 | 133 | |
| 134 | - # Show git not found page if source branch doesnt exist | |
| 134 | + # Show git not found page if source branch doesn't exist | |
| 135 | 135 | # and there is no saved commits between source & target branch |
| 136 | 136 | return git_not_found! if !@project.repo.heads.map(&:name).include?(@merge_request.source_branch) && @merge_request.commits.blank? |
| 137 | 137 | end | ... | ... |
app/controllers/projects/teams_controller.rb
| ... | ... | @@ -4,7 +4,7 @@ class Projects::TeamsController < Projects::ApplicationController |
| 4 | 4 | @teams = current_user.is_admin? ? UserTeam.scoped : current_user.user_teams |
| 5 | 5 | @teams = @teams.without_project(project) |
| 6 | 6 | unless @teams.any? |
| 7 | - redirect_to project_team_index_path(project), notice: "No avaliable teams for assigment." | |
| 7 | + redirect_to project_team_index_path(project), notice: "No available teams for assigment." | |
| 8 | 8 | end |
| 9 | 9 | end |
| 10 | 10 | ... | ... |
app/models/gollum_wiki.rb
| ... | ... | @@ -47,7 +47,7 @@ class GollumWiki |
| 47 | 47 | wiki.pages.map { |page| WikiPage.new(self, page, true) } |
| 48 | 48 | end |
| 49 | 49 | |
| 50 | - # Returns the last 30 Commit objects accross the entire | |
| 50 | + # Returns the last 30 Commit objects across the entire | |
| 51 | 51 | # repository. |
| 52 | 52 | def recent_history |
| 53 | 53 | Commit.fresh_commits(wiki.repo, 30) | ... | ... |
app/models/note.rb
app/services/git_push_service.rb
| ... | ... | @@ -97,7 +97,7 @@ class GitPushService |
| 97 | 97 | total_commits_count: push_commits_count |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - # For perfomance purposes maximum 20 latest commits | |
| 100 | + # For performance purposes maximum 20 latest commits | |
| 101 | 101 | # will be passed as post receive hook data. |
| 102 | 102 | # |
| 103 | 103 | push_commits_limited.each do |commit| | ... | ... |
app/views/admin/logs/show.html.haml
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | %li |
| 9 | 9 | = link_to "sidekiq.log", "#sidekiq", 'data-toggle' => 'tab' |
| 10 | 10 | |
| 11 | -%p.light To prevent perfomance issues admin logs output the last 2000 lines | |
| 11 | +%p.light To prevent performance issues admin logs output the last 2000 lines | |
| 12 | 12 | .tab-content |
| 13 | 13 | .tab-pane.active#githost |
| 14 | 14 | .file_holder#README | ... | ... |
config/unicorn.rb.example
| ... | ... | @@ -30,7 +30,7 @@ end |
| 30 | 30 | |
| 31 | 31 | |
| 32 | 32 | before_fork do |server, worker| |
| 33 | - # the following is highly recomended for Rails + "preload_app true" | |
| 33 | + # the following is highly recommended for Rails + "preload_app true" | |
| 34 | 34 | # as there's no need for the master process to hold a connection |
| 35 | 35 | defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect! |
| 36 | 36 | ... | ... |
doc/api/users.md
| ... | ... | @@ -116,7 +116,7 @@ Parameters: |
| 116 | 116 | + `skype` - Skype ID |
| 117 | 117 | + `linkedin` - Linkedin |
| 118 | 118 | + `twitter` - Twitter account |
| 119 | -+ `projects_limit` - Limit projects wich user can create | |
| 119 | ++ `projects_limit` - Limit projects each user can create | |
| 120 | 120 | + `extern_uid` - External UID |
| 121 | 121 | + `provider` - External provider name |
| 122 | 122 | + `bio` - User's bio | ... | ... |
features/steps/userteams/userteams.rb
| ... | ... | @@ -210,7 +210,7 @@ class Userteams < Spinach::FeatureSteps |
| 210 | 210 | click_link "Assign Project" |
| 211 | 211 | end |
| 212 | 212 | |
| 213 | - Then 'I should see form with my own project in avaliable projects list' do | |
| 213 | + Then 'I should see form with my own project in available projects list' do | |
| 214 | 214 | projects_select = find("#project_ids") |
| 215 | 215 | projects_select.should have_content(@project.name) |
| 216 | 216 | end | ... | ... |
features/teams/team.feature
| ... | ... | @@ -60,6 +60,6 @@ Feature: UserTeams |
| 60 | 60 | And I have my own project without teams |
| 61 | 61 | And I visit my team page |
| 62 | 62 | When I click on link "Assign Project" |
| 63 | - Then I should see form with my own project in avaliable projects list | |
| 63 | + Then I should see form with my own project in available projects list | |
| 64 | 64 | When I submit form with selected project and max access |
| 65 | 65 | Then I should see my own project in team projects list | ... | ... |
lib/api/users.rb
| ... | ... | @@ -62,7 +62,7 @@ module Gitlab |
| 62 | 62 | # skype - Skype ID |
| 63 | 63 | # linkedin - Linkedin |
| 64 | 64 | # twitter - Twitter account |
| 65 | - # projects_limit - Limit projects wich user can create | |
| 65 | + # projects_limit - Limit projects each user can create | |
| 66 | 66 | # extern_uid - External authentication provider UID |
| 67 | 67 | # provider - External provider |
| 68 | 68 | # bio - Bio | ... | ... |
lib/gitlab/satellite/edit_file_action.rb
| ... | ... | @@ -13,7 +13,7 @@ module Gitlab |
| 13 | 13 | # Updates the files content and creates a new commit for it |
| 14 | 14 | # |
| 15 | 15 | # Returns false if the ref has been updated while editing the file |
| 16 | - # Returns false if commiting the change fails | |
| 16 | + # Returns false if committing the change fails | |
| 17 | 17 | # Returns false if pushing from the satellite to Gitolite failed or was rejected |
| 18 | 18 | # Returns true otherwise |
| 19 | 19 | def commit!(content, commit_message, last_commit) | ... | ... |
lib/tasks/gitlab/task_helpers.rake
| ... | ... | @@ -38,7 +38,7 @@ namespace :gitlab do |
| 38 | 38 | # Prompt the user to input something |
| 39 | 39 | # |
| 40 | 40 | # message - the message to display before input |
| 41 | - # choices - array of strings of acceptible answers or nil for any answer | |
| 41 | + # choices - array of strings of acceptable answers or nil for any answer | |
| 42 | 42 | # |
| 43 | 43 | # Returns the user's answer |
| 44 | 44 | def prompt(message, choices = nil) |
| ... | ... | @@ -49,7 +49,7 @@ namespace :gitlab do |
| 49 | 49 | answer |
| 50 | 50 | end |
| 51 | 51 | |
| 52 | - # Runs the given command and matches the output agains the given pattern | |
| 52 | + # Runs the given command and matches the output against the given pattern | |
| 53 | 53 | # |
| 54 | 54 | # Returns nil if nothing matched |
| 55 | 55 | # Retunrs the MatchData if the pattern matched | ... | ... |
spec/requests/api/users_spec.rb
| ... | ... | @@ -300,7 +300,7 @@ describe Gitlab::API do |
| 300 | 300 | response.status.should == 200 |
| 301 | 301 | end |
| 302 | 302 | |
| 303 | - it "should return sucess if key ID not found" do | |
| 303 | + it "should return success if key ID not found" do | |
| 304 | 304 | delete api("/user/keys/42", user) |
| 305 | 305 | response.status.should == 200 |
| 306 | 306 | end | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/ace.js
| ... | ... | @@ -4800,7 +4800,7 @@ var SearchHighlight = require("./search_highlight").SearchHighlight; |
| 4800 | 4800 | /** |
| 4801 | 4801 | * new EditSession(text, mode) |
| 4802 | 4802 | * - text (Document | String): If `text` is a `Document`, it associates the `EditSession` with it. Otherwise, a new `Document` is created, with the initial text |
| 4803 | - * - mode (TextMode): The inital language mode to use for the document | |
| 4803 | + * - mode (TextMode): The initial language mode to use for the document | |
| 4804 | 4804 | * |
| 4805 | 4805 | * Sets up a new `EditSession` and associates it with the given `Document` and `TextMode`. |
| 4806 | 4806 | * |
| ... | ... | @@ -10068,7 +10068,7 @@ ace.define('ace/token_iterator', ['require', 'exports', 'module' ], function(req |
| 10068 | 10068 | * - initialRow (Number): The row to start the tokenizing at |
| 10069 | 10069 | * - initialColumn (Number): The column to start the tokenizing at |
| 10070 | 10070 | * |
| 10071 | - * Creates a new token iterator object. The inital token index is set to the provided row and column coordinates. | |
| 10071 | + * Creates a new token iterator object. The initial token index is set to the provided row and column coordinates. | |
| 10072 | 10072 | * |
| 10073 | 10073 | **/ |
| 10074 | 10074 | var TokenIterator = function(session, initialRow, initialColumn) { |
| ... | ... | @@ -11946,7 +11946,7 @@ var VirtualRenderer = function(container, theme) { |
| 11946 | 11946 | this.$horizScroll = horizScroll; |
| 11947 | 11947 | if (horizScrollChanged) { |
| 11948 | 11948 | this.scroller.style.overflowX = horizScroll ? "scroll" : "hidden"; |
| 11949 | - // when we hide scrollbar scroll event isn't emited | |
| 11949 | + // when we hide scrollbar scroll event isn't emitted | |
| 11950 | 11950 | // leaving session with wrong scrollLeft value |
| 11951 | 11951 | if (!horizScroll) |
| 11952 | 11952 | this.session.setScrollLeft(0); |
| ... | ... | @@ -13029,7 +13029,7 @@ var Text = function(parentEl) { |
| 13029 | 13029 | |
| 13030 | 13030 | var html = []; |
| 13031 | 13031 | // Get the tokens per line as there might be some lines in between |
| 13032 | - // beeing folded. | |
| 13032 | + // being folded. | |
| 13033 | 13033 | this.$renderLine(html, row, false, row == foldStart ? foldLine : false); |
| 13034 | 13034 | |
| 13035 | 13035 | // don't use setInnerHtml since we are working with an empty DIV |
| ... | ... | @@ -14529,7 +14529,7 @@ var Editor = require("./editor").Editor; |
| 14529 | 14529 | * - dir (Number): The direction of lines to select: -1 for up, 1 for down |
| 14530 | 14530 | * - skip (Boolean): If `true`, removes the active selection range |
| 14531 | 14531 | * |
| 14532 | - * Finds the next occurence of text in an active selection and adds it to the selections. | |
| 14532 | + * Finds the next occurrence of text in an active selection and adds it to the selections. | |
| 14533 | 14533 | **/ |
| 14534 | 14534 | this.selectMore = function(dir, skip) { |
| 14535 | 14535 | var session = this.session; |
| ... | ... | @@ -15878,4 +15878,4 @@ ace.define("text!ace/theme/textmate.css", [], ".ace-tm .ace_editor {\n" + |
| 15878 | 15878 | ace[key] = a[key]; |
| 15879 | 15879 | }); |
| 15880 | 15880 | })(); |
| 15881 | - | |
| 15882 | 15881 | \ No newline at end of file |
| 15882 | + | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-coldfusion.js
| ... | ... | @@ -1170,7 +1170,7 @@ var JavaScriptHighlightRules = function() { |
| 1170 | 1170 | } |
| 1171 | 1171 | ], |
| 1172 | 1172 | // regular expressions are only allowed after certain tokens. This |
| 1173 | - // makes sure we don't mix up regexps with the divison operator | |
| 1173 | + // makes sure we don't mix up regexps with the division operator | |
| 1174 | 1174 | "regex_allowed": [ |
| 1175 | 1175 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 1176 | 1176 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-groovy.js
| ... | ... | @@ -337,7 +337,7 @@ var JavaScriptHighlightRules = function() { |
| 337 | 337 | } |
| 338 | 338 | ], |
| 339 | 339 | // regular expressions are only allowed after certain tokens. This |
| 340 | - // makes sure we don't mix up regexps with the divison operator | |
| 340 | + // makes sure we don't mix up regexps with the division operator | |
| 341 | 341 | "regex_allowed": [ |
| 342 | 342 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 343 | 343 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-html.js
| ... | ... | @@ -389,7 +389,7 @@ var JavaScriptHighlightRules = function() { |
| 389 | 389 | } |
| 390 | 390 | ], |
| 391 | 391 | // regular expressions are only allowed after certain tokens. This |
| 392 | - // makes sure we don't mix up regexps with the divison operator | |
| 392 | + // makes sure we don't mix up regexps with the division operator | |
| 393 | 393 | "regex_allowed": [ |
| 394 | 394 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 395 | 395 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-jade.js
| ... | ... | @@ -659,7 +659,7 @@ var JavaScriptHighlightRules = function() { |
| 659 | 659 | } |
| 660 | 660 | ], |
| 661 | 661 | // regular expressions are only allowed after certain tokens. This |
| 662 | - // makes sure we don't mix up regexps with the divison operator | |
| 662 | + // makes sure we don't mix up regexps with the division operator | |
| 663 | 663 | "regex_allowed": [ |
| 664 | 664 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 665 | 665 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-java.js
| ... | ... | @@ -338,7 +338,7 @@ var JavaScriptHighlightRules = function() { |
| 338 | 338 | } |
| 339 | 339 | ], |
| 340 | 340 | // regular expressions are only allowed after certain tokens. This |
| 341 | - // makes sure we don't mix up regexps with the divison operator | |
| 341 | + // makes sure we don't mix up regexps with the division operator | |
| 342 | 342 | "regex_allowed": [ |
| 343 | 343 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 344 | 344 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-javascript.js
| ... | ... | @@ -342,7 +342,7 @@ var JavaScriptHighlightRules = function() { |
| 342 | 342 | } |
| 343 | 343 | ], |
| 344 | 344 | // regular expressions are only allowed after certain tokens. This |
| 345 | - // makes sure we don't mix up regexps with the divison operator | |
| 345 | + // makes sure we don't mix up regexps with the division operator | |
| 346 | 346 | "regex_allowed": [ |
| 347 | 347 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 348 | 348 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-jsp.js
| ... | ... | @@ -597,7 +597,7 @@ var JavaScriptHighlightRules = function() { |
| 597 | 597 | } |
| 598 | 598 | ], |
| 599 | 599 | // regular expressions are only allowed after certain tokens. This |
| 600 | - // makes sure we don't mix up regexps with the divison operator | |
| 600 | + // makes sure we don't mix up regexps with the division operator | |
| 601 | 601 | "regex_allowed": [ |
| 602 | 602 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 603 | 603 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-liquid.js
| ... | ... | @@ -641,7 +641,7 @@ var JavaScriptHighlightRules = function() { |
| 641 | 641 | } |
| 642 | 642 | ], |
| 643 | 643 | // regular expressions are only allowed after certain tokens. This |
| 644 | - // makes sure we don't mix up regexps with the divison operator | |
| 644 | + // makes sure we don't mix up regexps with the division operator | |
| 645 | 645 | "regex_allowed": [ |
| 646 | 646 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 647 | 647 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-luahtml.js
| ... | ... | @@ -466,7 +466,7 @@ var JavaScriptHighlightRules = function() { |
| 466 | 466 | } |
| 467 | 467 | ], |
| 468 | 468 | // regular expressions are only allowed after certain tokens. This |
| 469 | - // makes sure we don't mix up regexps with the divison operator | |
| 469 | + // makes sure we don't mix up regexps with the division operator | |
| 470 | 470 | "regex_allowed": [ |
| 471 | 471 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 472 | 472 | { |
| ... | ... | @@ -2412,4 +2412,4 @@ oop.inherits(LuaHtmlHighlightRules, HtmlHighlightRules); |
| 2412 | 2412 | |
| 2413 | 2413 | exports.LuaHtmlHighlightRules = LuaHtmlHighlightRules; |
| 2414 | 2414 | |
| 2415 | -}); | |
| 2416 | 2415 | \ No newline at end of file |
| 2416 | +}); | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-luapage.js
| ... | ... | @@ -382,7 +382,7 @@ var JavaScriptHighlightRules = function() { |
| 382 | 382 | } |
| 383 | 383 | ], |
| 384 | 384 | // regular expressions are only allowed after certain tokens. This |
| 385 | - // makes sure we don't mix up regexps with the divison operator | |
| 385 | + // makes sure we don't mix up regexps with the division operator | |
| 386 | 386 | "regex_allowed": [ |
| 387 | 387 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 388 | 388 | { |
| ... | ... | @@ -2477,4 +2477,4 @@ oop.inherits(LuaPageHighlightRules, HtmlHighlightRules); |
| 2477 | 2477 | |
| 2478 | 2478 | exports.LuaPageHighlightRules = LuaPageHighlightRules; |
| 2479 | 2479 | |
| 2480 | -}); | |
| 2481 | 2480 | \ No newline at end of file |
| 2481 | +}); | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-markdown.js
| ... | ... | @@ -384,7 +384,7 @@ var JavaScriptHighlightRules = function() { |
| 384 | 384 | } |
| 385 | 385 | ], |
| 386 | 386 | // regular expressions are only allowed after certain tokens. This |
| 387 | - // makes sure we don't mix up regexps with the divison operator | |
| 387 | + // makes sure we don't mix up regexps with the division operator | |
| 388 | 388 | "regex_allowed": [ |
| 389 | 389 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 390 | 390 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-php.js
| ... | ... | @@ -1685,7 +1685,7 @@ var JavaScriptHighlightRules = function() { |
| 1685 | 1685 | } |
| 1686 | 1686 | ], |
| 1687 | 1687 | // regular expressions are only allowed after certain tokens. This |
| 1688 | - // makes sure we don't mix up regexps with the divison operator | |
| 1688 | + // makes sure we don't mix up regexps with the division operator | |
| 1689 | 1689 | "regex_allowed": [ |
| 1690 | 1690 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 1691 | 1691 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-scala.js
| ... | ... | @@ -338,7 +338,7 @@ var JavaScriptHighlightRules = function() { |
| 338 | 338 | } |
| 339 | 339 | ], |
| 340 | 340 | // regular expressions are only allowed after certain tokens. This |
| 341 | - // makes sure we don't mix up regexps with the divison operator | |
| 341 | + // makes sure we don't mix up regexps with the division operator | |
| 342 | 342 | "regex_allowed": [ |
| 343 | 343 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 344 | 344 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/mode-svg.js
| ... | ... | @@ -1177,7 +1177,7 @@ var JavaScriptHighlightRules = function() { |
| 1177 | 1177 | } |
| 1178 | 1178 | ], |
| 1179 | 1179 | // regular expressions are only allowed after certain tokens. This |
| 1180 | - // makes sure we don't mix up regexps with the divison operator | |
| 1180 | + // makes sure we don't mix up regexps with the division operator | |
| 1181 | 1181 | "regex_allowed": [ |
| 1182 | 1182 | DocCommentHighlightRules.getStartRule("doc-start"), |
| 1183 | 1183 | { | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/worker-javascript.js
| ... | ... | @@ -2912,7 +2912,7 @@ var JSHINT = (function () { |
| 2912 | 2912 | immed : true, // if immediate invocations must be wrapped in parens |
| 2913 | 2913 | iterator : true, // if the `__iterator__` property should be allowed |
| 2914 | 2914 | jquery : true, // if jQuery globals should be predefined |
| 2915 | - lastsemic : true, // if semicolons may be ommitted for the trailing | |
| 2915 | + lastsemic : true, // if semicolons may be omitted for the trailing | |
| 2916 | 2916 | // statements inside of a one-line blocks. |
| 2917 | 2917 | latedef : true, // if the use before definition should not be tolerated |
| 2918 | 2918 | laxbreak : true, // if line breaks should not be checked |
| ... | ... | @@ -3674,7 +3674,7 @@ var JSHINT = (function () { |
| 3674 | 3674 | line += 1; |
| 3675 | 3675 | |
| 3676 | 3676 | // If smarttabs option is used check for spaces followed by tabs only. |
| 3677 | - // Otherwise check for any occurence of mixed tabs and spaces. | |
| 3677 | + // Otherwise check for any occurrence of mixed tabs and spaces. | |
| 3678 | 3678 | if (option.smarttabs) |
| 3679 | 3679 | at = s.search(/ \t/); |
| 3680 | 3680 | else | ... | ... |
vendor/assets/javascripts/ace-src-noconflict/worker-xquery.js
| ... | ... | @@ -7609,7 +7609,7 @@ org.antlr.runtime.BaseRecognizer.prototype = { |
| 7609 | 7609 | * |
| 7610 | 7610 | * Until then I'll leave this unimplemented. If there is enough clamor |
| 7611 | 7611 | * it would be possible to keep track of the invocation stack using an |
| 7612 | - * auxillary array, but that will definitely be a performance hit. | |
| 7612 | + * auxiliary array, but that will definitely be a performance hit. | |
| 7613 | 7613 | */ |
| 7614 | 7614 | getRuleInvocationStack: function(e, recognizerClassName) |
| 7615 | 7615 | { | ... | ... |