diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 00000000..49d5b266 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,33 @@ +--- +name: Bug Report +about: Report a bug to help improve this project +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Description** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behaviour: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behaviour** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. Windows] + - Browser [e.g. Chrome, Firefox] + - Version [e.g. 70] + - Resolution [e.g 1920x1080] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 00000000..c67d4567 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,14 @@ +--- +name: Feature Request +about: Suggest an idea for this project +title: "[Feature Request]" +labels: enhancement +assignees: '' + +--- + +**Description** +A clear and concise description of what you want in this new feature. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/README.md b/README.md index e29ea266..e2fa7663 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,12 @@ Development: Read the [Development](#development) section. ### Opera/Other Link: [GitHub Releases](https://github.com/ohlookitsderpy/Mue/releases) -Development: Read the [Development](#development) section. - +Development/Other: Read the [Development](#development) section. ### Development
Requirements
    -
  1. Git (optional)
  2. -
  3. Node.js
  4. +
  5. Git (optional)
  6. +
  7. Node.js
  8. A suitable browser
Starting
@@ -107,7 +106,7 @@ Development: Read the [Development](#development) section. ### Translations [ohlookitsderpy](https://github.com/ohlookitsderpy) - English (Quotes and Messages) -[Yanderella](https://github.com/Chivi19) - Italian (Quotes and Messages) +[Yanderella](https://github.com/tomiedev) - Italian (Quotes and Messages) Pepehound - Spanish (Quotes and Messages) @@ -115,7 +114,7 @@ Candystick - Portuguese (Some Quotes) [PassTheWessel](https://github.com/PassTheWessel) - Dutch (Messages) -[Yanderella](https://github.com/Chivi19) and [ohlookitsderpy](https://github.com/ohlookitsderpy) - French (Messages) +[Yanderella](https://github.com/tomiedev) and [ohlookitsderpy](https://github.com/ohlookitsderpy) - French (Messages) [untocodes](https://github.com/untocodes) - Finnish and German (Messages) diff --git a/package.json b/package.json index e26a1cdc..0f64cd32 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "js-watch": "webpack --progress --watch" }, "devDependencies": { - "eslint": "6.0.0", - "sass": "1.21.0", - "webpack": "4.35.0", + "eslint": "6.0.1", + "sass": "1.22.2", + "webpack": "4.35.2", "webpack-cli": "3.3.4" } } diff --git a/src/assets/js/modules/func.js b/src/assets/js/modules/func.js index fcea0ac2..4a461f3d 100644 --- a/src/assets/js/modules/func.js +++ b/src/assets/js/modules/func.js @@ -71,11 +71,11 @@ module.exports = class Func { document.querySelector('blockquote').innerHTML = `"${data.quote}"`; document.querySelector('cite').innerHTML = data.author; });*/ - if (util.contains.call(codes.itcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.it[id]}"`; // Italian - if (util.contains.call(codes.ptcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.pt[id]}"` || `"${quotes.eng[id]}"`; // Portuguese - if (util.contains.call(codes.spcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.sp[id]}"`; // Spanish - else document.querySelector('blockquote').innerHTML = `"${quotes.eng[id]}"`; // English - document.querySelector('cite').innerHTML = quotes.authors[id]; + if (util.contains.call(codes.itcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.it[id]}"`; // Italian + if (util.contains.call(codes.ptcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.pt[id]}"` || `"${quotes.eng[id]}"`; // Portuguese + if (util.contains.call(codes.spcodes, nal)) document.querySelector('blockquote').innerHTML = `"${quotes.sp[id]}"`; // Spanish + else document.querySelector('blockquote').innerHTML = `"${quotes.eng[id]}"`; // English + document.querySelector('cite').innerHTML = quotes.authors[id]; } static setTime() { @@ -89,4 +89,4 @@ module.exports = class Func { // Example: [16, 32, 03] -> "16:32:03" document.getElementById('withSeconds').innerHTML = time.join(':'); } -}; \ No newline at end of file +};