Browse Source

FirefoxDeveloperEdition: Use system language.

master
Markus Reiter 8 years ago
parent
commit
a3c21d439b
  1. 11
      Casks/firefoxdeveloperedition-cn.rb
  2. 11
      Casks/firefoxdeveloperedition-ja.rb
  3. 11
      Casks/firefoxdeveloperedition-ru.rb
  4. 11
      Casks/firefoxdeveloperedition-uk.rb
  5. 24
      Casks/firefoxdeveloperedition.rb

11
Casks/firefoxdeveloperedition-cn.rb

@ -1,11 +0,0 @@
cask 'firefoxdeveloperedition-cn' do
version :latest
sha256 :no_check
url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=zh-CN'
name 'Mozilla Firefox Developer Edition'
homepage 'https://www.mozilla.org/zh-CN/firefox/developer/'
license :mpl
app 'FirefoxDeveloperEdition.app'
end

11
Casks/firefoxdeveloperedition-ja.rb

@ -1,11 +0,0 @@
cask 'firefoxdeveloperedition-ja' do
version :latest
sha256 :no_check
url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=ja-JP-mac'
name 'Mozilla Firefox Developer Edition'
homepage 'https://www.mozilla.org/ja/firefox/developer/'
license :mpl
app 'FirefoxDeveloperEdition.app'
end

11
Casks/firefoxdeveloperedition-ru.rb

@ -1,11 +0,0 @@
cask 'firefoxdeveloperedition-ru' do
version :latest
sha256 :no_check
url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=ru'
name 'Mozilla Firefox Developer Edition'
homepage 'https://www.mozilla.org/ru/firefox/developer/'
license :mpl
app 'FirefoxDeveloperEdition.app'
end

11
Casks/firefoxdeveloperedition-uk.rb

@ -1,11 +0,0 @@
cask 'firefoxdeveloperedition-uk' do
version :latest
sha256 :no_check
url 'https://download.mozilla.org/?product=firefox-aurora-latest-l10n&os=osx&lang=uk'
name 'Mozilla Firefox Developer Edition'
homepage 'https://www.mozilla.org/uk/firefox/developer/'
license :mpl
app 'FirefoxDeveloperEdition.app'
end

24
Casks/firefoxdeveloperedition.rb

@ -2,9 +2,29 @@ cask 'firefoxdeveloperedition' do
version :latest
sha256 :no_check
url 'https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=osx&lang=en-US'
language 'en', default: true do
'en-US'
end
language 'ja' do
'ja-JP-mac'
end
language 'ru' do
'ru'
end
language 'uk' do
'uk'
end
language 'zh' do
'zh-CN'
end
url "https://download.mozilla.org/?product=firefox-aurora-latest#{language == 'en-US' ? 'ssl' : '-l10n'}&os=osx&lang=#{language}"
name 'Mozilla Firefox Developer Edition'
homepage 'https://www.mozilla.org/en-US/firefox/developer/'
homepage 'https://www.mozilla.org/firefox/developer/'
license :mpl
app 'FirefoxDeveloperEdition.app'

Loading…
Cancel
Save