Skip to content

Commit

Permalink
Fix fr string
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierohub committed Apr 19, 2024
1 parent c08fbd9 commit a019857
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Extension/_locales/fr/messages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": {
"message": "Qwant - The search engine that doesn't know anything about you"
"message": "Qwant - Le moteur de recherche qui ne sait rien sur vous"
},
"short_name": {
"message": "Qwant"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qwant-search-extension",
"version": "7.0.0",
"version": "7.0.3",
"description": "Qwant Search Extension",
"author": "[email protected]",
"license": "GPL-3.0",
Expand Down
8 changes: 4 additions & 4 deletions tools/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const bundleChrome = (watch) => {
return bundleRunner(webpackConfig, watch);
};

const bundleFirefoxAmo = (watch) => {
const webpackConfig = getWebpackConfig(BROWSERS.FIREFOX_AMO);
const bundleFirefox = (watch) => {
const webpackConfig = getWebpackConfig(BROWSERS.FIREFOX);
return bundleRunner(webpackConfig, watch);
};

Expand All @@ -26,7 +26,7 @@ const bundleOpera = () => {

const plan = [
bundleChrome,
bundleFirefoxAmo,
bundleFirefox,
bundleEdge,
bundleOpera,
];
Expand Down Expand Up @@ -57,7 +57,7 @@ const chrome = async (watch) => {

const firefox = async (watch) => {
try {
await bundleFirefoxAmo(watch);
await bundleFirefox(watch);
} catch (e) {
console.error(e);
process.exit(1);
Expand Down
4 changes: 2 additions & 2 deletions tools/bundle/firefox/manifest.firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { APP_ID_FIREFOX } from '../../constants';

export const firefoxManifest = {
manifest_version: 2,
applications: {
browser_specific_settings: {
gecko: {
id: APP_ID_FIREFOX,
strict_min_version: '78.0',
Expand All @@ -11,7 +11,7 @@ export const firefoxManifest = {
chrome_settings_overrides: {
search_provider: {
name: 'Qwant',
keyword: 'www.qwant.com',
keyword: 'qwant.com',
search_url: 'https://www.qwant.com/?q={searchTerms}&client=ext-firefox-sb',
favicon_url: 'https://www.qwant.com/favicon.ico',
suggest_url: 'https://api.qwant.com/api/suggest/?q={searchTerms}&client=opensearch',
Expand Down
2 changes: 1 addition & 1 deletion tools/bundle/module-replacements.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const getModuleReplacements = (browserConfig) => {
const browserModuleReplacement = new NormalModuleReplacementPlugin(browsersRegexp, (resource) => {
const from = resource.request;
if (browserConfig.browser === BROWSERS.FIREFOX_STANDALONE
|| browserConfig.browser === BROWSERS.FIREFOX_AMO) {
|| browserConfig.browser === BROWSERS.FIREFOX) {
resource.request = resource.request.replace(browsersRegexp, '$1firefox$2');
} else {
resource.request = resource.request.replace(browsersRegexp, '$1chrome$2');
Expand Down
2 changes: 1 addition & 1 deletion tools/bundle/webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const getWebpackConfig = (browser) => {
case BROWSERS.CHROME: {
return genChromeConfig(browserConf);
}
case BROWSERS.FIREFOX_AMO: {
case BROWSERS.FIREFOX: {
return genFirefoxConfig(browserConf);
}
case BROWSERS.OPERA: {
Expand Down
10 changes: 5 additions & 5 deletions tools/constants.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable max-len */
import path from 'path';

export const APP_ID_FIREFOX = 'qwant-search-ff@qwant.com';
export const APP_ID_FIREFOX = 'qwant-search-firefox@qwant.com';

export const BROWSERS = {
CHROME: 'chrome',
FIREFOX_AMO: 'firefox-amo',
FIREFOX: 'firefox',
OPERA: 'opera',
EDGE: 'edge',
};
Expand All @@ -15,9 +15,9 @@ export const BROWSERS_CONF = {
browser: BROWSERS.CHROME,
buildDir: BROWSERS.CHROME,
},
[BROWSERS.FIREFOX_AMO]: {
browser: BROWSERS.FIREFOX_AMO,
buildDir: BROWSERS.FIREFOX_AMO,
[BROWSERS.FIREFOX]: {
browser: BROWSERS.FIREFOX,
buildDir: BROWSERS.FIREFOX,
},
[BROWSERS.OPERA]: {
browser: BROWSERS.OPERA,
Expand Down

0 comments on commit a019857

Please sign in to comment.