Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Translations For Alltube, Grunt Problem #111

Closed
tony199555 opened this issue May 26, 2017 · 13 comments
Closed

Translations For Alltube, Grunt Problem #111

tony199555 opened this issue May 26, 2017 · 13 comments
Labels

Comments

@tony199555
Copy link
Contributor

Please check out my fork. I have done almost all the work (tpl files) but the strings do not get picked up. I am not really experience with gettext. I hope someone would point out what have done wrong.
Thanks in advanced.

Method used: https://github.com/smarty-gettext/smarty-gettext

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

Can you please create a pull request from your fork? It will be easier to review the code that way.

@tony199555
Copy link
Contributor Author

Sure. I was not ready but if you say so.

@tony199555
Copy link
Contributor Author

Side note: "Grunt": "~1.0.1" is somehow having problem with "grunt-phpdocumentor": "~0.4.1"

Terminal dump:
npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

The grunt issue has been reported here: gomoob/grunt-phpdocumentor#21
But it is just a warning and can be safely ignored.

@tony199555
Copy link
Contributor Author

Except for me, it will not generate the "dist" directory for me, which leads to weird CSS/JS problem.

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

Can you please run grunt and copy the ouput here?

@tony199555 tony199555 changed the title Translations On Progress...Need help Translations For Alltube, Grunt Problem May 26, 2017
@tony199555
Copy link
Contributor Author

It simply will not let me install grunt on that directory, with the same error I posted above.

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

What you posted is simply a warning and not an error, it should not prevent the installation of the grunt modules.
Again, can you please copy here the full output of npm install and grunt.

@tony199555
Copy link
Contributor Author

npm WARN prefer global [email protected] should be installed with -g
npm WARN lifecycle [email protected]~postinstall: cannot run in wd %s %s (wd=%s) [email protected] node node_modules/.bin/bower install && node node_modules/.bin/grunt /var/www/html
- [email protected] node_modules/argparse/node_modules/underscore
- [email protected] node_modules/argparse/node_modules/underscore.string
- [email protected] node_modules/findup-sync/node_modules/lodash
- [email protected] node_modules/grunt-legacy-log-utils/node_modules/colors
- [email protected] node_modules/grunt-legacy-log-utils/node_modules/underscore.string
- [email protected] node_modules/grunt-legacy-log/node_modules/colors
- [email protected] node_modules/grunt-legacy-log/node_modules/lodash
- [email protected] node_modules/grunt-legacy-log/node_modules/underscore.string
- [email protected] node_modules/grunt-legacy-util/node_modules/async
- [email protected] node_modules/grunt/node_modules/graceful-fs
- [email protected] node_modules/grunt/node_modules/inherits
- [email protected] node_modules/lru-cache
- [email protected] node_modules/sigmund
- [email protected] node_modules/findup-sync/node_modules/minimatch
- [email protected] node_modules/grunt/node_modules/minimatch
- [email protected] node_modules/grunt/node_modules/async
- [email protected] node_modules/grunt/node_modules/colors
- [email protected] node_modules/grunt/node_modules/glob
- [email protected] node_modules/grunt/node_modules/lodash
- [email protected] node_modules/grunt/node_modules/nopt
[email protected] /var/www/html
└─┬ UNMET PEER DEPENDENCY [email protected]
  ├── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ └─┬ [email protected]
  │   └── [email protected]
  ├── [email protected]
  └─┬ [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    └── [email protected]

npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.
npm ERR! code 1
root@lamp-2gb-sfo2-01:/var/www/html# grunt
No command 'grunt' found, did you mean:
 Command 'grun' from package 'grun' (universe)
grunt: command not found
root@lamp-2gb-sfo2-01:/var/www/html# npm install grunt
[email protected] /var/www/html
└── UNMET PEER DEPENDENCY [email protected]

npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.
npm ERR! code 1
root@lamp-2gb-sfo2-01:/var/www/html# npm install
npm WARN lifecycle [email protected]~postinstall: cannot run in wd %s %s (wd=%s) [email protected] node node_modules/.bin/bower install && node node_modules/.bin/grunt /var/www/html
npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

No command 'grunt' found

It seems you don't have grunt-cli installed.

Also, what version of npm are you using? You need at least npm 3 here.

@tony199555
Copy link
Contributor Author

root@lamp-2gb-sfo2-01:/var/www/html# grunt
Running "uglify:combine" (uglify) task
File dist/main.js created: 3.8 kB → 2.13 kB
>> 1 file created.

Running "cssmin:combine" (cssmin) task
>> 1 file created. 12.22 kB → 9.1 kB

Done.
root@lamp-2gb-sfo2-01:/var/www/html# npm -v
3.10.10
root@lamp-2gb-sfo2-01:/var/www/html# npm install
npm WARN lifecycle [email protected]~postinstall: cannot run in wd %s %s (wd=%s) [email protected] node node_modules/.bin/bower install && node node_modules/.bin/grunt /var/www/html
npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.

Silly me, forgot about the grunt-cli.

@Rudloff
Copy link
Owner

Rudloff commented May 26, 2017

I'm closing this since we are tracking the translation thing in #112.

@Rudloff Rudloff closed this as completed May 26, 2017
@tony199555
Copy link
Contributor Author

Yes. That is what I was going to said.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants